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 `company...', 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/Companyprofile.php(114): Phalcon\Mvc\Model::findFirst(Array)
#6 /var/www/html/wemodelbs/app/models/WorksInfo.php(1173): App\Models\Entities\Companyprofile::findFirst(Array)
#7 /var/www/html/wemodelbs/app/models/WorksInfo.php(2095): WorksInfo->getPublicInfo('8122')
#8 /var/www/html/wemodelbs/app/models/WorksInfo.php(2116): WorksInfo->getmodelcompleteworklist(27173)
#9 /var/www/html/wemodelbs/app/controllers/Index/ModelsController.php(407): WorksInfo->getmodelcompleteworklistCt(27173)
#10 [internal function]: App\Controllers\Index\ModelsController->worksAction()
#11 [internal function]: Phalcon\Dispatcher->callActionMethod(Object(App\Controllers\Index\ModelsController), 'worksAction', 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}