Notice: Trying to get property of non-object in /home/optimi30/public_html/amfcool/_applications/app_amfcool/festival.php on line 5

Notice: Trying to get property of non-object in /home/optimi30/public_html/amfcool/_applications/app_amfcool/festival.php on line 6

Fatal error: Uncaught exception 'PDOException' with message '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 headliner = 1 ORDER BY RAND()' at line 3' in /home/optimi30/public_html/amfcool/_system/_server/_libraries/DATABASE.class.php:994 Stack trace: #0 /home/optimi30/public_html/amfcool/_system/_server/_libraries/DATABASE.class.php(994): PDO->prepare('SELECT *\n\t\t\t\tFR...') #1 /home/optimi30/public_html/amfcool/_system/_server/_libraries/DATABASE.class.php(490): Database->__request() #2 /home/optimi30/public_html/amfcool/_system/_server/_libraries/DATABASE.class.php(279): Database->exec() #3 /home/optimi30/public_html/amfcool/_system/_server/_traits/ClassMorph.trait.php(27): Database->query('SELECT *\n\t\t\t\tFR...', NULL, NULL, NULL, NULL) #4 /home/optimi30/public_html/amfcool/_applications/app_amfcool/_architecture/_models/festival.class.php(43): DB1::__callStatic( in /home/optimi30/public_html/amfcool/_system/_server/_libraries/DATABASE.class.php on line 994