Warning: mysqli::__construct(): (HY000/1044): Access denied for user '1dr'@'localhost' to database '1dr' in /var/www/testwork/data/www/testwork.ru/app/core/model.php on line 42

Fatal error: Uncaught Error: Call to a member function prepare() on string in /var/www/testwork/data/www/testwork.ru/app/models/model__transport.php:1695 Stack trace: #0 /var/www/testwork/data/www/testwork.ru/app/controllers/transport.php(43): Model_transport->transport() #1 /var/www/testwork/data/www/testwork.ru/app/core/route.php(159): transport->transport() #2 /var/www/testwork/data/www/testwork.ru/app/bootstrap.php(13): Route::init() #3 /var/www/testwork/data/www/testwork.ru/index.php(25): require_once('/var/www/testwo...') #4 {main} Next Error: Call to a member function close() on string in /var/www/testwork/data/www/testwork.ru/app/core/model.php:27 Stack trace: #0 /var/www/testwork/data/www/testwork.ru/app/core/route.php(159): Model->__destruct() #1 /var/www/testwork/data/www/testwork.ru/app/bootstrap.php(13): Route::init() #2 /var/www/testwork/data/www/testwork.ru/index.php(25): require_once('/var/www/testwo...') #3 {main} thrown in /var/www/testwork/data/www/testwork.ru/app/core/model.php on line 27