I have a hardcoded home page (for speed, plus I don’t want to load in all the WP files as they are not needed etc). Therefore your plugin doesn’t work on it > http://www.ukhorseracingtipster.com
However on all other pages for some reason there is a SCRIPT reference to my homepage as a JS script (which doesn’t exist)
Which causes a JS error as its obviously NOT a JS script e.g
Uncaught SyntaxError: Unexpected token <
If I turn OFF your plugin the error goes away.
However as I need your plugin and really don’t want to write my own as WP minify causes me problems on the Home Page but not everywhere else I need a fix.
a) Where is it getting the list of JS SCRIPTS from?
b) Why is it putting it on it’s own line anyway and not combining them with others?
c) How can I stop this script from being outtputed?
Any help would be appreciated
- The topic ‘Reference to non existing script appearing on site?’ is closed to new replies.