Warning: mysqli_connect(): (HY000/2003): Can't connect to MySQL server on '127.0.0.1' (111) in /home/amapolae/public_html/classes/ConnectionFactory.php on line 15

Fatal error: Uncaught Error: Call to a member function prepare() on bool in /home/amapolae/public_html/variables.php:4 Stack trace: #0 /home/amapolae/public_html/config.php(17): include() #1 /home/amapolae/public_html/part-head.php(2): include_once('/home/amapolae/...') #2 /home/amapolae/public_html/404.php(6): require('/home/amapolae/...') #3 {main} thrown in /home/amapolae/public_html/variables.php on line 4