Fatal error: Uncaught PDOException: PDO::__construct(): MySQL server has gone away in /var/www/web-comp-pro/data/www/znaybiznes.ru/components/DB.php:13
Stack trace:
#0 /var/www/web-comp-pro/data/www/znaybiznes.ru/components/DB.php(13): PDO->__construct('mysql:host=loca...', 'znay', 'fH5fY0dF')
#1 /var/www/web-comp-pro/data/www/znaybiznes.ru/models/Page.php(20): DB::getConnection()
#2 /var/www/web-comp-pro/data/www/znaybiznes.ru/controllers/PageController.php(15): Page::getCompanyDataById(1702218)
#3 /var/www/web-comp-pro/data/www/znaybiznes.ru/components/router.php(77): PageController->actionView('170', '1702218')
#4 /var/www/web-comp-pro/data/www/znaybiznes.ru/index.php(16): router->run()
#5 {main}
Next PDOException: SQLSTATE[HY000] [2006] MySQL server has gone away in /var/www/web-comp-pro/data/www/znaybiznes.ru/components/DB.php:13
Stack trace:
#0 /var/www/web-comp-pro/data/www/znaybiznes.ru/components/DB.php(13): PDO->__construct('mysql:host=loca...', 'znay', 'fH5fY0dF')
#1 /var/www/web-comp-pro/data/www/znaybiznes.r in /var/www/web-comp-pro/data/www/znaybiznes.ru/components/DB.php on line 13