squibm
El Presidente
Just Getting Started
Member Likes (0)
Hi:
I just noted that Global adminbar was causing my pages to take 10+ seconds to load - because it was missing and caused a 404 error to invoke. When I found it missing (apparently deleted during some past upgrade), I replaced it with an old version from my backup. I have followed the suggested upgrade schema for the plugin.
Now the file load causes a 3+ seconds to load each page on the entire set of sites on the network. This is a killer for my users and search rank.
I'd really like to disable it!
Found the old "hey comment out this line" - but this no longer seems possible with the current versions.
How can I disable this - preferably without editing the theme which will break all future upgrades?

Responses (6)
WPMU DEV Fanatic (joined October 2009) Likes (0)
Hi squibm,
That feature of the theme should definitely not be causing a delay like that. It's possible there's a conflict causing that delay, especially if you've got a plugin affecting the admin bar, have you looked into that?
You could also check your error logs, which I would think should lend a clue as to what's occurring.
It would require an edit to the theme to disable the feature, but it'd be best to find where that conflict's occurring.
-David
Geeky Developer (joined June 2009) Likes (0)
hi squibm
if you're using the latest version of blogs-mu, there's no need to include global-adminbar.php
*deprecated in later version
since it will do the work inside functions.php
remember to update the mu-plugin/bp-global-adminbar-css.php also if you're on multisite.
cheers
Member (joined August 2010) Likes (0)
Thanks. Believe it or not getting it down to a 3 second delay was an upgrade!
I first found the issue when I discovered that some upgrade apparently deleted the file. Subsequently, each load from any page on the site network triggered the 404 handler on every page load. This was causing a 10 second delay for every page on every site!
When I searched for the offending plugin, I suspected plugins-mu ->global admin bar and deleted it.
No luck. Every sub page on every blog still tries to load that silly admin bar!
So as a work-around I re-created the file with empty php contents: <?php ?>
Any idea how I can figure out who's causing it to try to load?
Member (joined August 2010) Likes (0)
Correction... I think deleting the mu-admin bar eventually kicked in. My server must have restarted and It doesn't appear to be causing the same issue. I deleted the stub, and it doesn't appear to load anymore.
Member (joined August 2010) Likes (0)
Here is the image showing no more delay.
Member (joined August 2010) Likes (0)
Closing issue.
Become a member