WordPress database error (2 posts)

  1. Colya
    Posted 10 years ago #

    Runing version 1.52 with K2 as my theme.

    I am receiving the following error under each post:

    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 meta_key = 'wp_user_level' AND meta_value > 1' at lin]
    SELECT COUNT(*) FROM WHERE meta_key = 'wp_user_level' AND meta_value > 1


  2. Kafkaesqui

    Posted 10 years ago #

    wp_user_level does not exist as a record in 1.5.2. It's part of the usermeta table, also lacking in that version.

    As the instructions for K2 note:

    Make sure you are running WordPress 2.0.

Topic Closed

This topic has been closed to new replies.

About this Topic