I have a phpBB 3.3.3 Forum, webhosted on a PHP 8.0 and MySQL 5.5 server (IONOS.COM).
Today, my forum is having a 503 unavailable error message. And sometimes, when I refresh the page, it displays the following Fatal Error :
Code: Select all
Fatal error: Uncaught Error: Call to a member function getParameter() on null in /homepages/29/<FTPFolder>/htdocs/forum/includes/functions.php:2999
Stack trace:
#0 [internal function]: msg_handler(2, 'mysqli_real_con...', '/homepages/29/d...', 64)
#1 /homepages/29/<FTPFolder>/htdocs/forum/phpbb/db/driver/mysqli.php(64): mysqli_real_connect(Object(mysqli), '<DatabaseHost>....', '<DatabaseUser>', '<DatabasePassword>', '<DatabaseName>', NULL, NULL, 2)
#2 /homepages/29/<FTPFolder>/htdocs/forum/phpbb/di/container_builder.php(580): phpbb\db\driver\mysqli->sql_connect('<DatabaseHost>....', '<DatabaseUser>', '<DatabasePassword>', '<DatabaseName>', NULL, false, false)
#3 /homepages/29/<FTPFolder>/htdocs/forum/phpbb/di/container_builder.php(237): phpbb\di\container_builder->inject_dbal_driver()
#4 /homepages/29/<FTPFolder>/htdocs/forum/common.php(115): phpbb\di\container_builder->get_container()
#5 /homepages/29/<FTPFolder>/htdocs/forum/index.php(23): include('/homepages/29/d...')
#6 {main} thrown in /homepages/29/<FTPFolder>/htdocs/forum/includes/functions.php on line 2999
My WebHosting serviceis currently having some technical issues preventing people from accessing certain sites which explains the 503 error...
However, I'm more concerned by the Fatal Error displaying this kind of information.
Does anyone know what could have caused this error, and if there is a way to prevent it from displaying critical data ? Or store the connection information in a more secure location than the config.php file ?
Thank you in advance,
Regards,
Kavatah14