Fatal error: Uncaught Error: Call to a member function prepare() on null in /var/www/html/lib/classes/Database.php:42 Stack trace: #0 /var/www/html/lib/config/constants.php(5): Database::query('SELECT `key`, `...') #1 /var/www/html/lib/init.php(31): require_once('/var/www/html/l...') #2 /var/www/html/index.php(2): require_once('/var/www/html/l...') #3 {main} thrown in /var/www/html/lib/classes/Database.php on line 42