Skip to content Skip to sidebar

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

Supporter timezone: Asia/Dhaka (GMT+06:00)

This topic contains 1 reply, has 2 voices.

Last updated by Prosenjit Barman 1 year, 7 months ago.

Assisted by: Prosenjit Barman.

Author Posts
February 7, 2024 at 9:45 pm #15279169

Jan

I am trying to:
Save a translation of any page from the WordPress editor.

Link to a page where the issue can be seen:

I cannot provide you with access at this time. Perhaps later, if needed.

I expected to see:

A message it was saved

Instead, I got:

A critical error:
AH01071: Got error 'PHP message: PHP Fatal error: Uncaught InvalidArgumentException: No translation entry found for query: s:34:" trid = %d AND language_code = %s ";a:2:{i:0;s:4:"3515";i:1;s:2:"en";} in /var/www/vhosts/mooi-kliniek.nl/httpdocs/wp-content/plugins/sitepress-multilingual-cms/classes/records/class-wpml-tm-icl-translations.php:193\nStack trace:\n#0 /var/www/vhosts/mooi-kliniek.nl/httpdocs/wp-content/plugins/sitepress-multilingual-cms/classes/records/class-wpml-tm-icl-translations.php(67): WPML_TM_ICL_Translations->select_translation_id()\n#1 /var/www/vhosts/mooi-kliniek.nl/httpdocs/wp-content/plugins/sitepress-multilingual-cms/classes/records/class-wpml-tm-icl-translations.php(43): WPML_TM_ICL_Translations->build_from_trid()\n#2 /var/www/vhosts/mooi-kliniek.nl/httpdocs/wp-content/plugins/sitepress-multilingual-cms/classes/records/class-wpml-tm-records.php(161): WPML_TM_ICL_Translations->__construct()\n#3 /var/www/vhosts/mooi-kliniek.nl/httpdocs/wp-content/plugins/sitepress-multilingual-cms/inc/actions/wpml-tm-post-ac...', referer: hidden link

February 8, 2024 at 11:52 am #15281001

Prosenjit Barman
WPML Supporter since 03/2023

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello There,
Thanks for contacting WPML Support.

From the error log, I'd like to inform you that a similar issue has been reported previously and in that case, the issue was happening due to Creating the Translation of Global Avada Library Element by Duplicating it.

From the WPML Debug Information, I found that you're using the Avada theme as well. Consequently, the underlying cause of your issue may be the same. Could you please try the steps below and see if they resolve the issue?

- Navigate to "Avada > Library" in your dashboard.
- Identify the Library Elements designated as Global.
- Access the translations for these Global Library Elements and ensure they have been translated independently. For guidance on translating items independently, please refer to the following article: https://wpml.org/documentation/translating-your-contents/using-different-translation-editors-for-different-pages/#:~:text=Translate%20independently.

By following these instructions, you may be able to rectify the issue. But, if the issue persists, please let me know the steps to recreate the issue. I will check accordingly and let you know what to do next.

Best regards,
Prosenjit

The topic ‘[Closed] Uncaught InvalidArgumentException: No translation entry found for query’ is closed to new replies.