define ("DBHOST", "localhost"); define ("DBNAME", "gameloop"); define ("DBUSER", "gameloop"); define ("DBPASS", "h5J6grTegIrh"); define ("PREFIX", "dle"); define ("USERPREFIX", "dle"); define ("COLLATE", "utf8mb4"); define('SECURE_AUTH_KEY', 'zja+4kj?p85bTjT]7b]d7N2{|LOl|m s0:E&A}yzUKTzH{CV|#5pI5Oxkj,>a/>{'); $db = new db; ?> Fatal error: Uncaught Error: Call to a member function query() on null in /var/www/gameloop.ru/engine/modules/calendar.php:167 Stack trace: #0 /var/www/gameloop.ru/engine/init.php(1066): include_once() #1 /var/www/gameloop.ru/index.php(25): require_once('/var/www/gamelo...') #2 {main} thrown in /var/www/gameloop.ru/engine/modules/calendar.php on line 167