Im using a plugin called Encyclopedia Pro to create a Glossary. Im using with the theme Soledad (Premium). On plugin user pages in getting: Warning: Invalid argument supplied for foreach() in /home/******/public_html/*****/wp-content/themes/soledad/functions.php on line 1190 The line 1190 from functions.php has: foreach ( ( get_the_category() ) as $category ) { Im paying 5$ bucks with paypal for who solves this first.
It's a warning, unless it breaks anything, then just suppress it. foreach ( ( @get_the_category() ) as $category ) { Place the @ in front, should in theory solve it. The () seems to be unnecessary, you should be able to live with foreach( @get_the_category() AS $category )