• I am getting the following error message at the top of my blog, dose anyone know what it could be?

    WordPress database error: [Unknown column ‘view_count’ in ‘field list’]
    SELECT view_count FROM wp_posts WHERE ID=37

    WordPress database error: [Unknown column ‘user_count’ in ‘field list’]
    SELECT user_count FROM wp_posts WHERE ID=37

    WordPress database error: [You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ‘WHERE ID=37’ at line 1]
    UPDATE wp_posts SET view_count=1, user_count= WHERE ID=37

Viewing 1 replies (of 1 total)
  • Plugin error. view_count is not a default column in the posts table. You must have some sort of stats plugin that is using that column… check with the plugin author about a solution.

Viewing 1 replies (of 1 total)

The topic ‘WordPress database error’ is closed to new replies.