• Hi all:

    I’ve been working on a new project and while been working on the front-end, I didn’t had any problem.
    However, I start noticing that some features on the back office (like slide down menus) weren’t working. So I fired up debugging console of my browser and found that there is an intermittent issue:

    Uncaught SyntaxError: Unexpected token ILLEGAL load-scripts.php:1
    load-scripts.php?c=1&load%5B%5D=jquery,utils,json2&ver=3.5.1:1

    other times…

    Uncaught SyntaxError: Unexpected token ILLEGAL load-scripts.php:1
    Uncaught ReferenceError: jQuery is not defined load-scripts.php:2
    (anonymous function)

    Similar issues found in different browsers: Chrome, Safari and Firefox.

    Next step was googling for some answers and found a reference for javascript diagnose here. When I enable SCRIPT_DEBUG, the error stops, and everything runs smoothly again.

    At this moment I don’t have any plugin nor theme installed and been running in localhost.

    Couldn’t find yet a solution. Any ideas?

Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Unexpected token ILLEGAL, even on clean install’ is closed to new replies.