Invalid argument supplied for foreach() in includes/functions_vbseo.php on line 1062
I'm getting this in an error log. Any advice please?
This is a discussion on Invalid argument supplied within the Troubleshooting forums, part of the vBSEO Google/Yahoo Sitemap category; Invalid argument supplied for foreach() in includes/functions_vbseo.php on line 1062 I'm getting this in an error log. Any advice please?...
Invalid argument supplied for foreach() in includes/functions_vbseo.php on line 1062
I'm getting this in an error log. Any advice please?
Please try to modify functions_vbseo.php file:
FIND:ADD ABOVE:PHP Code:foreach($catarr as $cid=>$carr)
PHP Code:if(is_array($catarr))
Oleg Ignatiuk / Crawlability Inc.
Security bulletin - Patch Level for all supported versions released
Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!
Oleg, I have 2 entries - do I add it above both or just one?
Code:if(is_array($catarr)) foreach($catarr as $cid=>$carr) { $g_cache['blogcat'][$cid] = $carr; } if(is_array($categories)) foreach($categories as $bid=>$catarr) foreach($catarr as $cid=>$carr) if($carr['blogcategoryid'])
In the second case only.
Oleg Ignatiuk / Crawlability Inc.
Security bulletin - Patch Level for all supported versions released
Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!
thanks I will let you know how I get on.
Just an update to let you know that everything is fine now following the modification above - thanks
Great!
Oleg Ignatiuk / Crawlability Inc.
Security bulletin - Patch Level for all supported versions released
Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!