Jump to content

Update from 8.2.1 to 9.0 failed multiple times.


Recommended Posts

I have tried multiple things.

Disabling the extra modules. Uninstalling all other modules than standard.

Uninstalling the extra modules did work to update to 9.0, but then the new errors start again.

Compile Error:
 

FatalError

HTTP 500 Internal Server Error

Compile Error: Declaration of Ups::get($serviceName) must be compatible with ModuleCore::get(string $serviceName): ?object


in modules/ups/ups.php (line 847)

/**

* Override of native function to always retrieve Symfony container instead of legacy admin container on legacy context.

*

* {@inheritdoc}

*/

public function get($serviceName)

{

if (null === $this->container) {

$this->container = SymfonyContainer::getInstance();

}

So I believe this happened with my UPS module.

That is why I uninstalled this module before updating.

But after the update worked, the Module Manager, and other pages in the Back Office didn't work anymore.

That's where I got the Compile error.

 

The only thing I didn't do, was delete the folders of the modules after uninstallation.

Maybe that's the last thing I can try when updating.

But the stupid thing is that I already tried it now 8 times already.

 

Is there a difference in Updating through Update Assistant or updating through DirectAdmin?

 

Before uninstalling the module, I disabled the module. Then I got some error logs that I added below.

2025-07-08-120350-update.txt 2025-07-08-131255-update.txt

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...