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 `modelus...', 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/Modeluser.php(264): Phalcon\Mvc\Model::findFirst(Array)
#6 [internal function]: App\Models\Entities\Modeluser::findFirst(Array)
#7 [internal function]: Phalcon\Mvc\Model::_invokeFinder('findFirstByid', Array)
#8 /var/www/html/wemodelbs/app/models/ModeluserInfo.php(63): Phalcon\Mvc\Model::__callStatic('findFirstByid', Array)
#9 /var/www/html/wemodelbs/app/models/ModelprofiledetailInfo.php(998): ModeluserInfo->getModelUserInfo('4078', '')
#10 /var/www/html/wemodelbs/app/models/ModelprofiledetailInfo.php(583): ModelprofiledetailInfo->profileArray(Array, 'index', Array)
#11 /var/www/html/wemodelbs/app/controllers/Index/ModelsController.php(95): ModelprofiledetailInfo->searchProfile(Array, 'index')
#12 [internal function]: App\Controllers\Index\ModelsController->indexAction()
#13 [internal function]: Phalcon\Dispatcher->callActionMethod(Object(App\Controllers\Index\ModelsController), 'indexAction', Array)
#14 [internal function]: Phalcon\Dispatcher->_dispatch()
#15 [internal function]: Phalcon\Dispatcher->dispatch()
#16 /var/www/html/wemodelbs/public/index.php(52): Phalcon\Mvc\Application->handle()
#17 {main}