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
- 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 -
- 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 -

Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Tagged: 

This topic contains 3 replies, has 3 voices.

Last updated by Long Nguyen 10 months ago.

Assisted by: Long Nguyen.

Author Posts
January 29, 2024 at 8:17 am #15236450

Jim Servaas

I am trying to translate a product or page. After saving it gives the following error:

Fatal error WooCommerce Multilingual editing products via WPML WooCommerce: Uncaught TypeError: array_filter(): Argument #1 ($array) must be of type array, string given /wp-content/plugins/sitepress-multilingual-cms/classes/translation-jobs/class-wpml-element-translation-package.php:319

January 29, 2024 at 10:44 am #15237404

Alejandro
Supporter

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

Timezone: Europe/Rome (GMT+01:00)

Hello there!

Please check this ticket and try its workaround: https://wpml.org/forums/topic/translating-a-product-shows-critical-error/ we're working to have it permanentlyfixed soon.

Regards.

February 5, 2024 at 8:24 am #15264510

Jim Servaas

I've tried the workaround. But it didn't help. Still getting the fatal error.

February 5, 2024 at 9:56 am #15265143

Long Nguyen
Supporter

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi Jim,

Thank you for contacting WPML support, I'd be happy to help you with this issue.

Please try to go to WPML > Support > Troubleshooting > Click on buttons below and recheck this issue.
- Clear the cache in WPML
- Remove ghost entries from the translation tables
- Set language information
- Fix terms count
- Fix post type assignment for translations
❌ IMPORTANT: Please backup your database and website before proceeding ❌

Look forward to your reply.
Thanks

The topic ‘[Closed] Fatal error WooCommerce Multilingual editing products via WPML WooCommerce: Unca’ is closed to new replies.