Skip to content Skip to sidebar

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client is experiencing fatal errors like

Uncaught TypeError: Illegal offset type in isset or empty in /wp-content/plugins/sitepress-multilingual-cms/classes/core-abstract-classes/class-wpml-element-translation.php:259

on their English version pages after enabling media translation and clicking 'start' for the media translation in WPML.

Solution:
1. We identified that the issue might be related to the Advanced Custom Fields (ACF) plugin, where the theme is calling for an ACF field that contains the ID of an image, which WPML tries to translate.
2. We suggested disabling any caching plugins and server-related cache as a first step to resolve the issue.

If this solution doesn't look relevant to your issue, please open a new support ticket with us.

0% of people find this useful.

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.

This topic contains 15 replies, has 2 voices.

Last updated by Laura 1 year, 9 months ago.

Assisted by: Laura.

Author Posts
November 8, 2023 at 5:42 pm #14760021

Laura
WPML Supporter since 05/2018

Languages: English (English ) Italian (Italiano )

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

Ok.