SQLSTATE[HY000]: General error: 2006 MySQL server has gone away
#0 [internal function]: PDOStatement->execute()
#1 [internal function]: Phalcon\Db\Adapter\Pdo\AbstractPdo->executePrepared()
#2 [internal function]: Phalcon\Db\Adapter\Pdo\AbstractPdo->query()
#3 [internal function]: Phalcon\Db\Adapter\AbstractAdapter->fetchOne()
#4 [internal function]: Phalcon\Db\Adapter\AbstractAdapter->tableExists()
#5 [internal function]: Phalcon\Mvc\Model\MetaData\Strategy\Introspection->getMetaData()
#6 [internal function]: Phalcon\Mvc\Model\MetaData->initialize()
#7 [internal function]: Phalcon\Mvc\Model\MetaData->readMetaData()
#8 [internal function]: Phalcon\Mvc\Model\MetaData->hasAttribute()
#9 [internal function]: Phalcon\Mvc\Model\Query->_getQualified()
#10 [internal function]: Phalcon\Mvc\Model\Query->_getExpression()
#11 [internal function]: Phalcon\Mvc\Model\Query->_getExpression()
#12 [internal function]: Phalcon\Mvc\Model\Query->_prepareSelect()
#13 [internal function]: Phalcon\Mvc\Model\Query->parse()
#14 [internal function]: Phalcon\Mvc\Model\Query->execute()
#15 /var/www/mylegacy/app/models/ClassifiedImage.php(130): Phalcon\Mvc\Model::find()
#16 [internal function]: ClassifiedImage::find()
#17 [internal function]: Phalcon\Mvc\Model\Manager->getRelationRecords()
#18 [internal function]: Phalcon\Mvc\Model->getRelated()
#19 [internal function]: Phalcon\Mvc\Model->getRelatedRecords()
#20 /var/www/mylegacy/app/controllers/ClassifiedController.php(132): Phalcon\Mvc\Model->__call()
#21 [internal function]: ClassifiedController->indexAction()
#22 [internal function]: Phalcon\Dispatcher\AbstractDispatcher->callActionMethod()
#23 [internal function]: Phalcon\Dispatcher\AbstractDispatcher->dispatch()
#24 /var/www/mylegacy/public/index.php(43): Phalcon\Mvc\Application->handle()
#25 {main}