Whats on line 169 within that file?
$wp_admin_bar->add_group( array(
Make sure you’ve read the entire Master List post and the New Features in 3.3 Post.
Go to your own install’s about page – http://domain.com/wp-admin/about.php – to see what’s new.
And then make sure you’ve tried…
– flushing any caching plugins you might be running, as well as server and/or browser caches.
– deactivating all plugins (yes, all) to see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s). If you can’t get into your admin dashboard, try resetting the plugins folder by FTP or PhpMyAdmin. Sometimes, an apparently inactive plugin can still cause problems. Also remember to deactivate any plugins in the mu-plugins folder. The easiest way is to rename that folder to mu-plugins-old
– switching to the Twenty Eleven theme to rule out any theme-specific problems. If you can’t log in to change themes, you can remove the theme folders via FTP so the only one is twentyeleven. That will force your site to use it.
– manually upgrading. When all else fails, download a fresh copy of the latest.zip file of 3.3 (top right on this page) to your computer, and use that to copy up. You may need to delete the wp-admin and wp-includes folders on your server. Read the Manual Update directions first!
I’m getting the same error. I read the message above, deactivated all of the plugins, manually upgraded the theme, cleared the cache. I switched to another theme and the message went away. Any idea why this doesn’t work on 5/6 wordpress sites I run?
Another issue (that’s probably related) is the widgets don’t open up… some js conflict?
Fatal error: Call to undefined method Custom_Admin_Bar::add_group() in /home/murray35/public_html/wp-includes/admin-bar.php on line 169
This error means some plugin or your theme is replacing the standard Admin_Bar class with some Custom_Admin_Bar one which is missing the add_group() method.
For example, this code snippet would cause exactly the same error:
http://pastebin.com/H2PuzzE3
In ww.wp.xz.cn directory, I have not found any plugins or themes doing this.
If disabling plugins didn’t help, I’d suggest searching for wp_admin_bar_class string in your theme files.