WordPress.org

Ready to get started?Download WordPress

Forums

upgrade to .72 calendar problems (3 posts)

  1. Anonymous
    Unregistered
    Posted 10 years ago #

    Warning: Invalid argument supplied for foreach() in /home/thekiwi/public_html/b2/b2calendar.php on line 148
    i keep getting that on my main page
    http://www.thekiwi.com

  2. Anonymous
    Unregistered
    Posted 10 years ago #

    here is line 148:
    if ($wpdb->num_rows > 0) {
    $daysinmonthwithposts = '-';
    foreach ($arc_results as $arc_row) { (148)
    $daysinmonthwithposts .= $arc_row->dom.'-';
    }
    $calendarmonthwithpost = 1;
    } elseif ($calendar != '') {
    $daysinmonthwithposts = '';
    $calendarmonthwithpost = 1;
    } else {
    $thismonth = zeroise(intval($thismonth)-1,2);
    if ($thismonth == '00') {
    $thismonth = '12';
    $thisyear = ''.(intval($thisyear)-1);
    }
    }
    i have repaired the tables and optimised them as well

  3. bigmoose
    Member
    Posted 10 years ago #

    ok, now my site is not showing the comments, or a few of the other php includes
    i have upgraded from .71 to .72 today

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.