Sportline
00
00
00
00
00
00
00
00
00

An error occurred

An error occurred during execution; please try again later.


Additional information:

Zend\Db\Adapter\Exception\InvalidQueryException

File:
/var/virtualwww/postgre_app_www/sportline.bg/vendor/zendframework/zendframework/library/Zend/Db/Adapter/Driver/Pdo/Statement.php:245
Message:
Statement could not be executed
Stack trace:
#0 /var/virtualwww/postgre_app_www/sportline.bg/vendor/zendframework/zendframework/library/Zend/Db/TableGateway/AbstractTableGateway.php(233): Zend\Db\Adapter\Driver\Pdo\Statement->execute()
#1 /var/virtualwww/postgre_app_www/sportline.bg/vendor/zendframework/zendframework/library/Zend/Db/TableGateway/AbstractTableGateway.php(208): Zend\Db\TableGateway\AbstractTableGateway->executeSelect(Object(Zend\Db\Sql\Select))
#2 /var/virtualwww/postgre_app_www/sportline.bg/module/Articles/src/Articles/Model/ArticlesTable.php(284): Zend\Db\TableGateway\AbstractTableGateway->selectWith(Object(Zend\Db\Sql\Select))
#3 /var/virtualwww/postgre_app_www/sportline.bg/module/Articles/src/Articles/Controller/ArticlesController.php(557): Articles\Model\ArticlesTable->getPreviousNextArticlesByNewsIds(3, Array, 'previous')
#4 /var/virtualwww/postgre_app_www/sportline.bg/vendor/zendframework/zendframework/library/Zend/Mvc/Controller/AbstractActionController.php(83): Articles\Controller\ArticlesController->viewarticleAction()
#5 [internal function]: Zend\Mvc\Controller\AbstractActionController->onDispatch(Object(Zend\Mvc\MvcEvent))
#6 /var/virtualwww/postgre_app_www/sportline.bg/vendor/zendframework/zendframework/library/Zend/EventManager/EventManager.php(468): call_user_func(Array, Object(Zend\Mvc\MvcEvent))
#7 /var/virtualwww/postgre_app_www/sportline.bg/vendor/zendframework/zendframework/library/Zend/EventManager/EventManager.php(207): Zend\EventManager\EventManager->triggerListeners('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))
#8 /var/virtualwww/postgre_app_www/sportline.bg/vendor/zendframework/zendframework/library/Zend/Mvc/Controller/AbstractController.php(117): Zend\EventManager\EventManager->trigger('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))
#9 /var/virtualwww/postgre_app_www/sportline.bg/vendor/zendframework/zendframework/library/Zend/Mvc/DispatchListener.php(114): Zend\Mvc\Controller\AbstractController->dispatch(Object(Zend\Http\PhpEnvironment\Request), Object(Zend\Http\PhpEnvironment\Response))
#10 [internal function]: Zend\Mvc\DispatchListener->onDispatch(Object(Zend\Mvc\MvcEvent))
#11 /var/virtualwww/postgre_app_www/sportline.bg/vendor/zendframework/zendframework/library/Zend/EventManager/EventManager.php(468): call_user_func(Array, Object(Zend\Mvc\MvcEvent))
#12 /var/virtualwww/postgre_app_www/sportline.bg/vendor/zendframework/zendframework/library/Zend/EventManager/EventManager.php(207): Zend\EventManager\EventManager->triggerListeners('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))
#13 /var/virtualwww/postgre_app_www/sportline.bg/vendor/zendframework/zendframework/library/Zend/Mvc/Application.php(309): Zend\EventManager\EventManager->trigger('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))
#14 /var/virtualwww/postgre_app_www/sportline.bg/public/index.php(17): Zend\Mvc\Application->run()
#15 {main}

Previous exceptions:

  • PDOException

    File:
    /var/virtualwww/postgre_app_www/sportline.bg/vendor/zendframework/zendframework/library/Zend/Db/Adapter/Driver/Pdo/Statement.php:240
    Message:
    SQLSTATE[42601]: Syntax error: 7 ERROR:  syntax error at or near ")"
    LINE 1: ...ews_by_type.site_id=7 AND news_by_type.data_id in() AND news...
                                                                 ^
    Stack trace:
    #0 /var/virtualwww/postgre_app_www/sportline.bg/vendor/zendframework/zendframework/library/Zend/Db/Adapter/Driver/Pdo/Statement.php(240): PDOStatement->execute()
    #1 /var/virtualwww/postgre_app_www/sportline.bg/vendor/zendframework/zendframework/library/Zend/Db/TableGateway/AbstractTableGateway.php(233): Zend\Db\Adapter\Driver\Pdo\Statement->execute()
    #2 /var/virtualwww/postgre_app_www/sportline.bg/vendor/zendframework/zendframework/library/Zend/Db/TableGateway/AbstractTableGateway.php(208): Zend\Db\TableGateway\AbstractTableGateway->executeSelect(Object(Zend\Db\Sql\Select))
    #3 /var/virtualwww/postgre_app_www/sportline.bg/module/Articles/src/Articles/Model/ArticlesTable.php(284): Zend\Db\TableGateway\AbstractTableGateway->selectWith(Object(Zend\Db\Sql\Select))
    #4 /var/virtualwww/postgre_app_www/sportline.bg/module/Articles/src/Articles/Controller/ArticlesController.php(557): Articles\Model\ArticlesTable->getPreviousNextArticlesByNewsIds(3, Array, 'previous')
    #5 /var/virtualwww/postgre_app_www/sportline.bg/vendor/zendframework/zendframework/library/Zend/Mvc/Controller/AbstractActionController.php(83): Articles\Controller\ArticlesController->viewarticleAction()
    #6 [internal function]: Zend\Mvc\Controller\AbstractActionController->onDispatch(Object(Zend\Mvc\MvcEvent))
    #7 /var/virtualwww/postgre_app_www/sportline.bg/vendor/zendframework/zendframework/library/Zend/EventManager/EventManager.php(468): call_user_func(Array, Object(Zend\Mvc\MvcEvent))
    #8 /var/virtualwww/postgre_app_www/sportline.bg/vendor/zendframework/zendframework/library/Zend/EventManager/EventManager.php(207): Zend\EventManager\EventManager->triggerListeners('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))
    #9 /var/virtualwww/postgre_app_www/sportline.bg/vendor/zendframework/zendframework/library/Zend/Mvc/Controller/AbstractController.php(117): Zend\EventManager\EventManager->trigger('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))
    #10 /var/virtualwww/postgre_app_www/sportline.bg/vendor/zendframework/zendframework/library/Zend/Mvc/DispatchListener.php(114): Zend\Mvc\Controller\AbstractController->dispatch(Object(Zend\Http\PhpEnvironment\Request), Object(Zend\Http\PhpEnvironment\Response))
    #11 [internal function]: Zend\Mvc\DispatchListener->onDispatch(Object(Zend\Mvc\MvcEvent))
    #12 /var/virtualwww/postgre_app_www/sportline.bg/vendor/zendframework/zendframework/library/Zend/EventManager/EventManager.php(468): call_user_func(Array, Object(Zend\Mvc\MvcEvent))
    #13 /var/virtualwww/postgre_app_www/sportline.bg/vendor/zendframework/zendframework/library/Zend/EventManager/EventManager.php(207): Zend\EventManager\EventManager->triggerListeners('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))
    #14 /var/virtualwww/postgre_app_www/sportline.bg/vendor/zendframework/zendframework/library/Zend/Mvc/Application.php(309): Zend\EventManager\EventManager->trigger('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))
    #15 /var/virtualwww/postgre_app_www/sportline.bg/public/index.php(17): Zend\Mvc\Application->run()
    #16 {main}