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