I am getting Invalid argument supplied for foreach() error when I logged in through Editor and Author user access.
Error gives below paths
/wp-content/plugins/wordpress-starter/core/Pages/Themes.php on line 191
/public_html/wp-includes/functions.php on line 6821
]]>Warning: Invalid argument supplied for foreach() in /homepages/9/d684373589/htdocs/clickandbuilds/MacPro/wp-content/plugins/quiz-cat/includes/quiz/quiz.php on line 34
]]>Code needs to be updated to accommodate newer versions of PHP.
]]>I get the following info in the widget view :
Warning: Invalid argument supplied for foreach() in /public_html/wp/wp-content/plugins/g-business-reviews-rating/widget.php on line 491
Not reviews or ratings exist.
Whats wrong?
]]>I was not receiving this error when hosting on siteground. I tried to uninstall and reinstall the plug in. My siteground subscription ends tonight (and then this url will become acowancreations, dont know if that matters).
I am getting this error
Warning: Invalid argument supplied for foreach() in /home1/acowancr/public_html/wp-content/plugins/image-caption-hover/cpt_inc/render_shortcode.php on line 17
Warning: Invalid argument supplied for foreach() in /wp-content/plugins/wp-statistics/includes/classes/class-wp-statistics-welcome.php on line 56
~ Corey
]]>Warning: Invalid argument supplied for foreach() in C:\inetpub\wwwroot\wp\wp-includes\update.php on line 311
Warning: Invalid argument supplied for foreach() in C:\inetpub\wwwroot\wp\wp-includes\update.php on line 315
I checked the support forum and tried adding the (array) in front of the foreach as suggested and it created another issue. I tried, as suggested, coping another update.php from a working site. Neither made a difference.
My site, such as it is, is https://apps.prospectusberco.org/wp/.
Any solutions would be greatly appreciated.
]]>I am working on website https://newsite.youracp.org
I use builder Itheme
I try to custome a module , footer module to be full with ,
I added a code in function.php on of the theme
But now I got this error :
Parse error: syntax error, unexpected ‘foreach’ (T_FOREACH) in /home/youracp/public_html/newsite/data/themes/Builder-Custom/functions.php on line 23
I deleted the code in this fucntion.php but I still have the error.
ANy help welcome.
cheers
]]>Warning: Invalid argument supplied for foreach() in /public_html/subdomains/sandbox/wp-content/plugins/wp-slimstat/wp-slimstat.php on line 691
Deactivating and reactivating the plugin does not fix the problem. If I delete the plugin and it’s data then the error is resolved but I don’t want to do this on my live site. Any ideas what is causing this and how I can possibly fix it?
https://www.ads-software.com/plugins/wp-slimstat/
]]>foreach ($jaki as ) {
[0];
[1];
$value = ;
$key = ;
$ic = $i++;
}
Code 2:
smart_meta( $pid, 'my_nama_opsis' );
$jaki = ;
$i = 215;
Code 3:
foreach ($data as ) {
[0];
$item = ;
$hash = '';
foreach ($group_fields as ) {
[0];
$field = ;
$item[$field];
$hash .= ;
}
How I can fix that error?
I dont have much knowledge about php.