Mysterious PHP errors after site migration (Warning: Invalid argument )
-
Hi all, hoping the wizards of WordPress and php can help me solve these two php errors that just appeared.
Our site was migrated to a new server, it was working just fine before. A hosting company moved it for us. Suddenly these errors appeared and I want to understand what happened and how to fix it. A ***xo
I removed the url name for abuse issues. Heres the url to see the site live: https://tinyurl.com/zwfyjp9
Here are the errors:
Error one: is the on the site after you go in further.Warning: Invalid argument supplied for foreach() in /home/___________/public_html/wp-content/plugins/display-opencart-category/wpdocc_main.php on line 33
Error two: On the login page:
Warning: Cannot modify header information – headers already sent by (output started at /home/_______________/public_html/wp-content/themes/twentytwelve-child/functions.php:28) in /home/_______________/public_html/wp-login.php on line 394
Warning: Cannot modify header information – headers already sent by (output started at /home/_______________/public_html/wp-content/themes/twentytwelve-child/functions.php:28) in /home/_______________/public_html/wp-login.php on line 407
- The topic ‘Mysterious PHP errors after site migration (Warning: Invalid argument )’ is closed to new replies.