Man sometimes WordPress can be frustrating. I recently upgraded my blog to the newest version and started getting a Warning: Invalid argument supplied for foreach() on each page. The string continues with a bunch of other junk and ends by pointing to (ending with) class-wp-admin-bar.php. After much searching and a variety of fairly complex posts telling me to change user roles and edit PHPmyAdmin bla bla bla I found a very simple solution. Apparently the newest version of Word Press adds a new toolbar in your admin area at the top which is supposed to help you navigate. Kind of fancy, kind of fricking annoying.
Clearly I’m no WordPress Pro and I know very little php so when all of a sudden I could no longer install plugins through the admin console I was pretty frustrated. I hate having to use FTP so I started searching for a solution. Almost every post on plugin errors were different issues than mine but eventually I found a solution. Hopefully it will help a few of you. If so, please take the time to post and if you have a different fix please share it.