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/Modelprofiledetail.php(43): Phalcon\Mvc\Model::find(Array)
#6 [internal function]: App\Models\Entities\Modelprofiledetail::find(Array)
#7 /var/www/html/wemodelbs/app/models/ModelprofiledetailInfo.php(1371): Phalcon\Mvc\Model\Criteria->execute()
#8 /var/www/html/wemodelbs/app/models/ModelprofiledetailInfo.php(1431): ModelprofiledetailInfo->modelTag(Array)
#9 /var/www/html/wemodelbs/app/models/ModelprofiledetailInfo.php(585): ModelprofiledetailInfo->arrayAddModelTag(Array, Array)
#10 /var/www/html/wemodelbs/app/controllers/Index/ModelsController.php(95): ModelprofiledetailInfo->searchProfile(Array, 'index')
#11 [internal function]: App\Controllers\Index\ModelsController->indexAction()
#12 [internal function]: Phalcon\Dispatcher->callActionMethod(Object(App\Controllers\Index\ModelsController), 'indexAction', Array)
#13 [internal function]: Phalcon\Dispatcher->_dispatch()
#14 [internal function]: Phalcon\Dispatcher->dispatch()
#15 /var/www/html/wemodelbs/public/index.php(52): Phalcon\Mvc\Application->handle()
#16 {main}