Background of the issue:
I have the same import with WP All Import in French, German, and English. French is the base import, and it works perfectly. The others are 100% identical, with conditions that select a field with 'de' as language instead of 'fr'. For example, for the title, the field is [FOREACH({translations/item_2})] [IF({locale[.='de']})][IF({field[.='name']})]{content[1]}[ENDIF][ENDIF] [ENDFOREACH] instead of [FOREACH({translations/item_2})] [IF({locale[.='fr']})][IF({field[.='name']})]{content[1]}[ENDIF][ENDIF] [ENDFOREACH]. The French import works, but the other two are terminated with 'Your server terminated the import process. Read more about how to prevent this from happening again.' I also have other imports in all languages, and they all work. I reported this to WP All Import, and they told me to contact you based on the error log I sent them.
Symptoms:
The import process for German and English terminates with 'Your server terminated the import process.' The error log shows a fatal error caused by the 'sitepress-multilingual-cms' (WPML) plugin: PHP Fatal error: Uncaught TypeError: array_filter(): Argument #1 ($array) must be of type array, bool given in /home/clients/2ae4fae3a4ccb477a1ff5428c494f624/sites/stage.nord-vaudois.ch/wp-content/plugins/sitepress-multilingual-cms/classes/translation-jobs/class-wpml-element-translation-package.php:319.
Questions:
Can you help me resolve the fatal error caused by the WPML plugin during the import process for German and English?
管理 Cookie 同意
我们使用 cookies 来优化我们的网站和服务。 您的同意允许我们处理浏览行为等数据。 不同意可能会影响某些功能。
功能性
始终启用
为了我们的网站正常运行和通信所需的信息。
首选项
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.