WordPress.org

Ready to get started?Download WordPress

Forums

WordPress database error (5 posts)

  1. Eric Taylor
    Member
    Posted 9 years ago #

    Okay I get this message on my site http://www.eric-taylor.com in the categories area.

    WordPress database error: [Unknown column 'category_count' in 'field list']
    SELECT cat_ID, cat_name, category_nicename, category_description, category_parent, category_count FROM wp_categories WHERE cat_ID > 0 ORDER BY cat_ID asc

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

    Can anyone make any since of this, if so, can you please help me.

  2. skippy
    Member
    Posted 9 years ago #

    I see no such error. Did you do anything?

  3. xman12
    Member
    Posted 9 years ago #

    We're getting an error message on our sites as well. Anyone else? It's saying:

    Error establishing a database connection
    This either means that the username and password information in your wp-config.php file is incorrect or we can't contact the database server at localhost. This could mean your host's database server is down.

    Are you sure you have the correct username and password?
    Are you sure that you have typed the correct hostname?
    Are you sure that the database server is running?

  4. moshu
    Member
    Posted 9 years ago #

    xman12,
    that's a totally different error, absolutely not related to the topic you are trying to hijack :)

    Start your own topic in the Install section.
    And check 10 times the 4 pieces of info in your wp-config.php file...

  5. Eric Taylor
    Member
    Posted 9 years ago #

    ya, i have been gone so i couldn't reply. Ya I fixed it though. Some how the update.php was still the old one when i did I uploaded and updated, so ya, I figured that out, put the new one on, and updated and everything works.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags