• Hey all,

    I upgraded a week ago to 2.0 w/o any issues. I disabled the plugins (only running wordpress defauls). I haven’t changed anything since then. I didn’t get this error up until today:

    Warning: Invalid argument supplied for foreach() in /usr/home/disgruntleddutch/public_html/wp-includes/capabilities.php on line 19

    I googled the error and only found people that upgraded having issues and very often they didn’t kill their plugins. However this didn’t show up until a week afte the upgrade.

    The blog is working ok (from what it seems), however I’d like to get it setup error free.

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • It’s probably a plugin using an older user role system. You might check to see if there are newer versions of your plugins that have been upgraded for WP 2.0.

    The code that is causing the problem appears to occur in 2.0, it’s the only reference I have found to a prefix_user_roles table… There is a similiar thread at http://wordpress.org/support/topic/56400

    I have the same problem. Already solved it once, but can’t remember how. The solution in the other thread removes the warning, but when I log into the admin area, I still have “no rights”.

    I couldn’t disable plugins before database import because my initial server crashed badly.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Warning: Invalid argument supplied for foreach() on line 19’ is closed to new replies.