Title: Strange error message: SyntaxError: JSON Parse error: Unexpected EOF
Last modified: September 14, 2019

---

# Strange error message: SyntaxError: JSON Parse error: Unexpected EOF

 *  Resolved [Emmageddon](https://wordpress.org/support/users/emmageddon/)
 * (@emmageddon)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/strange-error-message-syntaxerror-json-parse-error-unexpected-eof/)
 * Hi there, since the recent updates to Hummingbird I’ve been getting the following
   error message: SyntaxError: JSON Parse error: Unexpected EOF whenever I try to
   use the Advanced Tools.
 * Anyone else?
 * Any help gratefully received. It’s not affecting the main “clear cache” button
   but anything from Advanced Tools just gives me this message.

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

 *  [Anton Vanyukov](https://wordpress.org/support/users/vanyukov/)
 * (@vanyukov)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/strange-error-message-syntaxerror-json-parse-error-unexpected-eof/#post-11934716)
 * Hi [@emmageddon](https://wordpress.org/support/users/emmageddon/),
 * This has already been reported and will be fixed in the upcoming update.
 * Best regards,
    Anton
 *  Thread Starter [Emmageddon](https://wordpress.org/support/users/emmageddon/)
 * (@emmageddon)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/strange-error-message-syntaxerror-json-parse-error-unexpected-eof/#post-11936907)
 * Hi [@vanyukov](https://wordpress.org/support/users/vanyukov/)
 * Sorry about that. I did have a little look but couldn’t find anything specific
   to the issue before I posted. Good to hear that the issue is being worked on 
   for the next update though.
 * Mucha appreciated.
 *  [missfrosty1](https://wordpress.org/support/users/missfrosty1/)
 * (@missfrosty1)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/strange-error-message-syntaxerror-json-parse-error-unexpected-eof/#post-12024050)
 * I’ve been experiencing this error too for weeks now. Do you know when the next
   update will be and when this will be addressed?
 *  Thread Starter [Emmageddon](https://wordpress.org/support/users/emmageddon/)
 * (@emmageddon)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/strange-error-message-syntaxerror-json-parse-error-unexpected-eof/#post-12025034)
 * [@missfrosty1](https://wordpress.org/support/users/missfrosty1/) – yes it’s been
   a while. Absolutely understand some updates can take time.
 * [@vanyukov](https://wordpress.org/support/users/vanyukov/) do we have an update
   on this? It’s been a month since it was brought up – not able to do anything 
   but remove the old cache – all revisions etc can not be cleared without the error
   happening. Appreciate any news as to where you guys are in terms of an update
   to fix this error. Thank you in advance.
    -  This reply was modified 6 years, 7 months ago by [Emmageddon](https://wordpress.org/support/users/emmageddon/).
 *  [Anton Vanyukov](https://wordpress.org/support/users/vanyukov/)
 * (@vanyukov)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/strange-error-message-syntaxerror-json-parse-error-unexpected-eof/#post-12025768)
 * [@missfrosty1](https://wordpress.org/support/users/missfrosty1/), [@emmageddon](https://wordpress.org/support/users/emmageddon/),
 * The release is being tested at the moment. It takes time to prepare a release,
   as it’s not just about fixing this issue, but also testing out new features and
   making sure that the update does not break anything.
 * I can provide you with steps to manually fix the issue. In file the plugin folder
   in file core/modules/class-advanced.php on line 305 right after
 *     ```
       } else {
       	$items = $this->delete( $sql[ $type ], $type );
       }
       ```
   
 * add
 * `wp_cache_delete( "wphb_db_optimization:{$type}" );`
 * and in same file on line 336 before
 * `$entries = $wpdb->get_col( $sql ); // Db call ok; no-cache ok.`
 * add
 * `wp_cache_flush();`
 * Best regards,
    Anton
 *  Thread Starter [Emmageddon](https://wordpress.org/support/users/emmageddon/)
 * (@emmageddon)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/strange-error-message-syntaxerror-json-parse-error-unexpected-eof/#post-12027776)
 * Hi [@vanyukov](https://wordpress.org/support/users/vanyukov/) – thank you for
   the update, it is appreciated. It had just been a while since there had been 
   an update to this issue since my initial post, so hopefully you can understand
   the need for a follow-up.
 * But, as I said in my post over the weekend “_Absolutely understand some updates
   can take time….Appreciate any news as to where you guys are in terms of an update
   to fix this error_.”
 * So all good, just glad to have an update. 😉
 * Also I will give that “fix” a go over the next day or so (just getting back into
   work after some holiday time). Will let you know if that sorts he issue for the
   time being.
 * Thank you again for the update.
    -  This reply was modified 6 years, 7 months ago by [Emmageddon](https://wordpress.org/support/users/emmageddon/).

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

The topic ‘Strange error message: SyntaxError: JSON Parse error: Unexpected EOF’
is closed to new replies.

 * ![](https://ps.w.org/hummingbird-performance/assets/icon-256x256.gif?rev=2633221)
 * [Hummingbird Performance - Cache & Page Speed Optimization for Core Web Vitals | Critical CSS | Minify CSS | Defer CSS Javascript | CDN](https://wordpress.org/plugins/hummingbird-performance/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/hummingbird-performance/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/hummingbird-performance/)
 * [Active Topics](https://wordpress.org/support/plugin/hummingbird-performance/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/hummingbird-performance/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/hummingbird-performance/reviews/)

 * 6 replies
 * 3 participants
 * Last reply from: [Emmageddon](https://wordpress.org/support/users/emmageddon/)
 * Last activity: [6 years, 7 months ago](https://wordpress.org/support/topic/strange-error-message-syntaxerror-json-parse-error-unexpected-eof/#post-12027776)
 * Status: resolved