damon18 Posted February 2, 2021 Report Share Posted February 2, 2021 When I start the update by navigating to the /adserver_new directory I get a blank page with error 500 and this is produced in the error_log file: [02-Feb-2021 21:38:06 UTC] PHP Fatal error: Uncaught TypeError: Argument 1 passed to RV\Container::__construct() must be of the type array, boolean given, called in /home/username/public_html/adserver_new/init.php on line 65 and defined in /home/username/public_html/adserver_new/lib/RV/Container.php:38 Stack trace: #0 /home/username/public_html/adserver_new/init.php(65): RV\Container->__construct(false) #1 /home/username/public_html/adserver_new/init.php(143): init() #2 /home/username/public_html/adserver_new/index.php(21): require_once('/home/username/p...') #3 {main} thrown in /home/username/public_html/adserver_new/lib/RV/Container.php on line 38 Quote Link to comment Share on other sites More sharing options...
jpm Posted February 16, 2021 Report Share Posted February 16, 2021 I had the same. Error was thrown by reading the configuration file. It was not able to read or parse some values, or someting like this. I'd simply put some values (e.g. database password) in quotation marks and it worked. Quote Link to comment Share on other sites More sharing options...
damon18 Posted March 8, 2021 Author Report Share Posted March 8, 2021 Thanks, using quotations around the database credentials solved the problem for me too. The copy of the config file did not use quotes, was this a documented change or caused by some server configuration? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.