Dashboard Ajax Not Working – Solution
-
Ok, this is now bending my brain. I noticed the other day that the Dashboard isn’t displaying the WP feeds: Dev Blog, News, Plugins & Links. Hangs on “Loading…”; but only on some sites. Others load as expected. When the feeds don’t load, the Ajax Screen Options check boxes have no effect and widget drag-and-drop doesn’t work. (These symptoms may be tied together—the options/drag doesn’t enable until the feed load completes.)
Don’t know exactly when this happened. There have been a few plugin updates recently and those are the likely culprits. Rolling back to earlier versions had no effect, however.
Background:
Two separate Multisite subdomain installs (A and B).
Primary blog on both A and B work as expected.
2 out of 4 Sub-blog Dashboards on install A work OK.
0 out of 6 Sub-blog Dashboards on install B work OK.
(Although I could swear that one did when I first began troubleshooting this.)
All are running different Themes.
Swapped-in a theme from a non-working site on one that works. Still loads feeds properly.
After trying sequentially, starting with the recent updates, and obtaining no positive results, deactivated all plugins on one site. No effect.
Looked for widgets on the frontend that are common to working or not working. No correlation and disabling one that is unique to one blog that doesn’t work had no effect.
Refreshed all Core files. No effect.
Checked with Firebug. Nothing looked odd.
Checked using IE7. Same non-operation.THEN, while writing this, something came to mind. While using Web Developer to check CSS and JS loading last night, I noticed that JQuery had been updated to 1.5. Hmmm, this has the ring of truth. I’m running Use Google Libraries as an mu-plugin. Deactivated it. Feeds load properly and Ajax works! I altered the code; limiting the JQuery version that it is loading to 1.4.x and the plugin now loads v1.4.4 and all of the blog dashboards work.
WHY this non-operation is not ubiquitous across all sub-blogs, only some, and why the primary blog works in all cases, is still a mystery that I’d love to understand.
Time to go check all of my other non-WP sites that load the CDN JQuery. …And they all work as expected. Only WP3.0.x is incompatible with the new JQuery, it seems.
Just thought I’d get this into the database, so that others might benefit.
- The topic ‘Dashboard Ajax Not Working – Solution’ is closed to new replies.