WordPress.org

Forums

SELECT * FROM categories WHERE cat_ID = '1' LIMIT 1 (2 posts)

  1. lukefreeman
    Member
    Posted 8 years ago #

    Hi,
    Just installed a new wordpress blog onto my Mac (localhost) and at the top of every page I get:
    WordPress database error: [Unknown column 'cat_ID' in 'where clause']
    SELECT * FROM categories WHERE cat_ID = '1' LIMIT 1

    and on the side bar:

    #
    Categories

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

    Warning: Invalid argument supplied for foreach() in /Users/lukefreeman/Documents/freemanconsulting/webserver/wp-includes/template-functions-category.php on line 321
    * No categories

    Any ideas?

  2. mackinaw
    Member
    Posted 8 years ago #

    me too...

Topic Closed

This topic has been closed to new replies.

About this Topic