Skip Navigation

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 5:00 – 13:00 5:00 – 13:00 5:00 – 13:00 5:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: America/Argentina/Buenos_Aires (GMT-03:00)

Tagged: 

This topic contains 1 reply, has 0 voices.

Last updated by Otto 4 days, 11 hours ago.

Assisted by: Otto.

Author Posts
July 1, 2025 at 2:42 pm #17189017

jS-8

Background of the issue:
I am trying to save a product in the Admin area of my WordPress site. During this process, I encountered an error. The error log is as follows: [01-Jul-2025 13:25:34 UTC] PHP Fatal error: Uncaught TypeError: Illegal offset type in isset or empty in /home/stoffenv/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/core-abstract-classes/class-wpml-element-translation.php:282. The stack trace indicates issues with WPML_Element_Translation and WCMLSynchronizationHooks. I was attempting to save a product when this issue occurred.

Symptoms:
I received a PHP Fatal error indicating an 'Uncaught TypeError: Illegal offset type in isset or empty' in the WPML plugin files. The error occurs when trying to save a product.

Questions:
Why am I receiving a PHP Fatal error when saving a product?
How can I resolve the 'Illegal offset type in isset or empty' error in WPML?

July 1, 2025 at 4:19 pm #17189491

Otto
WPML Supporter since 09/2015

Languages: English (English ) Spanish (Español )

Timezone: America/Argentina/Buenos_Aires (GMT-03:00)

Hello,

We plan to release a patch version the next week (I can't promise though). Meanwhile, please try this workaround:
https://wpml.org/errata/woocommerce-multilingual-fatal-error-when-saving-a-translation-in-the-native-wp-editor/

❌ Please make a full website backup before proceeding ❌

Best Regards,
Otto