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

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

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 MySQL 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(41): DB1::__callStatic('query', Array) #5 /home/opt in /home/optimi30/public_html/amfcool/_system/_server/_libraries/DATABASE.class.php on line 994