Make WordPress Core

Opened 18 years ago

Closed 18 years ago

#4101 closed defect (bug) (fixed)

SQL error in wp-admin/users.php

Reported by: devil1591's profile devil1591 Owned by:
Milestone: 2.2 Priority: normal
Severity: normal Version: 2.2
Component: Administration Keywords:
Focuses: Cc:

Description

Here is the error in wp-admin/users.php :

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 '(post_status = 'publish' OR post_status = 'private')' at line 1]
SELECT COUNT(*) FROM wp_posts WHERE post_author = '1' AND post_type = 'post' (post_status = 'publish' OR post_status = 'private')

Change History (2)

#1 @MichaelH
18 years ago

Confirmed this error is happening at rev 5193

#2 @rob1n
18 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [5194]) Add AND. fixes #4101

Note: See TracTickets for help on using tickets.