s.kazimierczak
New Pleskian
- Server operating system version
- Debian 10.13
- Plesk version and microupdate number
- Plesk Obsidian 18.0.71 #2
I have/had a problem with DailyMaintenance, especially with ReportUsage. Every day it ended with failure exit code 255. This was in the logs:
PHP Fatal error: Declaration of PleskExt\DropboxBackup\Logger::log($level, $message, array $context = []) must be compatible with Psr\Log\AbstractLogger::log($level, Stringable|string $message, array $context = []): void in /opt/psa/admin/plib/modules/dropbox-backup/library/Logger.php on line 26
System updated, Dropbox backup extension - latest version.
So I have uninstalled the Dropbox Backup Extension and tried to run the ReportUsage manually and it eneded with error:
PHP Fatal error: Declaration of Psr\Log\NullLogger::log($level, $message, array $context = []) must be compatible with Psr\Log\AbstractLogger::log($level, Stringable|string $message, array $context = []): void in /usr/local/sb/vendor/psr/log/Psr/Log/NullLogger.php on line 26
[2025-08-07 10:56:58.581] 8636:68946a54d2643 ERR [panel] Class "Psr\Log\NullLogger" not found:
0: /opt/psa/admin/plib/modules/wp-toolkit/library/Service/Feature/FeatureManager.php:23
PleskExt\WpToolkit\Service\Feature\FeatureManager->__construct(object of type PleskExt\WpToolkit\Application\Plesk\PleskSettings)
1: /opt/psa/admin/plib/modules/wp-toolkit/library/ProjectServiceContainer.php:2592
PleskExt\WpToolkit\ProjectServiceContainer::getFeatureManagerService(object of type PleskExt\WpToolkit\ProjectServiceContainer)
2: /opt/psa/admin/plib/modules/wp-toolkit/library/ProjectServiceContainer.php:4949
PleskExt\WpToolkit\ProjectServiceContainer::getActionLogListenerProviderService(object of type PleskExt\WpToolkit\ProjectServiceContainer)
3: /opt/psa/admin/plib/modules/wp-toolkit/library/ProjectServiceContainer.php:3417
PleskExt\WpToolkit\ProjectServiceContainer::{closure
leskExt\WpToolkit\ProjectServiceContainer::getEventDispatcherInterfaceService():3416}()
4: /opt/psa/admin/plib/modules/wp-toolkit/library/EventDispatcher.php:14
PleskExt\WpToolkit\EventDispatcher::getInstance(object of type WPToolkitDependenciesIsolationPrefix\Symfony\Component\DependencyInjection\Argument\RewindableGenerator)
5: /opt/psa/admin/plib/modules/wp-toolkit/library/ProjectServiceContainer.php:3416
PleskExt\WpToolkit\ProjectServiceContainer::getEventDispatcherInterfaceService(object of type PleskExt\WpToolkit\ProjectServiceContainer)
6: /opt/psa/admin/plib/modules/wp-toolkit/vendor/symfony/dependency-injection/Container.php:190
WPToolkitDependenciesIsolationPrefix\Symfony\Component\DependencyInjection\Container::make(object of type PleskExt\WpToolkit\ProjectServiceContainer, string 'Psr\EventDispatcher\EventDispatcherInterface', integer '1')
7: /opt/psa/admin/plib/modules/wp-toolkit/vendor/symfony/dependency-injection/Container.php:173
WPToolkitDependenciesIsolationPrefix\Symfony\Component\DependencyInjection\Container->get(string 'Psr\EventDispatcher\EventDispatcherInterface')
8: /opt/psa/admin/plib/modules/wp-toolkit/library/DI/Container.php:48
PleskExt\WpToolkit\DI\Container::get(string 'Psr\EventDispatcher\EventDispatcherInterface')
9: /opt/psa/admin/plib/modules/wp-toolkit/library/EventDispatcher.php:21
PleskExt\WpToolkit\EventDispatcher::dispatch(object of type PleskExt\WpToolkit\Application\Event\ApplicationShutdownEvent)
10: /opt/psa/admin/plib/modules/wp-toolkit/library/Application/BaseApplication.php:37
PleskExt\WpToolkit\Application\BaseApplication->shutdown()
11: /opt/psa/admin/plib/modules/wp-toolkit/library/Application/Plesk/PleskApplication.php:64
PleskExt\WpToolkit\Application\Plesk\PleskApplication->shutdown()
12: /opt/psa/admin/plib/modules/wp-toolkit/library/Application/BaseApplication.php:26
PleskExt\WpToolkit\Application\BaseApplication->{closure
leskExt\WpToolkit\Application\BaseApplication::__construct():25}()
Now I installed again the dropbox backup extension, ran the ReportUsage manually again and it succeeded.
Now I believe it is fixed but what really was the issue and why they were wp-toolkit errors after I uninstalled Dropbox Backup.
PHP Fatal error: Declaration of PleskExt\DropboxBackup\Logger::log($level, $message, array $context = []) must be compatible with Psr\Log\AbstractLogger::log($level, Stringable|string $message, array $context = []): void in /opt/psa/admin/plib/modules/dropbox-backup/library/Logger.php on line 26
System updated, Dropbox backup extension - latest version.
So I have uninstalled the Dropbox Backup Extension and tried to run the ReportUsage manually and it eneded with error:
PHP Fatal error: Declaration of Psr\Log\NullLogger::log($level, $message, array $context = []) must be compatible with Psr\Log\AbstractLogger::log($level, Stringable|string $message, array $context = []): void in /usr/local/sb/vendor/psr/log/Psr/Log/NullLogger.php on line 26
[2025-08-07 10:56:58.581] 8636:68946a54d2643 ERR [panel] Class "Psr\Log\NullLogger" not found:
0: /opt/psa/admin/plib/modules/wp-toolkit/library/Service/Feature/FeatureManager.php:23
PleskExt\WpToolkit\Service\Feature\FeatureManager->__construct(object of type PleskExt\WpToolkit\Application\Plesk\PleskSettings)
1: /opt/psa/admin/plib/modules/wp-toolkit/library/ProjectServiceContainer.php:2592
PleskExt\WpToolkit\ProjectServiceContainer::getFeatureManagerService(object of type PleskExt\WpToolkit\ProjectServiceContainer)
2: /opt/psa/admin/plib/modules/wp-toolkit/library/ProjectServiceContainer.php:4949
PleskExt\WpToolkit\ProjectServiceContainer::getActionLogListenerProviderService(object of type PleskExt\WpToolkit\ProjectServiceContainer)
3: /opt/psa/admin/plib/modules/wp-toolkit/library/ProjectServiceContainer.php:3417
PleskExt\WpToolkit\ProjectServiceContainer::{closure
4: /opt/psa/admin/plib/modules/wp-toolkit/library/EventDispatcher.php:14
PleskExt\WpToolkit\EventDispatcher::getInstance(object of type WPToolkitDependenciesIsolationPrefix\Symfony\Component\DependencyInjection\Argument\RewindableGenerator)
5: /opt/psa/admin/plib/modules/wp-toolkit/library/ProjectServiceContainer.php:3416
PleskExt\WpToolkit\ProjectServiceContainer::getEventDispatcherInterfaceService(object of type PleskExt\WpToolkit\ProjectServiceContainer)
6: /opt/psa/admin/plib/modules/wp-toolkit/vendor/symfony/dependency-injection/Container.php:190
WPToolkitDependenciesIsolationPrefix\Symfony\Component\DependencyInjection\Container::make(object of type PleskExt\WpToolkit\ProjectServiceContainer, string 'Psr\EventDispatcher\EventDispatcherInterface', integer '1')
7: /opt/psa/admin/plib/modules/wp-toolkit/vendor/symfony/dependency-injection/Container.php:173
WPToolkitDependenciesIsolationPrefix\Symfony\Component\DependencyInjection\Container->get(string 'Psr\EventDispatcher\EventDispatcherInterface')
8: /opt/psa/admin/plib/modules/wp-toolkit/library/DI/Container.php:48
PleskExt\WpToolkit\DI\Container::get(string 'Psr\EventDispatcher\EventDispatcherInterface')
9: /opt/psa/admin/plib/modules/wp-toolkit/library/EventDispatcher.php:21
PleskExt\WpToolkit\EventDispatcher::dispatch(object of type PleskExt\WpToolkit\Application\Event\ApplicationShutdownEvent)
10: /opt/psa/admin/plib/modules/wp-toolkit/library/Application/BaseApplication.php:37
PleskExt\WpToolkit\Application\BaseApplication->shutdown()
11: /opt/psa/admin/plib/modules/wp-toolkit/library/Application/Plesk/PleskApplication.php:64
PleskExt\WpToolkit\Application\Plesk\PleskApplication->shutdown()
12: /opt/psa/admin/plib/modules/wp-toolkit/library/Application/BaseApplication.php:26
PleskExt\WpToolkit\Application\BaseApplication->{closure
Now I installed again the dropbox backup extension, ran the ReportUsage manually again and it succeeded.
Now I believe it is fixed but what really was the issue and why they were wp-toolkit errors after I uninstalled Dropbox Backup.