WordPress.org

Support

Support » Installation » upgrade from b2 Problem / DB problem

upgrade from b2 Problem / DB problem

  • Had problem importing, so I added the extra info to the b2 table and swithced names in database from old one to wp_posts.
    Everything seems ok except for a few errors…
    I get this:
    ——————————————————————————–
    Filed under:
    Warning: Invalid argument supplied for foreach() in /path-to-my-blog/wp-includes/template-functions.php on line 1373
    — @ 2:36 pm
    ———————————————————————————
    It seems to be a problem with the categories… everything looks good in database… I’ve set all posts to 1 but still have this error.
    Should read like this…
    —————————————————-
    Filed under: General — admin @ 7:55 am
    —————————————————-
    Any body have similar problems that can help? or dev guys?
    thanks…
    rYno

Viewing 2 replies - 1 through 2 (of 2 total)
  • Also getting this error when I click on the post name and go into the individual posts page:
    Warning: Invalid argument supplied for foreach() in /home/rynoweb/www/www/blog/wp-blog-header.php on line 340
    this section of wp-blog-header.php is this:
    foreach ($dogs as $catt) {
    $category_cache[$catt->ID][] = $catt;
    }
    ——————————————————————————————-
    and the error in template_functions.php as posted previously above is this code:
    function the_category($seperator = ”) {
    $categories = get_the_category();
    hope that helps some of you to help me… 😉

    now i have to figure out how to get comments into the respective posts…. too tired tonight… will wait till morning….

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘upgrade from b2 Problem / DB problem’ is closed to new replies.