SQLSTATE[HY000] [2006] MySQL server has gone away
#0 [internal function]: PDO->__construct('mysql:host=10.1...', 'hvacpr_pl', 'hjDfiuhD89okkjf...', Array)
#1 [internal function]: Phalcon\Db\Adapter\Pdo->connect(Array)
#2 /var/www/hvacpr.pl/app/config/services.php(325): Phalcon\Db\Adapter\Pdo->__construct(Array)
#3 [internal function]: Closure->{closure}()
#4 [internal function]: Phalcon\Di\Service->resolve(NULL, Object(Phalcon\Di\FactoryDefault))
#5 [internal function]: Phalcon\Di->get('db', NULL)
#6 [internal function]: Phalcon\Di->getShared('db')
#7 [internal function]: Phalcon\Mvc\Model\Manager->_getConnection(Object(Model\View\Acl\PermissionsView), NULL)
#8 [internal function]: Phalcon\Mvc\Model\Manager->getReadConnection(Object(Model\View\Acl\PermissionsView))
#9 [internal function]: Phalcon\Mvc\Model->getReadConnection()
#10 [internal function]: Phalcon\Mvc\Model\Query->getReadConnection(Object(Model\View\Acl\PermissionsView), Array, NULL, NULL)
#11 [internal function]: Phalcon\Mvc\Model\Query->_executeSelect(Array, NULL, NULL)
#12 [internal function]: Phalcon\Mvc\Model\Query->execute()
#13 /var/www/hvacpr.pl/app/plugins/SecurityPlugin.php(63): Phalcon\Mvc\Model::find()
#14 /var/www/hvacpr.pl/app/plugins/SecurityPlugin.php(219): SecurityPlugin->getAcl()
#15 [internal function]: SecurityPlugin->beforeDispatch(Object(Phalcon\Events\Event), Object(Phalcon\Mvc\Dispatcher), NULL)
#16 [internal function]: Phalcon\Events\Manager->fireQueue(Array, Object(Phalcon\Events\Event))
#17 [internal function]: Phalcon\Events\Manager->fire('dispatch:before...', Object(Phalcon\Mvc\Dispatcher))
#18 [internal function]: Phalcon\Dispatcher->dispatch()
#19 /var/www/hvacpr.pl/public/index.php(63): Phalcon\Mvc\Application->handle()
#20 {main}