test
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • fmedia Friend
    #150214

    i added the top banner in the spot where the search module was before.

    though i randomly sometimes receive this error
    Warning: Invalid argument supplied for foreach() in /home/znanost/public_html/modules/mod_banners/tmpl/default.php on line 9

    any ideas what could be the problem?

    website is http://www.znanost.com

    thank you

    Saguaros Moderator
    #339600

    Dear fmedia!

    i could not see the problem on your site, but you can fix this issue by the following way

    open the file /home/znanost/public_html/modules/mod_banners/tmpl/default.php and find codes:

    [PHP]
    foreach($list as $item) :
    [/PHP]

    replace:

    [PHP]
    if( !is_array($list) ) { $list = array(); }
    foreach($list as $item) :

    [/PHP]

    Good luck

Viewing 2 posts - 1 through 2 (of 2 total)

This topic contains 2 replies, has 2 voices, and was last updated by  Saguaros 14 years, 8 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum