Det har oppstått en feil:

Kode 42000
Melding 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 '' at line 1, query was: SELECT * FROM tblcategory WHERE nID =
Fil /var/www/agora/releases/20170922194736/vendor/zendframework/zendframework1/library/Zend/Db/Statement/Pdo.php
Linje 235
Trace #0 /var/www/agora/releases/20170922194736/vendor/zendframework/zendframework1/library/Zend/Db/Statement.php(303): Zend_Db_Statement_Pdo->_execute(Array) #1 /var/www/agora/releases/20170922194736/vendor/zendframework/zendframework1/library/Zend/Db/Adapter/Abstract.php(480): Zend_Db_Statement->execute(Array) #2 /var/www/agora/releases/20170922194736/vendor/zendframework/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SELECT * FROM t...', Array) #3 /var/www/agora/releases/20170922194736/vendor/zendframework/zendframework1/library/Zend/Db/Adapter/Abstract.php(737): Zend_Db_Adapter_Pdo_Abstract->query('SELECT * FROM t...', Array) #4 /var/www/agora/releases/20170922194736/application/modules/default/models/DBConnection.php(33): Zend_Db_Adapter_Abstract->fetchAll('SELECT * FROM t...') #5 /var/www/agora/releases/20170922194736/application/modules/default/models/Webshop/Category.php(71): DBConnection::fetchAll('SELECT * FROM t...') #6 /var/www/agora/releases/20170922194736/application/modules/default/models/Webshop/Product.php(1459): Category::loadCategory(NULL) #7 /var/www/agora/releases/20170922194736/application/modules/default/controllers/ProductController.php(148): Product->getSuperCat() #8 /var/www/agora/releases/20170922194736/application/modules/default/controllers/ProductController.php(38): ProductController->getProductCacheHit('1286', false) #9 /var/www/agora/releases/20170922194736/vendor/zendframework/zendframework1/library/Zend/Controller/Action.php(516): ProductController->showAction() #10 /var/www/agora/releases/20170922194736/vendor/zendframework/zendframework1/library/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch('showAction') #11 /var/www/agora/releases/20170922194736/vendor/zendframework/zendframework1/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http)) #12 /var/www/agora/releases/20170922194736/vendor/zendframework/zendframework1/library/Zend/Application/Bootstrap/Bootstrap.php(105): Zend_Controller_Front->dispatch() #13 /var/www/agora/releases/20170922194736/vendor/zendframework/zendframework1/library/Zend/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run() #14 /var/www/agora/releases/20170922194736/index.php(46): Zend_Application->run() #15 {main}