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 1 reply, has 2 voices.

Last updated by Sumit 1 year, 2 months ago.

Author Posts
February 7, 2024 at 10:00 pm #15279189

erikaT-5

I receive and error that said to contact WPML support:
Error states:

WordPress database error: Could not perform query because it contains invalid data.
Array
(
[language] => en
[context] => gutenberg-6815
[gettext_context] =>
[domain_name_context_md5] => 56617ecca05315cbd16168eb31d166f6
[name] => bd4ac91c882eb5e7ecd56da1afaf5545
[value] => 📅 Date: Tuesday, December 19, 2023
⏰ Time: 11:00 am PT (2:00 pm ET)
[status] => 0
[translation_priority] => optional
[allow_empty_value] =>
)

February 8, 2024 at 7:54 am #15279929

Sumit
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hi,

Thank you for contacting the support forum.
Before your ticket is assigned to one of my colleagues, please allow me to walk you through some initial debugging steps. This will help speed up the support process.

There is bug in WP https://core.trac.wordpress.org/ticket/59868 that may trigger this warning when WPML saves a string with emojis.

The cause of the issue is mixed database table collations. You can reach out to your host/developer to follow these steps:-

- Make sure you have a complete database backup
- Go to the database and check columns of wp_icl_strings table.
- All columns should have the same collation and recommended is utf8mb4

Thanks

The topic ‘[Closed] WordPress database error: Could not perform query because it contains invalid da’ is closed to new replies.