[wp-trac] [WordPress Trac] #4724: SQL error on Write post page

WordPress Trac wp-trac at lists.automattic.com
Fri Aug 10 10:51:48 GMT 2007


#4724: SQL error on Write post page
----------------------------+-----------------------------------------------
 Reporter:  Viper007Bond    |       Owner:  anonymous  
     Type:  defect          |      Status:  new        
 Priority:  normal          |   Milestone:  2.3 (trunk)
Component:  Administration  |     Version:  2.3        
 Severity:  normal          |    Keywords:  needs-patch
----------------------------+-----------------------------------------------
 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.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/4724>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list