Please help. I have a Warning: Invalid argument supplied for foreach() in /home/ message at the bottom of every post and I don’t know how to remove it. I have tried deactivating the plugins and theme of my website but the warning is still there. Any help would be greatly appreciated. Thank you for your time.
Go in wp-config.php and set WP_DEBUG to false. define( ‘WP_DEBUG’, false);
Hi, Thank you for your answer. I am sorry to ask you again but this is new to me. Can you please tell me where to find wp-config.php? Is it located in Wordpress? Thank you
Can you please be more specific? I can’t figure out where the folder is and I really need your help. This is the error message I receive in the post:
Warning: Invalid argument supplied for foreach() in /home/password/public_html/nameofthewebsite/wp-content/themes/extranews/functions/extra-functions.php on line 1087
If you can explain me detailed step by step answers to get this problem fixed I would greatly appreciate it. Thank you again for your time