Title: SyntaxError: Unexpected token
Last modified: March 2, 2024

---

# SyntaxError: Unexpected token

 *  Resolved [pyarepritam](https://wordpress.org/support/users/pyarepritam/)
 * (@pyarepritam)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/syntaxerror-unexpected-token-34/)
 * when i use this plugin then show syntaxError: Unexpected token.
 * SyntaxError: Unexpected token ‘<‘, “<!DOCTYPE “… is not valid JSON
 * can you fix it. suggestion

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

 *  Plugin Support [chandelierrr](https://wordpress.org/support/users/shanedelierrr/)
 * (@shanedelierrr)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/syntaxerror-unexpected-token-34/#post-17475331)
 * Hi [@pyarepritam](https://wordpress.org/support/users/pyarepritam/), glad you’re
   here!
 * Can you please send a screenshot of where you see this error? I’d suggest that
   you try temporarily deactivating all the other plugins and switching to a default
   WP theme to check if the error remains. Please also clear all your cache (server
   cache, CDN cache, plugin cache, & browser cache) to see if that helps.
   If the
   error remains when only Solid Security is activated, the fastest way we can resolve
   this is to replicate the error on our staging environment. Kindly send the replication
   steps here, along with the additional plugin-related errors you can see on your
   debug.log file, browser console, and server PHP error logs.I’m looking forward
   to your feedback.
 *  Plugin Support [chandelierrr](https://wordpress.org/support/users/shanedelierrr/)
 * (@shanedelierrr)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/syntaxerror-unexpected-token-34/#post-17490029)
 * Hi there,
 * I hope the previous reply was helpful. Tracking notifications on this forum can
   become tricky over time, and since we haven’t received a response, I’ll mark 
   this post resolved.
 * If you still require further assistance, feel free to open a new support topic,
   and we’d be happy to assist.
 * Thank you!

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

The topic ‘SyntaxError: Unexpected token’ is closed to new replies.

 * ![](https://ps.w.org/better-wp-security/assets/icon.svg?rev=3529351)
 * [Kadence Security – Password, Two Factor Authentication, and Brute Force Protection](https://wordpress.org/plugins/better-wp-security/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/better-wp-security/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/better-wp-security/)
 * [Active Topics](https://wordpress.org/support/plugin/better-wp-security/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/better-wp-security/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/better-wp-security/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [chandelierrr](https://wordpress.org/support/users/shanedelierrr/)
 * Last activity: [2 years, 2 months ago](https://wordpress.org/support/topic/syntaxerror-unexpected-token-34/#post-17490029)
 * Status: resolved