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 `modelpr...', Array, Array)
#3 [internal function]: Phalcon\Mvc\Model\Query->_executeSelect(Array, Array, Array)
#4 [internal function]: Phalcon\Mvc\Model\Query->execute()
#5 /var/www/html/wemodelbs/app/models/entities/Modelprofile.php(346): Phalcon\Mvc\Model::findFirst(Array)
#6 /var/www/html/wemodelbs/app/models/ModeluserInfo.php(1292): App\Models\Entities\Modelprofile::findFirst(Array)
#7 /var/www/html/wemodelbs/app/models/ModeluserInfo.php(1226): ModeluserInfo->getPublicInfo(Object(App\Models\Entities\Modelprofile), Array, Array)
#8 /var/www/html/wemodelbs/app/controllers/Index/ModelsController.php(368): ModeluserInfo->getPublicInfoFromId(28)
#9 [internal function]: App\Controllers\Index\ModelsController->worksAction()
#10 [internal function]: Phalcon\Dispatcher->callActionMethod(Object(App\Controllers\Index\ModelsController), 'worksAction', Array)
#11 [internal function]: Phalcon\Dispatcher->_dispatch()
#12 [internal function]: Phalcon\Dispatcher->dispatch()
#13 /var/www/html/wemodelbs/public/index.php(52): Phalcon\Mvc\Application->handle()
#14 {main}