Fatal error: Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'ORDER BY oai.id ASC' at line 12 in /home/educationexpo/domains/educationexpo.tv/public_html/config/config.php:62
Stack trace:
#0 /home/educationexpo/domains/educationexpo.tv/public_html/config/config.php(62): PDOStatement->execute()
#1 /home/educationexpo/domains/educationexpo.tv/public_html/olympiads/functions/common.php(1228): dbClass->getAllData()
#2 /home/educationexpo/domains/educationexpo.tv/public_html/olympiads/mathematics-olympiad-enhance-your-skills.php(19): Common->getAllOlympiadAwardImagesWithDetails()
#3 {main}
thrown in /home/educationexpo/domains/educationexpo.tv/public_html/config/config.php on line 62