Title: Couldn&#8217;t read JSON data
Last modified: August 13, 2020

---

# Couldn’t read JSON data

 *  Resolved [lqd](https://wordpress.org/support/users/lqd/)
 * (@lqd)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/couldnt-read-json-data/)
 * Hi,
    I love this plugin. We are also developing some plugins.
 * This is the error that occurred in the latest version.
    —– **wpp.min.js?ver=5.2.2:
   1 WPP: Couldn’t read JSON data** WordPress: 5.5 WordPress Popular Posts: 5.2.2
   Theme: Twenty Twenty —– OK WordPress 5.5 WordPress Popular Posts: 5.1 Theme: 
   Twenty Twenty —– OK WordPress 5.4.1 WordPress Popular Posts: 5.2.2 Theme: Twenty
   Twenty —–
 * Thank you.

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

 *  Plugin Author [Hector Cabrera](https://wordpress.org/support/users/hcabrera/)
 * (@hcabrera)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/couldnt-read-json-data/#post-13249644)
 * Hi [@lqd](https://wordpress.org/support/users/lqd/),
 * Thanks for the kind words. Glad to know you like my plugin 🙂
 * Regarding the issue you’re reporting, maybe these links can help:
    - [Is WordPress Popular Posts compatible with plugins that minifiy/bundle JavaScript code?](https://github.com/cabrerahector/wordpress-popular-posts/wiki/5.-FAQ#is-wordpress-popular-posts-compatible-with-plugins-that-minifybundle-javascript-code)
    - [AJAX loading breaks with upgrade to 5.5](https://wordpress.org/support/topic/ajax-loading-breaks-with-upgrade-to-5-5/)
 * If you have any further questions don’t hesitate to ask, ok?
 *  Thread Starter [lqd](https://wordpress.org/support/users/lqd/)
 * (@lqd)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/couldnt-read-json-data/#post-13251538)
 * Hi [@hcabrera](https://wordpress.org/support/users/hcabrera/)
 * Thank you for your reply.
    As you pointed out, The WPP script had two ID attributes.
 * But, there are no active plugins other than WPP..?
    [https://lqdjp.sakura.ne.jp/wp/](https://lqdjp.sakura.ne.jp/wp/)`
   <script id='wpp-js-js-before' type="application/json" id="wpp-json">`
 *  Plugin Author [Hector Cabrera](https://wordpress.org/support/users/hcabrera/)
 * (@hcabrera)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/couldnt-read-json-data/#post-13251889)
 * Something is adding that attribute to WPP’s script though. If it’s not a plugin(
   since WPP is the only one that’s active on your site, right?) then maybe it’s
   coming from your theme or from a MU plugin installed by your hosting?
 *  Plugin Author [Hector Cabrera](https://wordpress.org/support/users/hcabrera/)
 * (@hcabrera)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/couldnt-read-json-data/#post-13253263)
 * Hi [@lqd](https://wordpress.org/support/users/lqd/),
 * Please update to version 5.2.3. The issue is being caused by WordPress 5.5 itself,
   I just updated the plugin to fix it.
 *  Thread Starter [lqd](https://wordpress.org/support/users/lqd/)
 * (@lqd)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/couldnt-read-json-data/#post-13253759)
 * Hi [@hcabrera](https://wordpress.org/support/users/hcabrera/)
 * It was solved by updating the plugin!
    Thanks a lot.

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

The topic ‘Couldn’t read JSON data’ is closed to new replies.

 * ![](https://ps.w.org/wordpress-popular-posts/assets/icon-256x256.png?rev=1232659)
 * [WP Popular Posts](https://wordpress.org/plugins/wordpress-popular-posts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-popular-posts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-popular-posts/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-popular-posts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-popular-posts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-popular-posts/reviews/)

## Tags

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

 * 5 replies
 * 2 participants
 * Last reply from: [lqd](https://wordpress.org/support/users/lqd/)
 * Last activity: [5 years, 9 months ago](https://wordpress.org/support/topic/couldnt-read-json-data/#post-13253759)
 * Status: resolved