Title: Uncaught SyntaxError: Unexpected token
Last modified: June 7, 2018

---

# Uncaught SyntaxError: Unexpected token

 *  Resolved [w00tsan](https://wordpress.org/support/users/w00tsan/)
 * (@w00tsan)
 * [8 years ago](https://wordpress.org/support/topic/uncaught-syntaxerror-unexpected-token-15/)
 * Hey guys,
 * I’m getting a Uncaught SyntaxError: Unexpected token < console error on my client’s
   site. Deactivating the plugin makes the error go away. Any guidance on how to
   resolve this issue?
 * Best Regards

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

 *  [wfalaa](https://wordpress.org/support/users/wfalaa/)
 * (@wfalaa)
 * [8 years ago](https://wordpress.org/support/topic/uncaught-syntaxerror-unexpected-token-15/#post-10387212)
 * Hi [@w00tsan](https://wordpress.org/support/users/w00tsan/)
 * A [screenshot](https://www.wordfence.com/help/advanced/troubleshooting/#how-to-take-a-screenshot)
   from the browser console showing where exactly this error is originating from
   would be helpful, also here you are my suggestions:
 * – If you have any caching plugin installed, try to clear cache from that plugin,
   also double check that your hosting provider doesn’t have its own caching system,
   as you will need to clear cache from there as well.
 * – Disable any plugin with “minify JS” option and recheck this issue.
 * – If you have Cloudflare set up on this domain, try to shut it down and recheck
   this issue.
 * Following these steps should help in narrowing down this issue, after that you
   can debug this issue further.
 * Thanks.
 *  Thread Starter [w00tsan](https://wordpress.org/support/users/w00tsan/)
 * (@w00tsan)
 * [7 years, 12 months ago](https://wordpress.org/support/topic/uncaught-syntaxerror-unexpected-token-15/#post-10401272)
 * [@wfalaa](https://wordpress.org/support/users/wfalaa/) Thanks for the insight,
   I will look into your suggestions. In the meantime, I’ve also included a screenshot
   as requested located here: [https://drive.google.com/file/d/1d7OvjgrMIWTSViliB61TzlnXxPZbi30c/view?usp=sharing](https://drive.google.com/file/d/1d7OvjgrMIWTSViliB61TzlnXxPZbi30c/view?usp=sharing)
 * Best Regards
 *  [wfasa](https://wordpress.org/support/users/wfasa/)
 * (@wfasa)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/uncaught-syntaxerror-unexpected-token-15/#post-10524115)
 * Hi [@w00tsan](https://wordpress.org/support/users/w00tsan/),
    Since we haven’t
   heard from you for a while I’m going to go ahead and resolve this thread. If 
   your issue has not yet been resolved, just let us know.
 * Thanks!

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

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

 * ![](https://ps.w.org/wordfence/assets/icon.svg?rev=2070865)
 * [Wordfence Security - Firewall, Malware Scan, and Login Security](https://wordpress.org/plugins/wordfence/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordfence/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordfence/)
 * [Active Topics](https://wordpress.org/support/plugin/wordfence/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordfence/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordfence/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [wfasa](https://wordpress.org/support/users/wfasa/)
 * Last activity: [7 years, 10 months ago](https://wordpress.org/support/topic/uncaught-syntaxerror-unexpected-token-15/#post-10524115)
 * Status: resolved