Connection failed: SQLSTATE[08004] [1040] Too many connectionsConnection failed: SQLSTATE[08004] [1040] Too many connectionsConnection failed: SQLSTATE[08004] [1040] Too many connectionsConnection failed: SQLSTATE[08004] [1040] Too many connectionsConnection failed: SQLSTATE[08004] [1040] Too many connectionsConnection failed: SQLSTATE[08004] [1040] Too many connectionsConnection failed: SQLSTATE[08004] [1040] Too many connectionsConnection failed: SQLSTATE[08004] [1040] Too many connectionsConnection failed: SQLSTATE[08004] [1040] Too many connections
Fatal error: Uncaught Error: Call to a member function prepare() on string in /var/www/vhosts/early-novelty/public/class/database.php:154
Stack trace:
#0 /var/www/vhosts/early-novelty/public/class/product/product.php(436): database->fetch_array_assoc_all()
#1 /var/www/vhosts/early-novelty/public/class/sample/sample.php(95): product->get_product()
#2 /var/www/vhosts/early-novelty/httpdocs/sample/index.php(203): sample->get_product_info()
#3 {main}
thrown in /var/www/vhosts/early-novelty/public/class/database.php on line 154