• golfer6934

    (@golfer6934)


    All,

    I’ve seen related posts to this problem, but none of the posts have given me a solution. My post editor will not allow me to pull up the Add Media lightbox, nor can I toggle between plain text and WYSIWYG.

    The following appears in the developer console:

    jquery.js:6 Uncaught SyntaxError: Unexpected end of input
    jquery-migrate.min.js:2 Uncaught SyntaxError: missing ) after argument list
    core.min.js:11 Uncaught SyntaxError: Unexpected token ILLEGAL
    widget.min.js:11 Uncaught ReferenceError: jQuery is not defined
    position.min.js:11 Uncaught ReferenceError: jQuery is not defined
    tooltip.min.js:11 Uncaught ReferenceError: jQuery is not defined
    tooltip_init.min.js:1 Uncaught SyntaxError: Unexpected token ILLEGAL
    /wp-includes/js/wp-emoji-release.min.js?ver=4.4.2:4 Uncaught SyntaxError: Unexpected token ILLEGAL
    load-scripts.php:30 Uncaught SyntaxError: Unexpected token ILLEGAL
    js.js:228 Uncaught SyntaxError: Unexpected token ILLEGAL
    selectize.min.js:3 Uncaught SyntaxError: Unexpected token ILLEGAL
    admin-global.js:49 Uncaught SyntaxError: Unexpected token ILLEGAL
    wp-seo-metabox-302.min.js:1 Uncaught SyntaxError: Unexpected token ILLEGAL
    post-new.php:112 Uncaught ReferenceError: jQuery is not defined
    post-new.php:242 Uncaught ReferenceError: jQuery is not defined
    load-scripts.php:404 Uncaught SyntaxError: Unexpected token ILLEGAL
    wp-seo-admin-global-302.min.js:1 Uncaught SyntaxError: Unexpected token ILLEGAL
    wp-seo-admin-media-302.min.js:1 Uncaught SyntaxError: Unexpected token ILLEGAL
    yoast-seo-307.min.js:6 Uncaught SyntaxError: Unexpected token ILLEGAL
    wp-seo-post-scraper-305.min.js:1 Uncaught ReferenceError: jQuery is not defined
    wp-seo-replacevar-plugin-302.min.js:1 Uncaught SyntaxError: Unexpected token ILLEGAL
    jquery.qtip.min.js:4 Uncaught SyntaxError: Unexpected token ILLEGAL
    wp-seo-featured-image-302.min.js:1 Uncaught SyntaxError: Unexpected token ILLEGAL
    shortcode-ui.min.js:1 Uncaught SyntaxError: Unexpected token ILLEGAL
    post-new.php:3378 Uncaught ReferenceError: QTags is not defined
    wp-tinymce.php:41 Uncaught ReferenceError: getUserSetting is not defined

    The jQuery functionality in the dashboard seems to be limited with other plugins, too.

    I really need help here…

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator Jose Castaneda

    (@jcastaneda)

    THEME COFFEE MONKEY

    Hi golfer6934!

    Does the editor work if you deactivate all your plugins and use a theme like Twenty Fifteen/Sixteen?

    estani

    (@estani)

    Hi golfer6934!

    Are you using a VM and sharing some directories from your host?
    If that’s the case you need to turn off sendfiles.

    Check this link: https://coderwall.com/p/ztskha/vagrant-apache-nginx-serving-outdated-static-files-turn-off-sendfile

    What happens is that the new file is different in size from the one that got cached by the system, and your server (nginx, apache) is not aware of that so is sending a truncated file or one with garbled info padded at the end.

    Digico Paris

    (@digico-paris)

    you could also configure jquery to load in lazy mode, by default it’s in normal mode trying to overgrow other dependencies

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Post Editor Quit Working – jQuery Won't Execute’ is closed to new replies.