Jump to content

Fatal error: Uncaught TypeError


nsys

Recommended Posts

Trying to upgrade from 3.2.1 to 5.0.5 and get the following when I try to run the upgrade wizard (followed all of the steps successfully from https://www.revive-adserver.com/support/upgrading/ until this point):


Fatal error: Uncaught TypeError: Argument 1 passed to RV\Container::__construct() must be of the type array, bool given, called in /homepages/2/d208671448/htdocs/nssystems/revive_new/init.php on line 65 and defined in /homepages/2/d208671448/htdocs/nssystems/revive_new/lib/RV/Container.php:38 Stack trace: #0 /homepages/2/d208671448/htdocs/nssystems/revive_new/init.php(65): RV\Container->__construct(false) #1 /homepages/2/d208671448/htdocs/nssystems/revive_new/init.php(143): init() #2 /homepages/2/d208671448/htdocs/nssystems/revive_new/index.php(21): require_once('/homepages/2/d2...') #3 {main} thrown in /homepages/2/d208671448/htdocs/nssystems/revive_new/lib/RV/Container.php on line 38

Any ideas to fix? Thanks!

Link to comment
Share on other sites

  • 3 months later...

Did you find an answer to this? I seem to have the same problem upgrading from 4.1.3 to 5.1.1 when I start the upgrade after carefully following the upgrade instructions.

 

[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

Link to comment
Share on other sites

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...