Skip to content Skip to sidebar

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

Problem:
All languages have disappeared from WPML > Languages.
Solution:
The WPML language table in the database was missing or corrupted. We have restored the table. In such case, you can find a corresponding option at WPML > Support > Troubleshooting inside the top section of the page. Please then configure the language settings again at WPML > Languages. If the problem persists or if this solution does not seem relevant, please open a new support ticket.

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 8 replies, has 2 voices.

Last updated by Andreas W. 1 year, 11 months ago.

Assisted by: Andreas W..

Author Posts
January 6, 2024 at 1:31 am #15156426

dennisW-24

From one day to the next, all the languages are missing.

When I try to open the WPML settings, i get this error:
Fatal error: Uncaught InvalidArgumentException: item should be a Collection or an array or an object in /home/customer/www/hotel-andante-rust.de/public_html/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/Obj.php:112 Stack trace: #0 [internal function]: WPML\FP\Obj::WPML\FP\{closure}(NULL, 'code', false) #1 /home/customer/www/hotel-andante-rust.de/public_html/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/functions.php(154): call_user_func_array(Object(Closure), Array) #2 [internal function]: WPML\FP\Obj::WPML\FP\{closure}(NULL, 'code', false) #3 /home/customer/www/hotel-andante-rust.de/public_html/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/collect/src/Illuminate/Support/Traits/Macroable.php(56): call_user_func_array(Object(Closure), Array) #4 /home/customer/www/hotel-andante-rust.de/public_html/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/Obj.php(90): WPML\FP\Obj::__callStatic('propOr', Array) #5 [internal function]: WPML\FP\Obj::WPML\FP\{closure}(' in /home/customer/www/hotel-andante-rust.de/public_html/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/Obj.php on line 112

January 6, 2024 at 5:39 pm #15156868

Andreas W.
WPML Supporter since 12/2018

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

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

Hello,

Could you please go to WPML > Support > Troubleshooting and use the option to recreate the WPML language information, which will create the WPML language tables inside the database?

Guide:
https://wpml.org/documentation/support/wpml-troubleshooting-options/

If this will not solve the issue, please let me know.

Best regards
Andreas

January 6, 2024 at 10:04 pm #15157024

dennisW-24

Hi Andreas,

unfortunately, that didn't change anything.

January 6, 2024 at 10:46 pm #15157049

Andreas W.
WPML Supporter since 12/2018

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

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

Hello,

I would like to offer to have a closer look at the problem and request temporary access (wp-admin and FTP) to the website to investigate this issue further.

You can find the required fields below the comment section when you log in to leave the next reply. The information you provide is private, which means only you and I can see and access it.

IMPORTANT
Please be sure to make a backup copy of the website and database before allowing us access.
If you can't see the wp-admin / FTP fields, your post and website credentials are set as PUBLIC. DO NOT publish the data unless you see the required wp-admin / FTP fields.

I may have to install a plugin called "All In One WP Migration" to make a copy of the website where I can investigate the issue further.

However, I would also be very grateful if you could provide a staging site or copy of the website from your server yourself for this purpose.

If you have any questions about creating such a staging site, you can consult your hosting provider. Just take note that WPML should be registered on this site again.

If you are unable to provide such a copy of the site for testing, please let me know on this ticket.

The private response form looks like this:
hidden link

Next time you reply, click "I still need assistance."

Video:
hidden link

Please note that we are obliged to request this information individually on each ticket. We may not access any access information not specifically submitted on this ticket in the private response form.

Best regards
Andreas

January 7, 2024 at 12:59 am #15157126

Andreas W.
WPML Supporter since 12/2018

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

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

Anscheinend fehlte die WPML Sprachtabelle in der Datenbank oder sie war beschädigt. Ich konnte diese nun wiederherstellen.

Das Problem sollte nun behoben sein. Bitte nehme die Einstellungen der Sprachen nun erneut unter WPML > Sprache vor und lass mich wissen, solltest Du weitere Hilfe benötigen.

January 7, 2024 at 10:26 am #15157259

dennisW-24

Hallo Andreas,

danke, das hat teilweise geklappt. Leider kann ich aber Deutsch nicht auswählen, siehe screenshot. Und im Hauptmenü sind die Menüpunkte "Kontakt" und Dining > Bar verschwunden, obwohl sie als Menüpunkte angelegt sind.

Screenshot 2024-01-07 112358.png
January 9, 2024 at 10:46 am #15163968

Andreas W.
WPML Supporter since 12/2018

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

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

Entschuldige bitte die Verzögerung, da ich Sonntags und Montags nicht arbeite.

Hier musste eine Standardsprache festgelegt werden. Ich habe dazu kurzzeitig Englisch gewählt. Danach konnte ich Deutsch wieder aktivieren und habe es nun als Standardsprache eingestellt.

Sollte weiterhin etwas nicht wie erwartet funktionieren, dann gib uns bitte Bescheid.

January 9, 2024 at 11:32 am #15164094

dennisW-24

Danke, hat geklappt. Nur die beiden Menüpunkte "Kontakt" und Dining > Bar fehlen noch, obwohl sie im Menü angelegt sind.

January 9, 2024 at 11:40 am #15164140

Andreas W.
WPML Supporter since 12/2018

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

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

Tut mir leid, aber ich kann leider nicht sagen, warum diese Menüpunkte nicht erscheinen.

An WPML liegt das allerdings nicht, denn die Punkte lassen sich auch dann nicht anlegen, wenn ich WPML kurz deaktiviere.

Bitte kontaktiere dazu den Theme Support.

January 9, 2024 at 1:09 pm #15164564

dennisW-24

ok, vielen Dank