Title: Database errors
Last modified: February 23, 2022

---

# Database errors

 *  Resolved [thalakus](https://wordpress.org/support/users/thalakus/)
 * (@thalakus)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/database-errors-75/)
 * Hello together,
    I Translatepress reported me some errors. I deleted the exact
   url below for google but it’s indicated in the “Link to the page you need help
   with:”
 *     ```
       1
       last_error	WordPress database error: Could not perform query because it contains invalid data.
       disable_automatic_translations	Ja
       url	/en/wp-json/wp/v2/pages/72
       details	Error running insert_strings()
       date_time	2022-02-23 15:29:02
       timestamp	1645630142
       2
       last_error	WordPress database error: Could not perform query because it contains invalid data.
       disable_automatic_translations	Ja
       url	/en/wp-json/wp/v2/pages/72
       details	Error running get_untranslated_strings()
       date_time	2022-02-23 15:29:02
       timestamp	1645630142
       3
       last_error	WordPress database error: Could not perform query because it contains invalid data.
       disable_automatic_translations	Ja
       url	/en/wp-json/wp/v2/pages/72
       details	Error running get_existing_translations()
       date_time	2022-02-23 15:29:02
       timestamp	1645630142
       4
       last_error	WordPress database error: Could not perform query because it contains invalid data.
       disable_automatic_translations	Ja
       url	/en/wp-json/wp/v2/pages/72
       details	Error running insert_strings()
       date_time	2022-02-23 15:29:01
       timestamp	1645630141
       5
       last_error	WordPress database error: Could not perform query because it contains invalid data.
       disable_automatic_translations	Ja
       url	/en/wp-json/wp/v2/pages/72
       details	Error running get_untranslated_strings()
       date_time	2022-02-23 15:29:01
       timestamp	1645630141
       ```
   
 * I can’t trigger it manually. Not even if I click through all pages and pictures.
   
   But I did notice something: 1. this page triggers it: [https://www.deadlinkchecker.com/website-dead-link-checker.asp](https://www.deadlinkchecker.com/website-dead-link-checker.asp)
   when I check for broken links, afterwards these errors are shown in my dashboard.
 * 2. if I’m looking into a page on my guestbook (gwolle-gb), that uses smileys,
   it shows the following in the console: Notice: TranslatePress trp-ajax request
   uses fall back to admin ajax.
    This just occurs if there are smileys used. on
   other guestbook-pages without smileys it doesnt show this message.
    -  This topic was modified 4 years, 3 months ago by [thalakus](https://wordpress.org/support/users/thalakus/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fdatabase-errors-75%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Thread Starter [thalakus](https://wordpress.org/support/users/thalakus/)
 * (@thalakus)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/database-errors-75/#post-15396520)
 * Now I found out that visiting mydomain/en/wp-json/wp/v2/pages/72/ triggers the
   error.
    This is exactly a page of the guestbook.
 * So might the error lie here that translatepress can’t deal with emojis?
    -  This reply was modified 4 years, 3 months ago by [thalakus](https://wordpress.org/support/users/thalakus/).
 *  [Dragos](https://wordpress.org/support/users/dragosvrejiu/)
 * (@dragosvrejiu)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/database-errors-75/#post-15399547)
 * Hello,
 * It seems that the problem is related to upgrading to WordPress 5.9 version.
 * We are already working on finding a solution to the “Could not perform query 
   because it contains invalid data.” problem. To give some context on when this
   happens, it gets triggered when trying to find translations for the strings found
   in the loaded HTML page. It indicates that the text in the original HTML contains
   one or more problematic characters such as an invalid encoding for the table 
   charset.
 * Only certain pages containing that specific type of text are affected. Some translations
   may be missing on these pages, showing the original language content instead.
 * Best regards,
 *  Thread Starter [thalakus](https://wordpress.org/support/users/thalakus/)
 * (@thalakus)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/database-errors-75/#post-15399823)
 * Hi Dragos,
    thanks for your feedback! Glad to hear that my page won’t explode:))
 * So I’m keeping calm and looking forward the fix 🙂
 * have a great day!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Database errors’ is closed to new replies.

 * ![](https://ps.w.org/translatepress-multilingual/assets/icon.svg?rev=3166541)
 * [TranslatePress - Translate Multilingual sites with AI Translation](https://wordpress.org/plugins/translatepress-multilingual/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/translatepress-multilingual/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/translatepress-multilingual/)
 * [Active Topics](https://wordpress.org/support/plugin/translatepress-multilingual/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/translatepress-multilingual/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/translatepress-multilingual/reviews/)

## Tags

 * [database](https://wordpress.org/support/topic-tag/database/)
 * [sql](https://wordpress.org/support/topic-tag/sql/)

 * 3 replies
 * 2 participants
 * Last reply from: [thalakus](https://wordpress.org/support/users/thalakus/)
 * Last activity: [4 years, 3 months ago](https://wordpress.org/support/topic/database-errors-75/#post-15399823)
 * Status: resolved