Opened 10 years ago
Closed 10 years ago
#15310 closed defect (bug) (worksforme)
orderby and order clause broken in query_posts on v.3.0.1
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | major | Version: | 3.0.1 |
Component: | Query | Keywords: | reporter-feedback |
Focuses: | Cc: |
Description
[03-Nov-2010 19:38:53] 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 'menu_order ASC LIMIT 0, 7' at line 1 for query SELECT SQL_CALC_FOUND_ROWS wp_posts.* FROM wp_posts WHERE 1=1 AND wp_posts.post_type = 'page' AND (wp_posts.post_status = 'publish' OR wp_posts.post_status = 'private') ORDER BY ,menu_order ASC LIMIT 0, 7 made by require, require_once, include, query_posts, WP_Query->query, WP_Query->get_posts
Change History (3)
Note: See
TracTickets for help on using
tickets.
Did you try disabling all plugins and switching to the twentyten theme?