SQLSTATE[HY000]: General error: 2006 MySQL server has gone away
#0 [internal function]: PDO->query('SELECT `acl_per...')
#1 [internal function]: Phalcon\Db\Result\Pdo->dataSeek(0)
#2 [internal function]: Phalcon\Mvc\Model\Resultset->seek(0)
#3 /var/www/hvacpr.pl/app/plugins/SecurityPlugin.php(76): Phalcon\Mvc\Model\Resultset->rewind()
#4 /var/www/hvacpr.pl/app/plugins/SecurityPlugin.php(219): SecurityPlugin->getAcl()
#5 [internal function]: SecurityPlugin->beforeDispatch(Object(Phalcon\Events\Event), Object(Phalcon\Mvc\Dispatcher), NULL)
#6 [internal function]: Phalcon\Events\Manager->fireQueue(Array, Object(Phalcon\Events\Event))
#7 [internal function]: Phalcon\Events\Manager->fire('dispatch:before...', Object(Phalcon\Mvc\Dispatcher))
#8 [internal function]: Phalcon\Dispatcher->dispatch()
#9 /var/www/hvacpr.pl/public/index.php(63): Phalcon\Mvc\Application->handle()
#10 {main}