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 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00
- - - - - - -

Supporter timezone: America/Lima (GMT-05:00)

This topic contains 1 reply, has 0 voices.

Last updated by Andreas W. 1 day, 3 hours ago.

Assisted by: Andreas W..

Author Posts
February 7, 2025 at 8:46 pm #16681237

Dave Woodridge

Background of the issue:
I have a live website with English and French languages set up. The site is not in development, and the issue is urgent. The French links are not working and show English content instead. In the WPML dashboard, under WPML > Languages, no languages are displayed. Clicking 'Add / Remove language' or 'Change the default language' shows empty spaces. A fatal error occurs in WPML > Settings: Fatal error: Uncaught InvalidArgumentException: item should be a Collection or an array or an object in /home/hpvinfo/public_html/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/Obj.php:112. Link to a page where the issue can be seen: hidden link

Symptoms:
French links show English content. WPML > Languages page shows no languages. Clicking 'Add / Remove language' or 'Change the default language' results in empty spaces. Fatal error in WPML > Settings: Uncaught InvalidArgumentException.

Questions:
How can I get the French working again?

February 8, 2025 at 1:26 am #16681553

Andreas W.
Supporter

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

Timezone: America/Lima (GMT-05:00)

Hello,

Please go to WPML > Troubleshooting and use the first option inside the section "Clean up" to recreate WPML's language table.

See screenshot.

Best regards
Andreas

troubleshooting.jpg