You have an issue that is specific to your site – not WordPress. Have you tried:
– deactivating all plugins to see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s).
– switching to the default theme to rule out any theme-specific problems.
– resetting the plugins folder by FTP or PhpMyAdmin. Sometimes, an apparently inactive plugin can still cause problems.
– re-uploading all files & folders – except the wp-content folder and wp-config.php & root .htaccess files – from a fresh download of your current version of WordPress. Make sure that you delete the old copies of files & folder before uploading the new ones.
I have had this same issue (load-scripts.php:88) when editing a post. Removed all plugins and widgets. Changed themes. Even removed plugins folder. Same issue. 3.9.1.
Oh, also, line 88 of load-scripts.php is blank.
Thread Starter
L.Cini
(@lcini)
did you ever find a fix? I’m going mad trying to fix this. its so random. I’ve had other people login and they don’t have the issue. What gives here?
if you ever find a solution I’d be happy to hear it.
I change themes and everything works but other people who log in for me to try it dont have issues.
I never found a fix. Randomly, it works (I don’t get that error), and I can continue editing posts and switching between text and view modes. But most of the time it throws the error, and basically the impact is that no page events are fired (it appears the error is short-circuiting the loading of jQuery on the page).
Very frustrating.
I don’t have this issue with other sites I have, and I don’t appear to have this issue when running the site locally from my own PC. I’ve turned off all Chrome extensions, but I do have this same problem in all browsers, so that was a wasted effort.
I’ve turned off all plugins and widgets, and went back to the past three default themes (2012, 2013, 2014), but the issue remains. As I mentioned above, I’ve even tried removing the entire plugins folder to ensure nothing was loaded to no avail.
Because this PHP script (load-scripts.php) is used for loading *all* scripts on the page, it’s extremely hard to trap and debug.
I found a temporary solution explained here: http://ww.wp.xz.cn/support/topic/wp-28-jquery-error
Basically, add one of these to your wp-config.php file:
define(‘CONCATENATE_SCRIPTS’, false );
– or –
define(‘SCRIPT_DEBUG’, true);
This will avoid the attempted concatenation or load the full (non-minified) versions of the JavaScript files used on the site, respectively, specifically for the admin page. Will hurt performance a bit, but it’s not noticeable.
You guys are not alone. I have the exact same error and issues along with the error. The load-scripts.php error line 88 causes me to not be able to switch between text and visual tabs. I can’t add shortcodes. I’ve tried deactivating plugins ands and reinstalling wordpress. I will try the fix above and let you know how it goes. Thanks!
Ok, so I just added this script to my wp-config file and now my problem has been solved!! Thanks so much Mark Freedman!!
Add this to wp-config
define(‘CONCATENATE_SCRIPTS’, false );
Almost the same problem here, not the line 88 but another one, and the effect was to freeze the Dashboard widgets and the Info and Help panels.
I tried to figure what was the problem without success… Adding the “Concatenate” line in “Config” did solve the problem, but I don’t like patch…
If anyone find the source of the problem, please tell us. Thanks.
Same here. Patch worked, but a fix would be much better.
For everyone still having this issue and where CONCATENATE_SCRIPTS is no (full) solution I have two additional causes to look for:
1. disable your ad blocker
Especially for those using ad plugins it might happen that the ad blocker also blocks scripts in the backend. since the script are concatenated it might lead to problems.
2. check for plugins / features that return many items
I ran into this issue a couple of times already when I used a plugin that is – e.g. on post edit screens – trying to query many items. E.g. a plugin returns all categories, tags or even posts for whatever reason. If you have 1 mio posts (like I had) or a couple of thousand automatically generated tags (like a cliend had) these functions often break. There is no solution to this other to ask the developer to set a limit to such requests.
Thank you Thomas. You may very well have a point — I do use an ad blocker. I can’t really test it now, though, because after I removed the define(‘CONCATENATE_SCRIPTS’, false); line from my config file, it still worked. So I’m guessing a recent WordPress update solved any conflict with ad blockers.
I also now turned off the ad blocker on my domain. Glad I can now take advantage again of the performance gains from concatenating the scripts.
Thanks.