Fatal error: Uncaught exception 'Exception' with message '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 participant_type, participant_position' at line 1
select participant_type, participant_role, person_page_number, ifnull(participant_name, person_name) as participant_name from participants left join persons on participant_person = person_id where participant_piece = order by participant_type, participant_position' in /home/stadtthe/public_html/include/lib/Util.php:53
Stack trace:
#0 /home/stadtthe/public_html/include/lib/Util.php(163): Util::dbError('select particip...')
#1 /home/stadtthe/public_html/include/lib/Util.php(225): Util::dbQuery('select particip...')
#2 /home/stadtthe/public_html/include/PieceModule.php(81): Util::dbFetchAll('select particip...')
#3 /home/stadtthe/public_html/include/Page.php(56): PieceModule->__construct()
#4 /home/stadtthe/public_html/include/Page.php(23): Page::init()
#5 /home/stadtt in /home/stadtthe/public_html/include/lib/Util.php on line 53