Warning: mysqli::__construct(): (HY000/1045): Access denied for user 'adpres_a'@'localhost' (using password: YES) in /home/adpres/public_html/app/classes/config/config.php on line 31

Fatal error: Uncaught Error: mysqli object is already closed in /home/adpres/public_html/app/classes/config/config.php:49 Stack trace: #0 /home/adpres/public_html/app/classes/config/config.php(49): mysqli->query('SELECT * FROM p...') #1 /home/adpres/public_html/app/classes/functions/app.php(50): DB->query('SELECT * FROM p...') #2 /home/adpres/public_html/app/routes/frontend/product.php(2): APP->productInfo(Object(DB), '149745-motor-au...') #3 /home/adpres/public_html/app/core/routes/routes.php(315): require_once('/home/adpres/pu...') #4 /home/adpres/public_html/app/classes/router/router.php(118): {closure}('149745-motor-au...') #5 /home/adpres/public_html/app/classes/router/router.php(146): ROUTE::commandRun(Object(Closure), Array) #6 /home/adpres/public_html/app/core/routes/routes.php(316): ROUTE::get('/p/{productUrl}', Object(Closure)) #7 /home/adpres/public_html/index.php(10): require_once('/home/adpres/pu...') #8 {main} thrown in /home/adpres/public_html/app/classes/config/config.php on line 49