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 `teams`.`order` ASC' at line 2 in /var/www/vhosts_lib/PopoFrameworkTest/vendor/shardj/zf1-future/library/Zend/Db/Statement/Pdo.php:228
Stack trace:
#0 /var/www/vhosts_lib/PopoFrameworkTest/vendor/shardj/zf1-future/library/Zend/Db/Statement/Pdo.php(228): PDOStatement->execute()
#1 /var/www/vhosts_lib/PopoFrameworkTest/vendor/shardj/zf1-future/library/Zend/Db/Statement.php(323): Zend_Db_Statement_Pdo->_execute()
#2 /var/www/vhosts_lib/PopoFrameworkTest/vendor/shardj/zf1-future/library/Zend/Db/Adapter/Abstract.php(480): Zend_Db_Statement->execute()
#3 /var/www/vhosts_lib/PopoFrameworkTest/vendor/shardj/zf1-future/library/Zend/Db/Adapter/Pdo/Abstract.php(267): Zend_Db_Adapter_Abstract->query()
#4 /var/www/vhosts_lib/PopoFrameworkTest/vendor/shardj/zf1-future/library/Zend/Db/Table/Abstract.php(1590): Zend_Db_Adapter_Pdo_Abstract->query()
#5 /var/www/vhosts_lib/PopoFrameworkTest/vendor/shardj/zf1-future/library/Zend/Db/Table/Abstract.php(1405): Zend_Db_Table_Abstract->_fetch()
#6 /var/www/vhosts/jubf_test/fw/controllers/GameController.php(55): Zend_Db_Table_Abstract->fetchAll()
#7 /var/www/vhosts_lib/PopoFrameworkTest/vendor/shardj/zf1-future/library/Zend/Controller/Action.php(139): GameController->init()
#8 /var/www/vhosts_lib/PopoFrameworkTest/vendor/shardj/zf1-future/library/Zend/Controller/Dispatcher/Standard.php(281): Zend_Controller_Action->__construct()
#9 /var/www/vhosts_lib/PopoFrameworkTest/vendor/shardj/zf1-future/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch()
#10 /var/www/vhosts_lib/PopoFrameworkTest/function/init_fw.php(387): Zend_Controller_Front->dispatch()
#11 /var/www/vhosts/jubf_test/index.php(29): require_once('...')
#12 {main}
Next Zend_Db_Statement_Exception: 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 `teams`.`order` ASC' at line 2, query was: SELECT `game_category_teams`.*, `teams`.`id` AS `teams_id`, `teams`.`name` FROM `game_category_teams`
INNER JOIN `teams` ON teams.id = game_category_teams.teams_id WHERE (game_category_id=?) ORDER BY `teams`.`order` ASC in /var/www/vhosts_lib/PopoFrameworkTest/vendor/shardj/zf1-future/library/Zend/Db/Statement/Pdo.php:235
Stack trace:
#0 /var/www/vhosts_lib/PopoFrameworkTest/vendor/shardj/zf1-future/library/Zend/Db/Statement.php(323): Zend_Db_Statement_Pdo->_execute()
#1 /var/www/vhosts_lib/PopoFrameworkTest/vendor/shardj/zf1-future/library/Zend/Db/Adapter/Abstract.php(480): Zend_Db_Statement->execute()
#2 /var/www/vhosts_lib/PopoFrameworkTest/vendor/shardj/zf1-future/library/Zend/Db/Adapter/Pdo/Abstract.php(267): Zend_Db_Adapter_Abstract->query()
#3 /var/www/vhosts_lib/PopoFrameworkTest/vendor/shardj/zf1-future/library/Zend/Db/Table/Abstract.php(1590): Zend_Db_Adapter_Pdo_Abstract->query()
#4 /var/www/vhosts_lib/PopoFrameworkTest/vendor/shardj/zf1-future/library/Zend/Db/Table/Abstract.php(1405): Zend_Db_Table_Abstract->_fetch()
#5 /var/www/vhosts/jubf_test/fw/controllers/GameController.php(55): Zend_Db_Table_Abstract->fetchAll()
#6 /var/www/vhosts_lib/PopoFrameworkTest/vendor/shardj/zf1-future/library/Zend/Controller/Action.php(139): GameController->init()
#7 /var/www/vhosts_lib/PopoFrameworkTest/vendor/shardj/zf1-future/library/Zend/Controller/Dispatcher/Standard.php(281): Zend_Controller_Action->__construct()
#8 /var/www/vhosts_lib/PopoFrameworkTest/vendor/shardj/zf1-future/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch()
#9 /var/www/vhosts_lib/PopoFrameworkTest/function/init_fw.php(387): Zend_Controller_Front->dispatch()
#10 /var/www/vhosts/jubf_test/index.php(29): require_once('...')
#11 {main}
thrown in /var/www/vhosts_lib/PopoFrameworkTest/vendor/shardj/zf1-future/library/Zend/Db/Statement/Pdo.php on line 235