Title: caught SyntaxError: Unexpected token &#8216;&lt;&#039;
Last modified: April 23, 2023

---

# caught SyntaxError: Unexpected token ‘<'

 *  [imiteur1](https://wordpress.org/support/users/imiteur1/)
 * (@imiteur1)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/caught-syntaxerror-unexpected-token/)
 * Hi,
 * I’m getting an syntax error when the plugin is activated. And it’s pointing to
   the DOCHTML declaration. Please see attached screenshots:
 * [Screenshot](https://wtf.roflcopter.fr/pics/B036y6iL/if3VNr1a.jpg)
   [Screenshot](https://wtf.roflcopter.fr/pics/BWgOzvi4/v7P7B3Nh.jpg)
    -  This topic was modified 3 years, 1 month ago by [imiteur1](https://wordpress.org/support/users/imiteur1/).
    -  This topic was modified 3 years, 1 month ago by [imiteur1](https://wordpress.org/support/users/imiteur1/).

Viewing 1 replies (of 1 total)

 *  Plugin Author [kostyatereshchuk](https://wordpress.org/support/users/kostyatereshchuk/)
 * (@kostyatereshchuk)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/caught-syntaxerror-unexpected-token/#post-16703161)
 * Hi [@imiteur1](https://wordpress.org/support/users/imiteur1/),
   It looks like 
   on your site some HTML content is included as script.You can try to deactivete
   this plugin and clear your browser cache using Ctrl + Shift + R to check if the
   issues is in some new code on your site, that was cached.Also, possible that 
   some code on your site has conflict with this plugin.Regards,Kostya

Viewing 1 replies (of 1 total)

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

 * ![](https://ps.w.org/prevent-browser-caching/assets/icon-256x256.png?rev=1793665)
 * [Prevent Browser Caching](https://wordpress.org/plugins/prevent-browser-caching/)
 * [Support Threads](https://wordpress.org/support/plugin/prevent-browser-caching/)
 * [Active Topics](https://wordpress.org/support/plugin/prevent-browser-caching/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/prevent-browser-caching/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/prevent-browser-caching/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [kostyatereshchuk](https://wordpress.org/support/users/kostyatereshchuk/)
 * Last activity: [3 years, 1 month ago](https://wordpress.org/support/topic/caught-syntaxerror-unexpected-token/#post-16703161)
 * Status: not resolved