Make WordPress Core

Opened 18 years ago

Closed 18 years ago

Last modified 18 years ago

#4724 closed defect (bug) (worksforme)

SQL error on Write post page

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

Description

I get the follow MySQL errors below the menu, but above the title box.

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 ') AND post_author != '1' ORDER BY post_modified ASC' at line 1]
SELECT ID, post_title, post_author FROM metagal_posts WHERE post_type = 'post' AND post_status = 'pending' AND post_author IN () AND post_author != '1' ORDER BY post_modified ASC

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 ') AND post_author != '1' ORDER BY post_modified DESC' at line 1]
SELECT ID, post_title, post_author FROM metagal_posts WHERE post_type = 'post' AND post_status = 'draft' AND post_author IN () AND post_author != '1' ORDER BY post_modified DESC

All plugins are disabled.

Change History (3)

#1 @Viper007Bond
18 years ago

Doesn't appear on the edit post page or anywhere else from what I can tell.

#2 @Viper007Bond
18 years ago

  • Keywords needs-patch removed
  • Milestone 2.3 (trunk) deleted
  • Resolution set to worksforme
  • Status changed from new to closed
  • Version 2.3 deleted

Working now. Dunno if recent SVN changes fixed it, if it was some caching issue, or what.

#3 @markjaquith
18 years ago

Was likely broken by [5858], fixed by [5860] and [5861]

Note: See TracTickets for help on using tickets.