Database error: Invalid SQL: SELECT DISTINCT pages.id FROM pages, menuitems, items, contenttypes WHERE parent_id=18 AND pages.active=1 AND menuitems.active=1 AND items.page_id = pages.id AND items.active=1 AND contenttype_id=contenttypes.id AND contenttypes.active=1 ORDER BY pages.sorter
MySQL Error: 3065 (Expression #1 of ORDER BY clause is not in SELECT list, references column 'berthold_sc.pages.sorter' which is not in SELECT list; this is incompatible with DISTINCT)
Session halted.