I'm getting this error on the edit categories page:
Warning: Invalid argument supplied for foreach() in /wp-content/plugins/wp-category-meta/wp-category-meta.php on line 461
Any idea what's up?
I'm getting this error on the edit categories page:
Warning: Invalid argument supplied for foreach() in /wp-content/plugins/wp-category-meta/wp-category-meta.php on line 461
Any idea what's up?
On line 451, you should see the following code:
if(!is_null($metaList) && count($metaList) > 0 && metaList != '')
If you are running php5, you can replace it with the following:
if(!empty($metaList))
Had the same issue as well. It appears that the check for null values doesn't work properly and lets an empty value slip by, causing the attempt to loop through it to throw an error. Hope this helps.
Great working now.
Hello,
Thank you for the fix.
I integrated it into the new version.
Regards,
Eric Le Bail
This topic has been closed to new replies.