error on empty WordPress (4 posts)

  1. mariuss
    Posted 11 years ago #

    I just installed WordPress (1.2.1) and after deleting the orginal post I get an error on the right hand side:

    Warning: Invalid argument supplied for foreach() in .../wp-includes/template-functions-category.php on line 304

    Not a big deal, just wanted to report this.

  2. XeroCool
    Posted 11 years ago #

    Make sure you have at least one post or you will get a error. It isn't reading no posts from no categories.

  3. mariuss
    Posted 11 years ago #

    Yes, I know, but it is still a bug.

  4. James Huff
    Support Team Rep.
    Posted 11 years ago #

    But then again, it's not an important bug. ^_-
    After all, you just need one category and one post in that category to avoid seeing that. Not many people leave their blogs blank for too long.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.