An error occurred

An error occurred during execution; please try again later.


Additional information:

Exception

File:
/home/lwahorg/public_html/module/Application/src/Application/Model/class/sql/QueryExecutor.class.php:26
Message:
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 b.is_active = 1
				    ORDER BY b.photo_date DESC' at line 4
Stack trace:
#0 /home/lwahorg/public_html/module/Application/src/Application/Model/class/mysql/PhotoMySqlDAO.class.php(211): QueryExecutor::execute(Object(SqlQuery))
#1 /home/lwahorg/public_html/module/Application/src/Application/Model/class/mysql/ext/PhotoMySqlExtDAO.class.php(20): PhotoMySqlDAO->getList(Object(SqlQuery))
#2 /home/lwahorg/public_html/module/Application/src/Application/Controller/IndexController.php(168): PhotoMySqlExtDAO->getEventPhotos('19', NULL)
#3 /home/lwahorg/public_html/vendor/zendframework/zendframework/library/Zend/Mvc/Controller/AbstractActionController.php(83): Application\Controller\IndexController->eventAction()
#4 [internal function]: Zend\Mvc\Controller\AbstractActionController->onDispatch(Object(Zend\Mvc\MvcEvent))
#5 /home/lwahorg/public_html/vendor/zendframework/zendframework/library/Zend/EventManager/EventManager.php(468): call_user_func(Array, Object(Zend\Mvc\MvcEvent))
#6 /home/lwahorg/public_html/vendor/zendframework/zendframework/library/Zend/EventManager/EventManager.php(207): Zend\EventManager\EventManager->triggerListeners('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))
#7 /home/lwahorg/public_html/vendor/zendframework/zendframework/library/Zend/Mvc/Controller/AbstractController.php(117): Zend\EventManager\EventManager->trigger('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))
#8 /home/lwahorg/public_html/vendor/zendframework/zendframework/library/Zend/Mvc/DispatchListener.php(114): Zend\Mvc\Controller\AbstractController->dispatch(Object(Zend\Http\PhpEnvironment\Request), Object(Zend\Http\PhpEnvironment\Response))
#9 [internal function]: Zend\Mvc\DispatchListener->onDispatch(Object(Zend\Mvc\MvcEvent))
#10 /home/lwahorg/public_html/vendor/zendframework/zendframework/library/Zend/EventManager/EventManager.php(468): call_user_func(Array, Object(Zend\Mvc\MvcEvent))
#11 /home/lwahorg/public_html/vendor/zendframework/zendframework/library/Zend/EventManager/EventManager.php(207): Zend\EventManager\EventManager->triggerListeners('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))
#12 /home/lwahorg/public_html/vendor/zendframework/zendframework/library/Zend/Mvc/Application.php(313): Zend\EventManager\EventManager->trigger('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))
#13 /home/lwahorg/public_html/public/index.php(43): Zend\Mvc\Application->run()
#14 /home/lwahorg/public_html/index.php(3): include('/home/lwahorg/p...')
#15 {main}