Support » Installing WordPress » SELECT * FROM categories WHERE cat_ID = ‘1’ LIMIT 1

  • lukefreeman

    (@lukefreeman)


    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?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘SELECT * FROM categories WHERE cat_ID = ‘1’ LIMIT 1’ is closed to new replies.