Message: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '?) LIMIT 1' at line 1
#0 /var/www/plashon/library/Zend/Db/Statement.php(283): Zend_Db_Statement_Pdo->_execute() #1 /var/www/plashon/library/Zend/Db/Adapter/Abstract.php(464): Zend_Db_Statement->execute() #2 /var/www/plashon/library/Zend/Db/Adapter/Pdo/Abstract.php(232): Zend_Db_Adapter_Abstract->query() #3 /var/www/plashon/library/Zend/Db/Table/Abstract.php(1393): Zend_Db_Adapter_Pdo_Abstract->query() #4 /var/www/plashon/library/Zend/Db/Table/Abstract.php(1257): Zend_Db_Table_Abstract->_fetch() #5 /var/www/plashon/application/models/Resource/Categories.php(64): Zend_Db_Table_Abstract->fetchRow() #6 /var/www/plashon/application/controllers/CoursesController.php(74): Model_Resource_Categories->get_category_by_cat_id() #7 /var/www/plashon/library/Zend/Controller/Action.php(512): CoursesController->lookinAction() #8 /var/www/plashon/library/Zend/Controller/Dispatcher/Standard.php(288): Zend_Controller_Action->dispatch() #9 /var/www/plashon/library/Zend/Controller/Front.php(945): Zend_Controller_Dispatcher_Standard->dispatch() #10 /var/www/plashon/library/Zend/Application/Bootstrap/Bootstrap.php(77): Zend_Controller_Front->dispatch() #11 /var/www/plashon/library/Zend/Application.php(328): Zend_Application_Bootstrap_Bootstrap->run() #12 /var/www/plashon/public/index.php(27): Zend_Application->run() #13 {main}
array(4) { ["controller"]=> string(7) "courses" ["action"]=> string(6) "lookin" ["module"]=> string(7) "default" ["subCatId"]=> string(3) "150" }