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.

This topic contains 2 replies, has 2 voices.

Last updated by philipped-14 2 years, 7 months ago.

Author Posts
January 31, 2018 at 1:57 pm


I am trying to: translate pages from French to Dutch through WPML translation process

I expected to see: page saved in Dutch

Instead, I got:

Warning: Illegal string offset 'sizes' in /home/clients/dc38f26aeafe5832d2ab565fefa89678/web/wp-content/plugins/wpml-media-translation/classes/images-translation/class-wpml-media-image-translate.php on line 90

Warning: Invalid argument supplied for foreach() in /home/clients/dc38f26aeafe5832d2ab565fefa89678/web/wp-content/plugins/wpml-media-translation/classes/images-translation/class-wpml-media-image-translate.php on line 90

Fatal error: Uncaught InvalidArgumentException: Argument ID must be numeric and greater than 0. in /home/clients/dc38f26aeafe5832d2ab565fefa89678/web/wp-content/plugins/sitepress-multilingual-cms/classes/translations/class-wpml-translation-element.php:28 Stack trace: #0 /home/clients/dc38f26aeafe5832d2ab565fefa89678/web/wp-content/plugins/wpml-media-translation/classes/images-translation/class-wpml-media-image-translate.php(40): WPML_Translation_Element->__construct(NULL, Object(SitePress)) #1 /home/clients/dc38f26aeafe5832d2ab565fefa89678/web/wp-content/plugins/wpml-media-translation/classes/images-translation/class-wpml-media-image-translate.php(76): WPML_Media_Image_Translate->get_translated_image(NULL, 'nl', NULL) #2 /home/clients/dc38f26aeafe5832d2ab565fefa89678/web/wp-content/plugins/wpml-media-translation/classes/images-translation/class-wpml-media-translated-images-update.php(51): WPML_Media_Image_Translate->get_translated_image_by_url('hidden link...', 'fr', 'nl') #3 /home/clients/dc38f26aeafe5832d2ab565fefa8 in /home/clients/dc38f26aeafe5832d2ab565fefa89678/web/wp-content/plugins/sitepress-multilingual-cms/classes/translations/class-wpml-translation-element.php on line 28

February 1, 2018 at 8:54 am #1503710


Languages: English (English ) Spanish (Español ) French (Français )

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

Hello there,

Welcome to WPML support forum.

While one of my teammates takes care of your case I will provide you with the first debugging steps.

We apologize for this inconvenience. This situation has already been identified and our developers are working to bring you a solution with a new update.

On the meantime, you can use the workaround provided on the following Errata for continue translating your site:


Let us know if it helps.

February 9, 2018 at 7:50 am #1512390


I assume the last update WPML 2.2.3 and WPML Multilingual CMS 3.9.3 solved the issue; it is working. thanks