Title: JSON error
Last modified: September 1, 2016

---

# JSON error

 *  [sokratesagogo](https://wordpress.org/support/users/sokratesagogo/)
 * (@sokratesagogo)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/json-error-9/)
 * Getting the following error on a ServerPress testing site on my development machine:
 * WordPress 4.5.3
    PHP 5.5.24 Apache 2.4.12 Plugin 1.0.1
 * SyntaxError: Unexpected token s in JSON at position 0 (Shown in popup window)
 * [https://wordpress.org/plugins/php-compatibility-checker/](https://wordpress.org/plugins/php-compatibility-checker/)

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

 *  Plugin Contributor [Jason Stallings](https://wordpress.org/support/users/octalmage/)
 * (@octalmage)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/json-error-9/#post-7545722)
 * This means that the test finished, but the JSON returned from the server wasn’t
   valid. I’ve seen this happen when a site has errors/notices that make it into
   JSON. Do you have WP_DEBUG enabled? If so could you try turning it off? I’m going
   to look into other ways to resolve this.
 *  Thread Starter [sokratesagogo](https://wordpress.org/support/users/sokratesagogo/)
 * (@sokratesagogo)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/json-error-9/#post-7545725)
 * Thanks for the rapido response 🙂
 * WP_Debug was disabled; however, I disabled all plugins except my homegrown, and
   lo and behold the tests completed.
 * I’m reactivating the rest of plugins one at a time to try and find a culprit.
 * Sorry for not trying this first before submitting my ticket 🙁
 * **update It appears that when the [TablePress plugin](https://en-gb.wordpress.org/plugins/tablepress/)(
   v1.7) is enabled this error is thrown in the Compatability Checker plugin with
   any of the PHP versions and “Only scan active plugins and themes” selected.
 *  Plugin Contributor [Jason Stallings](https://wordpress.org/support/users/octalmage/)
 * (@octalmage)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/json-error-9/#post-7545771)
 * Interesting! Do you get anything in your error log with that plugin activated?
   Let me try to install the plugin and see if I can replicate.
 * Thanks for helping track this down!
 *  Thread Starter [sokratesagogo](https://wordpress.org/support/users/sokratesagogo/)
 * (@sokratesagogo)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/json-error-9/#post-7545832)
 * This is the last entry on error in the php_error_log:
 * PHP 11. PHP_CodeSniffer_File->start() <path removed> /wp-content/plugins/php-
   compatibility-checker/vendor/squizlabs/php_codesniffer/CodeSniffer.php:1861
 * (only TablePress and PCC enabled)
 *  Plugin Contributor [Jason Stallings](https://wordpress.org/support/users/octalmage/)
 * (@octalmage)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/json-error-9/#post-7545996)
 * I just released a new version of the plugin (v1.1.1) that I don’t believe will
   resolve this issue, but the alert should provide more information. Could you 
   either provide the text or take a screenshot of the alert with the error?
 * Thanks!
 *  Thread Starter [sokratesagogo](https://wordpress.org/support/users/sokratesagogo/)
 * (@sokratesagogo)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/json-error-9/#post-7545999)
 * Will do 🙂
 *  [Curtis Belt](https://wordpress.org/support/users/curtisbelt/)
 * (@curtisbelt)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/json-error-9/#post-8165678)
 * Hi,
 * Not the same person as before but I have the same problem.
 * SyntaxError: Unexpected token s in JSON at position 0
 * ![Screenshot](https://i0.wp.com/i.imgur.com/hI7kDpE.png)
 * I have the same result
 * Windows running WAMP 64 bit
    Apache 2.4.17 PHP 5.6.16 and 7.0.9 (same result 
   on both versions)

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

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

 * ![](https://ps.w.org/php-compatibility-checker/assets/icon-256x256.png?rev=1446087)
 * [PHP Compatibility Checker](https://wordpress.org/plugins/php-compatibility-checker/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/php-compatibility-checker/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/php-compatibility-checker/)
 * [Active Topics](https://wordpress.org/support/plugin/php-compatibility-checker/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/php-compatibility-checker/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/php-compatibility-checker/reviews/)

 * 7 replies
 * 3 participants
 * Last reply from: [Curtis Belt](https://wordpress.org/support/users/curtisbelt/)
 * Last activity: [9 years, 8 months ago](https://wordpress.org/support/topic/json-error-9/#post-8165678)
 * Status: not resolved