• Resolved wofo

    (@wofo)


    I have two issues with my WordPress website:

    1. The widget editor is unresponsive: it is impossible to edit widgets, drag and drop doesn’t work.
    2. The article/page editor is unresponsive: instead of the editor, I see just a html textarea. Furthermore, the font color is white, so I cannot see the text unless I select it.

    After opening the widget editing view (wp-admin/widgets.php) with Chrome’s developer tools, I observed the following errors:

    1. Uncaught SyntaxError: Invalid or unexpected token (load-scripts.php)
    2. Uncaught SyntaxError: Invalid or unexpected token (wp-tinymce.php)

    I have tried the following, yet nothing worked:

    1. Disabling and deleting all plugins
    2. Disabling and deleting all themes, except Twenty Seventeen
    3. Switching between PHP 7.1 and PHP 5.6
    4. Migrating the website from the server to my laptop in order to test locally
    5. Reinstalling WordPress from the admin panel
    6. Reinstalling WordPress manually

    I don’t know what to do anymore. Any suggestions?

    • This topic was modified 8 years, 8 months ago by wofo.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Uncaught SyntaxErrors in generated JavaScript code’ is closed to new replies.