standard installation with wrong query
-
WordPress database error: [Unknown column 'publish' in 'where clause']
SELECT COUNT(DISTINCT ID) FROM wp_posts WHERE 1=1 AND (post_status = "publish" OR post_author = 1 AND post_status != 'draft' AND post_status != 'static') AND post_status != "attachment"
Hello,
I tried to install the standard installation of WordPress,
all went fine.
But using it, or going to the manage section in the admin area, causes this db error.Is this a bogus, has anybody a fix,
will there be an update.
Or what the hell seems to be the problem with this query?
Tried to run it directly run in under MySQL with correct quotes and it workes.So does anybody know which file which line (hoho) this query is, so i can fix it, or has anybody an idea at all.
Would be very kind to get some response,
though I`ve seen several question for similar problems, with no answers at all.
The topic ‘standard installation with wrong query’ is closed to new replies.