• The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Issue Error opening Extensions

nightshift88

New Pleskian
Server operating system version
Ubuntu 24.04.2 LTS
Plesk version and microupdate number
Plesk Obsidian 18.0.69
Since upgrade to Plesk Obsidian 18.0.69 (Linux) i am unable to open the Extensions Page.

ERROR: Declaration of DI\Definition\Source\DefinitionFile::getDefinition(string $name) must be compatible with DI\Definition\Source\DefinitionArray::getDefinition(string $name): ?DI\Definition\Definition (DefinitionFile.php:36)

Domain.com/modules/catalog/index.php/catalog/featured is the link called
 
Disable all extensions. Connect via ssh and use the list option to see the extension names:
plesk bin extension --list
then use the disable option:
plesk bin extension --disable name-of-the-extension

Now enter your plesk via web and upgrade all your extensions and then you can enable them. After this the plesk interface could be go well.
 
If you have issue again try to disable via web interface and then reactivate one by one looking if the error appears. In this way you can find the extensions that cause the issue.
 
Same here.
Everything under /modules/ directory (extensions) return this error:
ERROR: Declaration of DI\Definition\Source\DefinitionFile::getDefinition(string $name) must be compatible with DI\Definition\Source\DefinitionArray::getDefinition(string $name): ?DI\Definition\Definition (DefinitionFile.php:36)

Repair -all not find any error.
 
Since upgrade to Plesk Obsidian 18.0.69 (Linux) i am unable to open the Extensions Page.

ERROR: Declaration of DI\Definition\Source\DefinitionFile::getDefinition(string $name) must be compatible with DI\Definition\Source\DefinitionArray::getDefinition(string $name): ?DI\Definition\Definition (DefinitionFile.php:36)

Domain.com/modules/catalog/index.php/catalog/featured is the link called
Same here. Did you manage to find a solution?
 
I was following this thread. In my VPS, I have some and other errors;
* Click Extensions :
ERROR: Declaration of DI\Definition\Source\DefinitionFile::getDefinition(string $name) must be compatible with DI\Definition\Source\DefinitionArray::getDefinition(string $name): ?DI\Definition\Definition (DefinitionFile.php:36)
* Click Process List :
ERROR: Declaration of DI\CompiledContainer::get($name) must be compatible with DI\Container::get(string $id): mixed (CompiledContainer.php:41)
* Click Mail Queue (New) :
ERROR: Declaration of DI\Definition\Source\DefinitionFile::getDefinition(string $name) must be compatible with DI\Definition\Source\DefinitionArray::getDefinition(string $name): ?DI\Definition\Definition (DefinitionFile.php:36)
* Click Action Log :
ERROR: Declaration of DI\Definition\Source\DefinitionFile::getDefinition(string $name) must be compatible with DI\Definition\Source\DefinitionArray::getDefinition(string $name): ?DI\Definition\Definition (DefinitionFile.php:36)

And more and more. It all started after update to "Plesk Obsidian 18.0.69 Update #2".

Please reply the solutions from here, I'd be appreciated.
 
same here after update to "Plesk Obsidian 18.0.69 Update #2":

ERROR: Declaration of DI\CompiledContainer::get($name) must be compatible with DI\Container::get(string $id): mixed (CompiledContainer.php:41)
 
ERROR: Declaration of DI\CompiledContainer::get($name) must be compatible with DI\Container::get(string $id): mixed (CompiledContainer.php:41)

Solved! After removing several extensions via client (Grafana for example) probably no longer supported or not updated, via client and not from panel because it gave me the reported error, I was able to access my extensions again.
I updated all the extensions and with Web Server Configuration Troubleshooter I found a permissions problem on Plesk installation/update files that solved the same tool.
 
Back
Top