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?
إدارة الموافقة على ملفات تعريف الارتباط
نستخدم ملفات تعريف الارتباط لتحسين موقعنا الإلكتروني وخدماتنا.
تسمح لنا موافقتك بمعالجة بيانات مثل سلوك التصفح.
قد يؤثر عدم الموافقة على بعض الميزات.
وظيفي
نشط دائماً
مطلوب لكي يعمل موقعنا الإلكتروني ويتواصل بشكل صحيح.
التفضيلات
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
الإحصائيات
نستخدمها لتحليل إحصائيات موقعنا.
المعلومات التي يتم جمعها مجهولة الهوية تماماً. التخزين الفني أو الوصول الذي يتم استخدامه حصريًا لأغراض إحصائية مجهولة الهوية. بدون أمر قضائي، أو الامتثال الطوعي من قبل مزود خدمة الإنترنت الخاص بك، أو سجلات إضافية من طرف ثالث، لا يمكن عادةً استخدام المعلومات المخزنة أو المسترجعة لهذا الغرض بمفردها لتحديد هويتك.
التسويق
تقوم ملفات تعريف الارتباط هذه بتتبع تصفحك لتقديم إعلانات ذات صلة بك.