Jump to content

Recommended Posts

Posted

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

  • 2 weeks later...
Posted

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.

 

  • 3 weeks later...
Posted

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?

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...