Oops.

Unexpected Exception: 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 'desc ORDER BY date_created desc' at line 1 in /home/customer/www/aviormarine.com/public_html/Project/1_Website/Code/Pages/primary/news/Model.php:127 Stack trace: #0 /home/customer/www/aviormarine.com/public_html/Project/1_Website/Code/Pages/primary/news/Model.php(127): PDOStatement->execute() #1 /home/customer/www/aviormarine.com/public_html/Project/1_Website/Code/Pages/primary/news/Controller.php(40): model->selectArchive('news') #2 /home/customer/www/aviormarine.com/public_html/StarfishCore_V4/Core/Code/Framework/MVC_superClasses_Core/controllerSuperClass_Core/controllerSuperClass_Core.php(195): controller->indexAction() #3 /home/customer/www/aviormarine.com/public_html/StarfishCore_V4/Core/Code/Framework/FrontController/Dispatcher/dispatcher.php(163): controllerSuperClass_Core->normalDispatch() #4 /home/customer/www/aviormarine.com/public_html/StarfishCore_V4/Core/Code/Framework/FrontController/frontController.php(98): dispatcher->dispatch() #5 /home/customer/www/aviormarine.com/public_html/index.php(56): frontController->dispatch() #6 {main}


#0 /home/customer/www/aviormarine.com/public_html/Project/1_Website/Code/Pages/primary/news/Controller.php(40): model->selectArchive('news')
#1 /home/customer/www/aviormarine.com/public_html/StarfishCore_V4/Core/Code/Framework/MVC_superClasses_Core/controllerSuperClass_Core/controllerSuperClass_Core.php(195): controller->indexAction()
#2 /home/customer/www/aviormarine.com/public_html/StarfishCore_V4/Core/Code/Framework/FrontController/Dispatcher/dispatcher.php(163): controllerSuperClass_Core->normalDispatch()
#3 /home/customer/www/aviormarine.com/public_html/StarfishCore_V4/Core/Code/Framework/FrontController/frontController.php(98): dispatcher->dispatch()
#4 /home/customer/www/aviormarine.com/public_html/index.php(56): frontController->dispatch()
#5 {main}