Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 142888

Mysterious PHP errors after site migration (Warning: Invalid argument )

$
0
0

Replies: 0

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

  • This topic was modified 10 minutes ago by  anonymical7.

Viewing all articles
Browse latest Browse all 142888

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>