Warning: Invalid argument supplied for foreach() in /home/suntelcomvn/public_html/library/Zend/Db/Sql/Predicate/In.php on line 122
Error

An error occurred

An error occurred during execution; please try again later.


Additional information:

Zend\Db\Adapter\Exception\InvalidQueryException

File:
/home/suntelcomvn/public_html/library/Zend/Db/Adapter/Driver/Pdo/Statement.php:244
Message:
Statement could not be executed (42000 - 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 ') AND `x_post_item`.`status` = 1 AND `x_post_item`.`language` = 'vi' ORDER BY `x' at line 1)
Stack trace:
#0 /home/suntelcomvn/public_html/library/Zend/Db/TableGateway/AbstractTableGateway.php(238): Zend\Db\Adapter\Driver\Pdo\Statement->execute()
#1 /home/suntelcomvn/public_html/library/Zend/Db/TableGateway/AbstractTableGateway.php(208): Zend\Db\TableGateway\AbstractTableGateway->executeSelect(Object(Zend\Db\Sql\Select))
#2 /home/suntelcomvn/public_html/library/Zend/Db/TableGateway/AbstractTableGateway.php(195): Zend\Db\TableGateway\AbstractTableGateway->selectWith(Object(Zend\Db\Sql\Select))
#3 /home/suntelcomvn/public_html/module/Post/src/Post/Model/PostItemTable.php(83): Zend\Db\TableGateway\AbstractTableGateway->select(Object(Closure))
#4 /home/suntelcomvn/public_html/module/Post/src/Post/Controller/IndexController.php(83): Post\Model\PostItemTable->listItem(Array, Array)
#5 /home/suntelcomvn/public_html/library/Zend/Mvc/Controller/AbstractActionController.php(82): Post\Controller\IndexController->categoryAction()
#6 [internal function]: Zend\Mvc\Controller\AbstractActionController->onDispatch(Object(Zend\Mvc\MvcEvent))
#7 /home/suntelcomvn/public_html/library/Zend/EventManager/EventManager.php(444): call_user_func(Array, Object(Zend\Mvc\MvcEvent))
#8 /home/suntelcomvn/public_html/library/Zend/EventManager/EventManager.php(205): Zend\EventManager\EventManager->triggerListeners('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))
#9 /home/suntelcomvn/public_html/library/Zend/Mvc/Controller/AbstractController.php(118): Zend\EventManager\EventManager->trigger('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))
#10 /home/suntelcomvn/public_html/library/Zend/Mvc/DispatchListener.php(93): 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 /home/suntelcomvn/public_html/library/Zend/EventManager/EventManager.php(444): call_user_func(Array, Object(Zend\Mvc\MvcEvent))
#13 /home/suntelcomvn/public_html/library/Zend/EventManager/EventManager.php(205): Zend\EventManager\EventManager->triggerListeners('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))
#14 /home/suntelcomvn/public_html/library/Zend/Mvc/Application.php(314): Zend\EventManager\EventManager->trigger('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))
#15 /home/suntelcomvn/public_html/public/index.php(24): Zend\Mvc\Application->run()
#16 {main}

Previous exceptions: