• Resolved ricbax

    (@ricbax)


    I get the following error in the categories section:
    Categories:
    Warning: Invalid argument supplied for foreach() in r:\directory\wp-includes\template-functions-category.php on line 304
    * No categories
    There are 3 categories entered in this section though.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter ricbax

    (@ricbax)

    Well I have figured out why that error happens. A similar error comes up on line 21 of wp.php. If you delete the first post “Hello World” then these errors arise. Is any one fixing this so it is a bit cleaner? I know the blog will be full and you will never see this again once you start blogging but it could throw some one off a bit if they delete the initial post.

    Maybe the wording “You should add an entry of your own, before you delete this one,” should be added to it.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Categories Error????’ is closed to new replies.