Warning: mysqli::__construct(): (HY000/2002): No route to host in /var/www/html/models/database.php on line 9

Warning: mysqli::set_charset(): Couldn't fetch mysqli in /var/www/html/models/database.php on line 12

Warning: mysqli::prepare(): Couldn't fetch mysqli in /var/www/html/models/categories.php on line 43

Fatal error: Uncaught Error: Call to a member function bind_param() on null in /var/www/html/models/categories.php:44 Stack trace: #0 /var/www/html/routes/categories.php(28): get_category(Array) #1 /var/www/html/routes/index.php(147): require_once('/var/www/html/r...') #2 /var/www/html/app.php(52): require_once('/var/www/html/r...') #3 /var/www/html/public/index.php(1): require_once('/var/www/html/a...') #4 {main} thrown in /var/www/html/models/categories.php on line 44