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 'AND status = 1 ORDER BY id DESC' at line 1 in /home/educationexpo/domains/educationexpo.tv/public_html/config/config.php:109
Stack trace:
#0 /home/educationexpo/domains/educationexpo.tv/public_html/config/config.php(109): PDOStatement->execute()
#1 /home/educationexpo/domains/educationexpo.tv/public_html/functions/common.php(221): dbClass->getData()
#2 /home/educationexpo/domains/educationexpo.tv/public_html/film-festival/workshop-details.php(16): Common->getworkshopByID()
#3 {main}
thrown in /home/educationexpo/domains/educationexpo.tv/public_html/config/config.php on line 109