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 `categor...', Array, Array)
#3 [internal function]: Phalcon\Mvc\Model\Query->_executeSelect(Array, Array, Array)
#4 [internal function]: Phalcon\Mvc\Model\Query->execute()
#5 /www/need.tips/app/models/Category.php(81): Phalcon\Mvc\Model::findFirst(Array)
#6 /www/need.tips/app/controllers/CompanyByCategoryController.php(32): Category::findFirst(Array)
#7 [internal function]: CompanyByCategoryController->indexAction('cornwall', 'par', 'farm')
#8 [internal function]: Phalcon\Dispatcher->callActionMethod(Object(CompanyByCategoryController), 'indexAction', Array)
#9 [internal function]: Phalcon\Dispatcher->dispatch()
#10 /www/need.tips/public/index.php(121): Phalcon\Mvc\Application->handle()
#11 {main}