• 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

Hi,
I encountered a similar error when trying to access the page for any of my extensions : ERROR: Declaration of DI\CompiledContainer::get($name) must be compatible with DI\Container::get(string $id): mixed (CompiledContainer.php:41)

I solved it by disabling then updating the Node.js extension - Toolkit
Here are the commands I used as root:
* extenions page test: OK
My other extensions, including Grafana mentioned above, do not cause this error.

Perfect!!! The problem nodejs. Thanks.
 
In my case, Node.js was never installed, I don't use it. But for control, I installed it ("Phusion Passenger server" was also installed), it took a little bit long to be installed. Of course the error issue was not solved.

Then I uninstalled "NodeJS support" and "Phusion Passenger server", but still the same, when I click Extensions, Mail Queue, Monitoring, etc., it's still 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)

And I never installed Grafana, too. So, error is going on and I'm getting more nervous. Because I tried add a domain, it's added, but I couldn't install Let's Encrypt, still error. The VPS is dying :(
 
I enabled Debug mode in Plesk. I made "/var/log/plesk/panel.log" empty (true > panel.log). Then I clicked Extensions, same error. But panel.log file have hundreds of lines in a second, it's impossible to find the error message.
 
Hi!

This error can be caused non-update extensions. May be you have customer extension catalog configured by catalog.url in /usr/local/psa/admin/conf/panel.ini ? If yes, temporary comment the line and run plesk daily UpgradeExtensions. If no, try to compare installed version with version from ext.plesk.com.
 
Your server might use the custom extension catalog with outdated plesk extensions versions.

Check the configuration parameter in the file /usr/local/psa/admin/conf/panel.ini
[extensions]
catalog.url


In case it's present in the configuration file, comment it, update the extension using
plesk bin extension -g performance-booster

Then check the access to the extensions list.
Then go to the Updates page, check for extension updates and update all outdated extensions.

Also you can update all extensions with
plesk daily -f UpgradeExtensions

After that uncomment your custom extension catalog URL.
 
Last edited:
Back
Top