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.

Tagged: 

This topic contains 1 reply, has 2 voices.

Last updated by Carlos Rojas 1 month ago.

Assigned support staff: Carlos Rojas.

Author Posts
September 16, 2019 at 8:58 pm #4584125

mohammedJ-6

Hi,
I can't go to the WPML > Languages page, I have an error 500.

Same when I want to go to administration panel > plugins I have the same mistake.
If I delete the WPML plugin in the plugin directory, I can then access the plugins page.

I would like to configure the plugin but I can't do it anymore

In the menu tab, if I want to add a language selector, I have an error 500.

I received this message by email:

Start -->
Howdy!

Since WordPress 5.2 there is a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email.

In this case, WordPress caught an error with one of your plugins, WPML Translation Management.

First, visit your website (hidden link) and check for any visible issues. Next, visit the page where the error was caught (hidden link) and check for any visible issues.

Please contact your host for assistance with investigating this issue further.

If your site appears broken and you can't access your dashboard normally, WordPress now has a special "recovery mode". This lets you safely login to your dashboard and investigate further.

hidden link

To keep your site safe, this link will expire in 1 day. Don't worry about that, though: a new link will be emailed to you if the error occurs again after it expires.

Error Details
=============
An error of type E_ERROR was caused in line 183 of the file /homepages/32/d772590121/htdocs/wp-content/plugins/wpml-translation-management/classes/records/class-wpml-tm-icl-translations.php. Error message: Uncaught InvalidArgumentException: No translation entry found for query: s:34:" trid = %d AND language_code = %s ";a:2:{i:0;s:5:"41032";i:1;s:2:"es";} in /homepages/32/d772590121/htdocs/wp-content/plugins/wpml-translation-management/classes/records/class-wpml-tm-icl-translations.php:183
Stack trace:
#0 /homepages/32/d772590121/htdocs/wp-content/plugins/wpml-translation-management/classes/records/class-wpml-tm-icl-translations.php(67): WPML_TM_ICL_Translations->select_translation_id(' trid = %d AND ...', Array)
#1 /homepages/32/d772590121/htdocs/wp-content/plugins/wpml-translation-management/classes/records/class-wpml-tm-icl-translations.php(43): WPML_TM_ICL_Translations->build_from_trid(Array)
#2 /homepages/32/d772590121/htdocs/wp-content/plugins/wpml-translation-management/classes/records/class-wpml-tm-records.php(157): WPML_TM_ICL_Translations->__construct(Object(WPML_TM_Records), Array, 'trid_lang')
#3 /homepages/32/d772590121/htdocs/wp-content/plugins/wpml-translation-management/inc/actions/wpml-tm-post-a

<--- END

What can I do to solve the problem?
Thanks

September 17, 2019 at 11:47 am #4588085

Carlos Rojas
Supporter

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

Timezone: America/Montevideo (GMT-03:00)

Hello,
Thank you for contacting WPML support.

It seems there is an interaction issue between WPML and a third party functionality. I would like to ask you to follow this steps in order to isolate the cause of the issue:
- Back up your site first before making any change, this is for security reasons.
- Update all outdated plugins and themes.
- Flush any cache memory that might exists.
- Deactivate all the plugins that are not related to WPML.
- Switch for a moment to a WordPress default theme like Twenty Seventeen.
- If the issue is gone, activate one by one to see with which one there is an interaction issue.

Could you tell me the result of this steps?

Kind regards,
Carlos