Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • ftwent Friend
    #155601

    Ja Olyra give me this error:

    Warning: Invalid argument supplied for foreach() in /public/sites/www.verjaardagsplanner.nl/templates/ja_olyra/ja_menus/Base.class.php on line 159

    how can i fix it.

    thanks for your time.

    Sherlock Friend
    #364232

    Dear ftwent,

    In the same file around line 159, look or search for this code :

    foreach ($rows as $index => $v) {

    Replace it with

    if(!is_array($rows)) $rows = array();
    foreach ($rows as $index => $v) {

    let us know if it works for you.

    pros2011 Friend
    #429901

    <em>@Dat Hoang 205271 wrote:</em><blockquote>Dear ftwent,

    In the same file around line 159, look or search for this code :

    foreach ($rows as $index => $v) {

    Replace it with

    if(!is_array($rows)) $rows = array();
    foreach ($rows as $index => $v) {

    let us know if it works for you.</blockquote>

    THANKS. It can solve the problem. : – )

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

This topic contains 3 replies, has 3 voices, and was last updated by  pros2011 12 years, 5 months ago.

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