Warning: Invalid argument supplied for foreach

Closed24741HighAnivia Theme WP
Profile Reply
paroladimamma Client

I have a problem with the footer of Anivia theme.
Appear this phrase: Warning: Invalid argument supplied for foreach() in …  on line 18


User Description Posted On
Shindiri Support team Administrator


Here is the fix for your issue, try to find and change footer.php file:

in line 18 in this code:

foreach ( $anivia_data['footer_counts']['enabled'] as $n => $t ) :

above it add the following:


and in line 68, make it look like this:

<?php endforeach; }?>

Best regards,
Shindiri Studio | http://www.shindiristudio.com/

× This ticket is closed.