Support » Plugins » Unexpected token ILLEGAL, even on clean install

  • 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
        other times.


    I had issues Uncaught-syntaxerror-unexpected-token-illegal

    was not able to do configurations of the widgets in wp 3.9
    was not able to access the set-options page
    was not able to switch the accessible mode

    btw .- see the page: – a non profit page: it is BETA-BETA

    btw – the magic_quotes_gpc, magic_quotes_runtime, are not set off
    do you think that this may help.

    i would be happy to hear from you


    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 2 replies - 1 through 2 (of 2 total)
  • hello here some more findings:

    i ame not able to do many things under dashboard.

    Guess that the issue is not arisen due to jQuery itself.
    It’s due to inappropriate calling of jQuery by plugins and/or themes violating WordPress plugins/themes development standard.

    Moderator Jan Dembowski


    Brute Squad and Volunteer Moderator

    Off topic: say_hello? Could you please stop creating and replying to multiple topics about the samething? I’ve deleted that other duplicate topic.

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