joeltheo
Member
Posted 5 years ago #
Hi All,
I found a guide to moving my blog, and now have an error.
Warning: Invalid argument supplied for foreach() in /home/appozone/domains/appozone.com/public_html/wp-includes/capabilities.php on line 19
Warning: Invalid argument supplied for foreach() in /home/appozone/domains/appozone.com/public_html/wp-includes/classes.php on line 1535
I can login to the admin control panel, but if i click options or anything in the control panel i get an error. as above.
Can anyone here plz help me ?
Regards,
Joel
I found a guide to moving my blog, and now have an error.
C'mon, you can do better then that. More details...
joeltheo
Member
Posted 5 years ago #
OK in short it went like this:
Log into the WordPress Admin Control Panel,
Go to Options and update the URL of your blog to the new location.
Logout
Move wordpress files to the new location
----------------------
That is exactly what I did, I updated the URLs. Then after moving the blog I get the error mentioned above. I now can login to the first page of the admin cp, but can't go any further then that.
Regards,
Joel
Are you sure the database got moved ok? Sometimes these errors pop up in there's nothing in the records the foreach is calling...
Have a link to the guide you used?
I have same problem.
This can by in table encodyng. I don't know exactly, but:
1. Try change default charset (e.g. by phpMyadmin or SQL example ALTER TABLE wp_options DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci).
2. Try copy option_value value (table wp_options) from another virgin wordpress installation.