Warning: Invalid argument supplied for foreach() in /home/nostatus/public_html/wp-includes/classes.php on line 1535
I really can't work this out. I go to write a post on my website today and I see this. I am using the latest version of WP (2.0.3) and nothing would load up (I viewed page source and it showed html and a bit of the head and title tags.
I decided to rollout a backup. I reinstalled the source code. I tried to login forst and it sent me to /wp-admin/upgrade.php which I ran and there was no error.
When I log in I also get:
Warning: Invalid argument supplied for foreach() in /home/nostatus/public_html/wp-includes/capabilities.php on line 19
Warning: Cannot modify header information - headers already sent by (output started at /home/nostatus/public_html/wp-includes/capabilities.php:19) in /home/nostatus/public_html/wp-includes/pluggable-functions.php on line 325
Warning: Cannot modify header information - headers already sent by (output started at /home/nostatus/public_html/wp-includes/capabilities.php:19) in /home/nostatus/public_html/wp-includes/pluggable-functions.php on line 326
Warning: Cannot modify header information - headers already sent by (output started at /home/nostatus/public_html/wp-includes/capabilities.php:19) in /home/nostatus/public_html/wp-includes/pluggable-functions.php on line 288
Any help would be greatly appreciated, I have spent all day looking for an answer to this. I promise I have not been lazy. I noticed some posts in here regarding the error on line 1535 had "[resolved]" prefixed to the title post but I didn't see a solution :(
Also when I click on the post titles, it throws a 404 error as with the pages and categories :(
MY website can be seen to be dead at www.nostatus.com.