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 order_number' at line 1 in /var/www/html/parentshop/include/class_database.php:87 Stack trace: #0 /var/www/html/parentshop/include/class_database.php(87): PDO->query() #1 /var/www/html/parentshop/parent_association3.php(17): isl_database->database_query() #2 /var/www/html/parentshop/index.php(163): include('/var/www/html/p...') #3 {main} thrown in /var/www/html/parentshop/include/class_database.php on line 87