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?
Gestione del consenso per i cookie
Utilizziamo i cookie per ottimizzare il nostro sito web e i nostri servizi.
Il tuo consenso ci permette di elaborare dati come il comportamento di navigazione.
Il mancato consenso potrebbe compromettere alcune funzionalità.
Funzionale
Sempre attivo
Necessario affinché il nostro sito web funzioni e comunichi correttamente.
Preferenze
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistiche
Li utilizziamo per analizzare le statistiche del nostro sito.
Le informazioni raccolte sono completamente anonime. L'archiviazione tecnica o l'accesso che viene utilizzato esclusivamente per scopi statistici anonimi. Senza un mandato, la conformità volontaria da parte del tuo fornitore di servizi Internet o altri registri di terzi, le informazioni memorizzate o recuperate per questo scopo da sole non possono generalmente essere utilizzate per identificarti.
Marketing
Questi cookie tracciano la tua navigazione per fornirti annunci pubblicitari pertinenti.