[wp-trac] [WordPress Trac] #3750: last comment error

WordPress Trac wp-trac at lists.automattic.com
Mon Feb 5 10:23:59 GMT 2007


#3750: last comment error
----------------------------+-----------------------------------------------
 Reporter:  megonal         |       Owner:  anonymous
     Type:  defect          |      Status:  new      
 Priority:  low             |   Milestone:  2.3      
Component:  Administration  |     Version:           
 Severity:  normal          |    Keywords:           
----------------------------+-----------------------------------------------
 Last comment list...
 Error..
 what is problem...

 Error code :
 ----------
 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 '* FROM LEFT JOIN ON .ID=.comment_post_ID LEFT JOIN ON .post_]
 SELECT DISTINCT .* FROM LEFT JOIN ON .ID=.comment_post_ID LEFT JOIN ON
 .post_ID=.comment_post_ID WHERE (post_status = 'publish' OR post_status =
 'static') AND comment_approved= '1' AND post_password = '' AND category_id
 != '2' AND category_id != '1' AND comment_type = '' ORDER BY comment_date
 DESC LIMIT 5
 ---------

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


More information about the wp-trac mailing list