Notice: Trying to get property 'type' of non-object in /home/optimi30/public_html/amfcool/_applications/app_amfcool/performer.php on line 9

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 'ORDER by p.date_start' at line 5 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 a.*, p.d...') #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 a.*, p.d...', NULL, NULL, NULL, NULL) #4 /home/optimi30/public_html/amfcool/_applications/app_amfcool/_architecture/_models/performer.class.php(102): DB1::__callStatic('query', Array) #5 /home/optimi30/public_html/amfcoo in /home/optimi30/public_html/amfcool/_system/_server/_libraries/DATABASE.class.php on line 994