Title: Error when parsing JSON database value
Last modified: March 27, 2023

---

# Error when parsing JSON database value

 *  Resolved [richardb97](https://wordpress.org/support/users/richardb97/)
 * (@richardb97)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/error-when-parsing-json-database-value/)
 * Our website was transferred to a new host (HostGator). Since the transfer, I 
   get an error when accessing Mailpoet “Emails”, which are our newsletters. I can
   create a new newsletter, but after I save it, I still get the error when I return
   to the Mailpoet email tab. The host is running php 8.1 (I tried PHP 7.4, but 
   still have the same issue).
 * **The error description is**: Error when parsing JSON database value: “Control
   character error, possibly incorrectly encoded”.
 * How do I get this corrected or what do I look for? Our newsletter and club emails
   have been rendered useless.
 * Please help! Thanks!

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

 *  Plugin Author [Bruna a11n](https://wordpress.org/support/users/bruberries/)
 * (@bruberries)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/error-when-parsing-json-database-value/#post-16602180)
 * Hi [@richardb97](https://wordpress.org/support/users/richardb97/),
 * It seems that one of your newsletters may have been corrupted during migration,
   or the new host has different configurations that are preventing a newsletter
   from being properly rendered.
 * If the Emails page loads as expected and you don’t have too many newsletters,
   one way to check which newsletter is the problematic one is:
 * 1 – Open each newsletter directly in the editor: /wp-admin/admin.php?page=mailpoet-
   newsletter-editor&id=1
 * 2 – Substitute **1** with actual newsletter IDs, starting from the latest to 
   the earliest.
 * The problematic one may display the same error in the editor.
 * If the newsletter listing is not displaying at all, fixing it will require database
   access via a plugin such as WP phpMyAdmin. Either fix a character in the body,
   or, if the newsletter isn’t important, clear the whole body.
 *  Thread Starter [richardb97](https://wordpress.org/support/users/richardb97/)
 * (@richardb97)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/error-when-parsing-json-database-value/#post-16625744)
 * It appears that the database did get corrupted in some manner during the migration.
   I restored a backup of the database I made prior to the migration and that solved
   the problem.
    -  This reply was modified 3 years, 2 months ago by [richardb97](https://wordpress.org/support/users/richardb97/).

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

The topic ‘Error when parsing JSON database value’ is closed to new replies.

 * ![](https://ps.w.org/mailpoet/assets/icon-256x256.png?rev=3284564)
 * [MailPoet - Newsletters, Email Marketing, and Automation](https://wordpress.org/plugins/mailpoet/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/mailpoet/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/mailpoet/)
 * [Active Topics](https://wordpress.org/support/plugin/mailpoet/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mailpoet/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mailpoet/reviews/)

## Tags

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

 * 2 replies
 * 2 participants
 * Last reply from: [richardb97](https://wordpress.org/support/users/richardb97/)
 * Last activity: [3 years, 2 months ago](https://wordpress.org/support/topic/error-when-parsing-json-database-value/#post-16625744)
 * Status: resolved