Title: JSON parse error
Last modified: September 5, 2018

---

# JSON parse error

 *  Resolved [kkweb01](https://wordpress.org/support/users/kkweb01/)
 * (@kkweb01)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/json-parse-error-6/)
 * whenever the banner loads in rotation, the plugin will generally cause an error
   in the console.
    Uncaught SyntaxError: Unexpected token  in JSON at position
   0 at JSON.parse (<anonymous>) at ai_process_rotation ..etc.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fjson-parse-error-6%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Spacetime](https://wordpress.org/support/users/spacetime/)
 * (@spacetime)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/json-parse-error-6/#post-10660165)
 * Can you please enable remote debugging?
 *  Thread Starter [kkweb01](https://wordpress.org/support/users/kkweb01/)
 * (@kkweb01)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/json-parse-error-6/#post-10660187)
 * now is enable
 *  Plugin Author [Spacetime](https://wordpress.org/support/users/spacetime/)
 * (@spacetime)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/json-parse-error-6/#post-10660782)
 * Pretty strange.
 * The same error is reported also for gdpr cookie compliance plugin:
    [https://www.italiaslowtour.com/cms/wp-content/plugins/gdpr-cookie-compliance/dist/scripts/main.js](https://www.italiaslowtour.com/cms/wp-content/plugins/gdpr-cookie-compliance/dist/scripts/main.js)
 * I can’t reproduce the problem on my test installation.
    Will prepare a version
   with additional debugging info.
 *  Plugin Author [Spacetime](https://wordpress.org/support/users/spacetime/)
 * (@spacetime)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/json-parse-error-6/#post-10664803)
 * Can you please install this version:
    [https://downloads.wordpress.org/plugin/ad-inserter.zip](https://downloads.wordpress.org/plugin/ad-inserter.zip)
 *  Thread Starter [kkweb01](https://wordpress.org/support/users/kkweb01/)
 * (@kkweb01)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/json-parse-error-6/#post-10667211)
 * after delete and reinstall : same problem. 🙁
 *  Plugin Author [Spacetime](https://wordpress.org/support/users/spacetime/)
 * (@spacetime)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/json-parse-error-6/#post-10667347)
 * Very strange.
 * It seems the issue you have has nothing to do with the plugin.
 * 1. The same ad code with the same settings runs fine on test servers.
 * 2. The same error is reported also for gdpr cookie compliance plugin for this
   script:
    `/wp-content/plugins/gdpr-cookie-compliance/dist/scripts/main.js`
 * ![](https://i0.wp.com/image.ibb.co/gD5zHz/error.png?ssl=1)
 * I can’t imagine the same error in two different plugins.
    Therefore it must be
   something with your website.
 * I would need to look deeper.
    If you are willing to allow access you can [submit a ticket](http://igorfuna.com/contact/contact-igor-funa)
   and refer to this thread.

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

The topic ‘JSON parse error’ is closed to new replies.

 * ![](https://ps.w.org/ad-inserter/assets/icon-256x256.jpg?rev=1502039)
 * [Ad Inserter - Ad Manager & AdSense Ads](https://wordpress.org/plugins/ad-inserter/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ad-inserter/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ad-inserter/)
 * [Active Topics](https://wordpress.org/support/plugin/ad-inserter/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ad-inserter/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ad-inserter/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [Spacetime](https://wordpress.org/support/users/spacetime/)
 * Last activity: [7 years, 8 months ago](https://wordpress.org/support/topic/json-parse-error-6/#post-10667347)
 * Status: resolved