WHILE EXECUTING: SELECT * FROM pages WHERE show_in_menu = 'yes' AND parent_page_id= ORDER BY menu_order ASC

FATAL MYSQL 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 'ORDER BY menu_order ASC' at line 8