SQLSTATE[HY000]: General error: 2006 MySQL server has gone away
#0 [internal function]: PDOStatement->execute()
#1 [internal function]: Phalcon\Db\Adapter\Pdo->executePrepared(Object(PDOStatement), Array, Array)
#2 [internal function]: Phalcon\Db\Adapter\Pdo->query('SELECT COUNT(DI...', NULL, NULL)
#3 [internal function]: Phalcon\Mvc\Model\Query->_executeSelect(Array, NULL, NULL)
#4 /www/need.tips/app/controllers/CompanyByCategoryController.php(60): Phalcon\Mvc\Model\Query->execute()
#5 [internal function]: CompanyByCategoryController->indexAction('england', 'fleet-streetlon...', 'estate-manageme...', '3')
#6 [internal function]: Phalcon\Dispatcher->callActionMethod(Object(CompanyByCategoryController), 'indexAction', Array)
#7 [internal function]: Phalcon\Dispatcher->dispatch()
#8 /www/need.tips/public/index.php(121): Phalcon\Mvc\Application->handle()
#9 {main}