When I try to translate a product after importing them, the WooCommerce Multilanguage Plugin returns a critical error:
Error 1:
Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /plugins/sitepress-multilingual-cms/addons/wpml-page-builders/classes/Shared/st/strategy/shortcode/class-wpml-pb-register-shortcodes.php on line 151
Error 2:
Fatal error: Uncaught TypeError: array_filter(): Argument #1 ($array) must be of type array, string given in /plugins/woocommerce-multilingual/inc/translation-editor/class-wcml-editor-ui-product-job.php:612
I can't translate anything now...
I use the classic editor and I don't want to switch to the new one since the UX is horrible and doesn't translate quite as easily as the classic one. However, when I switch to the new one, I can translate the product. So I'm guessing that the issue lays somewhere there.
Also, when I don't import products and manually make them, I can then translate them in the classic editor. Very strange.
Do you the solution?
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.