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, NULL)
#2 [internal function]: Phalcon\Db\Adapter\Pdo->query('SELECT `modelpr...', Array, NULL)
#3 [internal function]: Phalcon\Mvc\Model\Query->_executeSelect(Array, Array, NULL)
#4 [internal function]: Phalcon\Mvc\Model\Query->execute()
#5 /var/www/html/wemodelbs/app/models/entities/Modelprofileimg.php(79): Phalcon\Mvc\Model::find(Array)
#6 /var/www/html/wemodelbs/app/models/ModeluserInfo.php(1232): App\Models\Entities\Modelprofileimg::find(Array)
#7 /var/www/html/wemodelbs/app/controllers/Index/ModelsController.php(314): ModeluserInfo->getPublicInfoFromId(27081)
#8 [internal function]: App\Controllers\Index\ModelsController->photoAction()
#9 [internal function]: Phalcon\Dispatcher->callActionMethod(Object(App\Controllers\Index\ModelsController), 'photoAction', Array)
#10 [internal function]: Phalcon\Dispatcher->_dispatch()
#11 [internal function]: Phalcon\Dispatcher->dispatch()
#12 /var/www/html/wemodelbs/public/index.php(52): Phalcon\Mvc\Application->handle()
#13 {main}