• I upgraded to WordPress 4.0 and now when I go to add a post, when I click on “Add Media” or any button/link nothing happens. I was told to turn on debugging to see if that fixed the issue. I turned on script debugging and it solved the problem. So now I’m confused and am not sure exactly what is wrong. I went through and even deactivated all my plugins and still had the problem.

Viewing 10 replies - 16 through 25 (of 25 total)
  • Thread Starter ljhiser

    (@ljhiser)

    I deactivated all my plugins and changed the theme to twentyfourteen and I’m still having the problem.

    I’m going to try a fresh install of 4.0 in the morning since my ftp is being a little weird right now. Will let you know if that helps or not.

    Thread Starter ljhiser

    (@ljhiser)

    Ok. Just reinstalled everything except my wp-content folder. Still having the problem. It’s not just on the add new post page. It’s on almost everything I try to click. On the widgets page it won’t let me drag and drop anything and even on the sidebar in the admin panel, the submenu hover options aren’t showing.

    Still getting these errors in chrome

    Uncaught SyntaxError: Unexpected token ILLEGAL load-scripts.php:987
    Uncaught ReferenceError: Backbone is not defined notes-common-v2.js?ver=3.1.1-201436:32
    Uncaught ReferenceError: _ is not defined admin-bar-v2.js:2
    Uncaught ReferenceError: inlineEditPost is not defined edit.php:247

    The theme I’m using is one called Alegria. Everything still only seems to work when i turn script debugging on

    Comprehensive Google Map Plugin stopped the Add Media button working on one of the blogs on my multisite

    I had the same problem with the Add Media button.

    I disabled “Comprehensive Google Map” Plugin and it works again now, thx JStallard !!!

    ??

    After update of my all in one seo pack plugin everything is fine.

    Thanks for all your help

    Thread Starter ljhiser

    (@ljhiser)

    Hi!

    I’m still having the issue after re-installing, turning off all plugins and even reverting back to twentyfourteen theme.

    It only seems to work when I turn on script debugging. I’m not quite sure what to do at the moment.

    Thanks for any help.

    Thanks, jstallard. I disabled this plugin and the media upload button works once more. I’ll contact the developer separately.

    We’ve been having the problem with the Add Media (and the hyperlink) buttons not working ever since 4.0. I’ve tried removing all plugins and themes, and even installing a pure, untouched vanilla installation and have the same problem.
    It fails on both our production server and local dev machines.

    The edit post page throws

    Uncaught ReferenceError: Backbone is not defined(anonymous function) @ load-scripts.php?c=0&load[]=hoverIntent,common,admin-bar,heartbeat,autosave,wp-ajax-response,jquery…:568

    Adding define('SCRIPT_DEBUG', true); to wp-config.php solves the issue, presumably because the js files are not concatenated. It appears that when concatenated, the JS refers to Backbone before it is defined.

    I’ve been installing all the upgrades hoping this issue would be addressed. What affects the ordering of concatenated JS files?

    Edit function.php file in your theme folder and just remove “?>” at the end of the file it will fix the problem….

Viewing 10 replies - 16 through 25 (of 25 total)
  • The topic ‘Add Media Button, etc Not Working after Update’ is closed to new replies.