Ich habe ein Problem und komme leider nicht weiter. Egal ob über die Console oder über den CM immer die gleichen Fehler.
Composer / Update / oder Löschen neu immer das selber Problem.
Code:
12:48:24 CRITICAL [console] Error thrown while running command "cache:warmup --env=prod --ansi -v". Message: "Class "NotificationCenter\Queue\QueueManager" not found" ["exception" => Error { …},"command" => "cache:warmup --env=prod --ansi -v","message" => "Class "Notifica tionCenter\Queue\QueueManager" not found"]
In config.php line 89:
[Symfony\Component\ErrorHandler\Error\ClassNotFoundError]
Attempted to load class "QueueManager" from namespace "NotificationCenter\Q
ueue".
Did you forget a "use" statement for another namespace?
Exception trace:
at /var/www/vhosts/domain.de/neki.domain.de/system/modules/notification_center/config/config.php:89
include() at /var/www/vhosts/domain.de/neki.domain.de/vendor/contao/core-bundle/src/Resources/contao/library/Contao/Config.php:198
Contao\Config->initialize() at /var/www/vhosts/domain.de/neki.domain.de/vendor/contao/core-bundle/src/Resources/contao/library/Contao/Config.php:163
Contao\Config::getInstance() at /var/www/vhosts/domain.de/neki.domain.de/vendor/contao/core-bundle/src/Framework/Adapter.php:46
Contao\CoreBundle\Framework\Adapter->__call() at /var/www/vhosts/domain.de/neki.domain.de/vendor/contao/core-bundle/src/Framework/ContaoFramework.php:277
Contao\CoreBundle\Framework\ContaoFramework->initializeFramework() at /var/www/vhosts/domain.de/neki.domain.de/vendor/contao/core-bundle/src/Framework/ContaoFramework.php:121
Contao\CoreBundle\Framework\ContaoFramework->initialize() at /var/www/vhosts/domain.de/neki.domain.de/vendor/contao/core-bundle/src/Cache/ContaoCacheWarmer.php:62
Contao\CoreBundle\Cache\ContaoCacheWarmer->warmUp() at /var/www/vhosts/domain.de/neki.domain.de/vendor/symfony/http-kernel/CacheWarmer/CacheWarmerAggregate.php:99
Symfony\Component\HttpKernel\CacheWarmer\CacheWarmerAggregate->warmUp() at /var/www/vhosts/domain.de/neki.domain.de/vendor/symfony/framework-bundle/Command/CacheWarmupCommand.php:82
Symfony\Bundle\FrameworkBundle\Command\CacheWarmupCommand->execute() at /var/www/vhosts/domain.de/neki.domain.de/vendor/symfony/console/Command/Command.php:298
Symfony\Component\Console\Command\Command->run() at /var/www/vhosts/domain.de/neki.domain.de/vendor/symfony/console/Application.php:1042
Symfony\Component\Console\Application->doRunCommand() at /var/www/vhosts/domain.de/neki.domain.de/vendor/symfony/framework-bundle/Console/Application.php:96
Symfony\Bundle\FrameworkBundle\Console\Application->doRunCommand() at /var/www/vhosts/domain.de/neki.domain.de/vendor/symfony/console/Application.php:299
Symfony\Component\Console\Application->doRun() at /var/www/vhosts/domain.de/neki.domain.de/vendor/symfony/framework-bundle/Console/Application.php:82
Symfony\Bundle\FrameworkBundle\Console\Application->doRun() at /var/www/vhosts/domain.de/neki.domain.de/vendor/symfony/console/Application.php:171
Symfony\Component\Console\Application->run() at /var/www/vhosts/domain.de/neki.domain.de/vendor/contao/manager-bundle/bin/contao-console:37
cache:warmup [--no-optional-warmers]
12:48:24 CRITICAL [console] An error occurred while using the console. Message: "An error occurred while executing the "/opt/plesk/php/8.0/bin/php -dmemory_limit=1536M /var/www/vhosts/domain.de/neki.domain.de/vendor/contao/manager-bundle/bin/contao-console cache:war mup --env=prod --ansi -v" command: 12:48:24 CRITICAL [console] Error thrown while running command "cache:warmup --env=prod --ansi -v". Message: "Class "NotificationCenter\Queue\QueueManager" not found" ["exception" => Error { …},"command" => "cache:warmup --env=prod --ans i -v","message" => "Class "NotificationCenter\Queue\QueueManager" not found"]
In config.php line 89:
[Symfony\Component\ErrorHandler\Error\ClassNotFoundError]
Attempted to load class "QueueManager" from namespace "NotificationCenter\Q
ueue".
Did you forget a "use" statement for another namespace?
Exception trace:
at /var/www/vhosts/domain.de/neki.domain.de/system/modules/notification_center/config/config.php:89
include() at /var/www/vhosts/domain.de/neki.domain.de/vendor/contao/core-bundle/src/Resources/contao/library/Contao/Config.php:198
Contao\Config->initialize() at /var/www/vhosts/domain.de/neki.domain.de/vendor/contao/core-bundle/src/Resources/contao/library/Contao/Config.php:163
Contao\Config::getInstance() at /var/www/vhosts/domain.de/neki.domain.de/vendor/contao/core-bundle/src/Framework/Adapter.php:46
Contao\CoreBundle\Framework\Adapter->__call() at /var/www/vhosts/domain.de/neki.domain.de/vendor/contao/core-bundle/src/Framework/ContaoFramework.php:277
Contao\CoreBundle\Framework\ContaoFramework->initializeFramework() at /var/www/vhosts/domain.de/neki.domain.de/vendor/contao/core-bundle/src/Framework/ContaoFramework.php:121
Contao\CoreBundle\Framework\ContaoFramework->initialize() at /var/www/vhosts/domain.de/neki.domain.de/vendor/contao/core-bundle/src/Cache/ContaoCacheWarmer.php:62
Contao\CoreBundle\Cache\ContaoCacheWarmer->warmUp() at /var/www/vhosts/domain.de/neki.domain.de/vendor/symfony/http-kernel/CacheWarmer/CacheWarmerAggregate.php:99
Symfony\Component\HttpKernel\CacheWarmer\CacheWarmerAggregate->warmUp() at /var/www/vhosts/domain.de/neki.domain.de/vendor/symfony/framework-bundle/Command/CacheWarmupCommand.php:82
Symfony\Bundle\FrameworkBundle\Command\CacheWarmupCommand->execute() at /var/www/vhosts/domain.de/neki.domain.de/vendor/symfony/console/Command/Command.php:298
Symfony\Component\Console\Command\Command->run() at /var/www/vhosts/domain.de/neki.domain.de/vendor/symfony/console/Application.php:1042
Symfony\Component\Console\Application->doRunCommand() at /var/www/vhosts/domain.de/neki.domain.de/vendor/symfony/framework-bundle/Console/Application.php:96
Symfony\Bundle\FrameworkBundle\Console\Application->doRunCommand() at /var/www/vhosts/domain.de/neki.domain.de/vendor/symfony/console/Application.php:299
Symfony\Component\Console\Application->doRun() at /var/www/vhosts/domain.de/neki.domain.de/vendor/symfony/framework-bundle/Console/Application.php:82
Symfony\Bundle\FrameworkBundle\Console\Application->doRun() at /var/www/vhosts/domain.de/neki.domain.de/vendor/symfony/console/Application.php:171
Symfony\Component\Console\Application->run() at /var/www/vhosts/domain.de/neki.domain.de/vendor/contao/manager-bundle/bin/contao-console:37
cache:warmup [--no-optional-warmers]
" ["exception" => RuntimeException { …},"message" => """ An error occurred while executing the "/opt/plesk/php/8.0/bin/php -dmemory_limit=1536M /var/www/vhosts/domain.de/neki.domain.de/vendor/contao/manager-bundle/bin/contao-console cache:warmup --env=prod --ansi -v " command: 12:48:24 \e[31mCRITICAL \e[39m \e[33m[console]\e[39m Error thrown while running command "cache:warmup --env=prod --ansi -v". Message: "Class "NotificationCenter\Queue\QueueManager" not found" \e[0;38;5;208m[\e[m\e[0;38;5;208m"\e[38;5;113mexception\e[0;38;5;208m" => \e[38;5;38mError\e[0;38;5;208m { …},\e[m\e[0;38;5;208m"\e[38;5;113mcommand\e[0;38;5;208m" => "\e[1;38;5;113mcache:warmup --env=prod --ansi -v\e[0;38;5;208m",\e[m\e[0;38;5;208m"\e[38;5;113mmessage\e[0;38;5;208m" => "\e[1;38;5;113mClass "NotificationCenter\Queue\QueueMan ager" not found\e[0;38;5;208m"\e[m\e[0;38;5;208m]\e[m\n \n \e[33mIn config.php line 89:\e[39m\n \e[37;41m \e[39;49m\n \e[37;41m [Symfony\Component\ErrorHandler\Error\ClassNotFoundError] \e[39;49m\n \e[37;41m Attempted to load class "QueueManager" from namespace "NotificationCenter\Q \e[39;49m\n \e[37;41m ueue". \e[39;49m\n \e[37;41m Did you forget a "use" statement for another namespace? \e[39;49m\n \e[37;41m \e[39;49m\n \n \e[33mException trace:\e[39m\n at \e[32m/var/www/vhosts/domain.de/neki.domain.de/system/modules/notif ication_center/config/config.php:89\e[39m\n include() at \e[32m/var/www/vhosts/domain.de/neki.domain.de/vendor/contao/core-bundle/src/Resources/contao/library/Contao/Config.php:198\e[39m\n Contao\Config->initialize() at \e[32m/var/www/vhosts/domain.de/neki.net speedy.de/vendor/contao/core-bundle/src/Resources/contao/library/Contao/Config.php:163\e[39m\n Contao\Config::getInstance() at \e[32m/var/www/vhosts/domain.de/neki.domain.de/vendor/contao/core-bundle/src/Framework/Adapter.php:46\e[39m\n Contao\CoreBundle\Framewor k\Adapter->__call() at \e[32m/var/www/vhosts/domain.de/neki.domain.de/vendor/contao/core-bundle/src/Framework/ContaoFramework.php:277\e[39m\n Contao\CoreBundle\Framework\ContaoFramework->initializeFramework() at \e[32m/var/www/vhosts/domain.de/neki.domain.de/ vendor/contao/core-bundle/src/Framework/ContaoFramework.php:121\e[39m\n Contao\CoreBundle\Framework\ContaoFramework->initialize() at \e[32m/var/www/vhosts/domain.de/neki.domain.de/vendor/contao/core-bundle/src/Cache/ContaoCacheWarmer.php:62\e[39m\n Contao\CoreBun dle\Cache\ContaoCacheWarmer->warmUp() at \e[32m/var/www/vhosts/domain.de/neki.domain.de/vendor/symfony/http-kernel/CacheWarmer/CacheWarmerAggregate.php:99\e[39m\n Symfony\Component\HttpKernel\CacheWarmer\CacheWarmerAggregate->warmUp() at \e[32m/var/www/vhosts/netsp eedy.de/neki.domain.de/vendor/symfony/framework-bundle/Command/CacheWarmupCommand.php:82\e[39m\n Symfony\Bundle\FrameworkBundle\Command\CacheWarmupCommand->execute() at \e[32m/var/www/vhosts/domain.de/neki.domain.de/vendor/symfony/console/Command/Command.php:298 \e[39m\n Symfony\Component\Console\Command\Command->run() at \e[32m/var/www/vhosts/domain.de/neki.domain.de/vendor/symfony/console/Application.php:1042\e[39m\n Symfony\Component\Console\Application->doRunCommand() at \e[32m/var/www/vhosts/domain.de/neki.netspe edy.de/vendor/symfony/framework-bundle/Console/Application.php:96\e[39m\n Symfony\Bundle\FrameworkBundle\Console\Application->doRunCommand() at \e[32m/var/www/vhosts/domain.de/neki.domain.de/vendor/symfony/console/Application.php:299\e[39m\n Symfony\Component\Con sole\Application->doRun() at \e[32m/var/www/vhosts/domain.de/neki.domain.de/vendor/symfony/framework-bundle/Console/Application.php:82\e[39m\n Symfony\Bundle\FrameworkBundle\Console\Application->doRun() at \e[32m/var/www/vhosts/domain.de/neki.domain.de/vendor /symfony/console/Application.php:171\e[39m\n Symfony\Component\Console\Application->run() at \e[32m/var/www/vhosts/domain.de/neki.domain.de/vendor/contao/manager-bundle/bin/contao-console:37\e[39m\n \n \e[32mcache:warmup [--no-optional-warmers]\e[39m\n \n """]
In ContaoSetupCommand.php line 120:
[RuntimeException]
An error occurred while executing the "/opt/plesk/php/8.0/bin/php -dmemory_limit=1536M /var/www/vhosts/domain.de/neki.domain.de/vendor/contao/manager-bundle/bin/contao-console cache:warmup --env=prod --ansi -v" command: 12:48:24 CRITICAL [console
] Error thrown while running command "cache:warmup --env=prod --ansi -v". Message: "Class "NotificationCenter\Queue\QueueManager" not found" ["exception" => Error { …},"
38;5;113mcommand" => "cache:warmup --env=prod --ansi -v","message" => "Class "NotificationCenter\Queue\QueueManager" not found"]
In config.php line 89:
[Symfony\Component\ErrorHandler\Error\ClassNotFoundError]
Attempted to load class "QueueManager" from namespace "NotificationCenter\Q
ueue".
Did you forget a "use" statement for another namespace?
Exception trace:
at /var/www/vhosts/domain.de/neki.domain.de/system/modules/notification_center/config/config.php:89
include() at /var/www/vhosts/domain.de/neki.domain.de/vendor/contao/core-bundle/src/Resources/contao/library/Contao/Config.php:198
Contao\Config->initialize() at /var/www/vhosts/domain.de/neki.domain.de/vendor/contao/core-bundle/src/Resources/contao/library/Contao/Config.php:163
Contao\Config::getInstance() at /var/www/vhosts/domain.de/neki.domain.de/vendor/contao/core-bundle/src/Framework/Adapter.php:46
Contao\CoreBundle\Framework\Adapter->__call() at /var/www/vhosts/domain.de/neki.domain.de/vendor/contao/core-bundle/src/Framework/ContaoFramework.php:277
Contao\CoreBundle\Framework\ContaoFramework->initializeFramework() at /var/www/vhosts/domain.de/neki.domain.de/vendor/contao/core-bundle/src/Framework/ContaoFramework.php:121
Contao\CoreBundle\Framework\ContaoFramework->initialize() at /var/www/vhosts/domain.de/neki.domain.de/vendor/contao/core-bundle/src/Cache/ContaoCacheWarmer.php:62
Contao\CoreBundle\Cache\ContaoCacheWarmer->warmUp() at /var/www/vhosts/domain.de/neki.domain.de/vendor/symfony/http-kernel/CacheWarmer/CacheWarmerAggregate.php:99
Symfony\Component\HttpKernel\CacheWarmer\CacheWarmerAggregate->warmUp() at /var/www/vhosts/domain.de/neki.domain.de/vendor/symfony/framework-bundle/Command/CacheWarmupCommand.php:82
Symfony\Bundle\FrameworkBundle\Command\CacheWarmupCommand->execute() at /var/www/vhosts/domain.de/neki.domain.de/vendor/symfony/console/Command/Command.php:298
Symfony\Component\Console\Command\Command->run() at /var/www/vhosts/domain.de/neki.domain.de/vendor/symfony/console/Application.php:1042
Symfony\Component\Console\Application->doRunCommand() at /var/www/vhosts/domain.de/neki.domain.de/vendor/symfony/framework-bundle/Console/Application.php:96
Symfony\Bundle\FrameworkBundle\Console\Application->doRunCommand() at /var/www/vhosts/domain.de/neki.domain.de/vendor/symfony/console/Application.php:299
Symfony\Component\Console\Application->doRun() at /var/www/vhosts/domain.de/neki.domain.de/vendor/symfony/framework-bundle/Console/Application.php:82
Symfony\Bundle\FrameworkBundle\Console\Application->doRun() at /var/www/vhosts/domain.de/neki.domain.de/vendor/symfony/console/Application.php:171
Symfony\Component\Console\Application->run() at /var/www/vhosts/domain.de/neki.domain.de/vendor/contao/manager-bundle/bin/contao-console:37
cache:warmup [--no-optional-warmers]
Exception trace:
at /var/www/vhosts/domain.de/neki.domain.de/vendor/contao/manager-bundle/src/Command/ContaoSetupCommand.php:120
Contao\ManagerBundle\Command\ContaoSetupCommand->executeCommand() at /var/www/vhosts/domain.de/neki.domain.de/vendor/contao/manager-bundle/src/Command/ContaoSetupCommand.php:94
Contao\ManagerBundle\Command\ContaoSetupCommand->execute() at /var/www/vhosts/domain.de/neki.domain.de/vendor/symfony/console/Command/Command.php:298
Symfony\Component\Console\Command\Command->run() at /var/www/vhosts/domain.de/neki.domain.de/vendor/symfony/console/Application.php:1042
Symfony\Component\Console\Application->doRunCommand() at /var/www/vhosts/domain.de/neki.domain.de/vendor/symfony/framework-bundle/Console/Application.php:96
Symfony\Bundle\FrameworkBundle\Console\Application->doRunCommand() at /var/www/vhosts/domain.de/neki.domain.de/vendor/symfony/console/Application.php:299
Symfony\Component\Console\Application->doRun() at /var/www/vhosts/domain.de/neki.domain.de/vendor/symfony/framework-bundle/Console/Application.php:82
Symfony\Bundle\FrameworkBundle\Console\Application->doRun() at /var/www/vhosts/domain.de/neki.domain.de/vendor/symfony/console/Application.php:171
Symfony\Component\Console\Application->run() at /var/www/vhosts/domain.de/neki.domain.de/vendor/contao/manager-bundle/bin/contao-setup:44
include() at /var/www/vhosts/domain.de/neki.domain.de/vendor/bin/contao-setup:120
contao:setup
Script @php vendor/bin/contao-setup handling the post-update-cmd event returned with error code 1
composer.json
Code:
{
"type": "project",
"require": {
"contao/calendar-bundle": "4.13.*",
"contao/comments-bundle": "4.13.*",
"contao/conflicts": "*@dev",
"contao/faq-bundle": "4.13.*",
"contao/listing-bundle": "4.13.*",
"contao/manager-bundle": "4.13.*",
"contao/news-bundle": "4.13.*",
"contao/newsletter-bundle": "4.13.*",
"madeyourday/contao-rocksolid-antispam": "^2.0",
"madeyourday/contao-rocksolid-columns": "^2.0",
"madeyourday/contao-rocksolid-custom-elements": "^2.3",
"madeyourday/contao-rocksolid-frontend-helper": "^2.1",
"madeyourday/contao-rocksolid-icon-picker": "^2.0",
"madeyourday/contao-rocksolid-mega-menu": "^2.1",
"madeyourday/contao-rocksolid-slider": "^2.1",
"madeyourday/contao-rocksolid-theme-assistant": "^2.0"
},
"extra": {
"public-dir": "web",
"contao-component-dir": "assets"
},
"scripts": {
"post-install-cmd": [
"@php vendor/bin/contao-setup"
],
"post-update-cmd": [
"@php vendor/bin/contao-setup"
]
},
"config": {
"allow-plugins": {
"contao-components/installer": true,
"contao/manager-plugin": true
}
}
}
So sieht die Console aus.
Code:
composer update --no-installErfolgreich nach 13 Sekunden. RAM-Verbrauch: 14.25MB (Spitze: 171.11MB), Dauer: 8.77s.
> Resolving dependencies using Composer Cloud v3.4.5
!!! Current server is sponsored by: Contao Association !!!
[6.7MiB/0.22s] Loading composer repositories with package information
[67.2MiB/7.85s] Updating dependencies
[27.3MiB/8.72s] Lock file operations: 0 installs, 4 updates, 0 removals
[27.3MiB/8.72s] - Upgrading symfony/deprecation-contracts (v3.0.2 => v3.1.1)
[27.3MiB/8.72s] - Upgrading symfony/event-dispatcher-contracts (v3.0.2 => v3.1.1)
[27.3MiB/8.72s] - Upgrading symfony/property-info (v6.0.11 => v6.1.3)
[27.3MiB/8.72s] - Upgrading symfony/var-exporter (v6.0.10 => v6.1.3)
[26.6MiB/8.73s] Writing lock file
[13.8MiB/8.76s] <warning>Package webmozart/path-util is abandoned, you should avoid using it. Use symfony/filesystem instead.</warning>
[14.2MiB/8.76s] Memory usage: 14.25MB (peak: 171.11MB), time: 8.77s.
[14.2MiB/8.77s] Finished Composer Cloud resolving.
# Job ID t6RSyHXO4yBnUg9jIOwRLBm0aOLjyOIAIM94YTHDJGGPaHRqbgO7Zf0Y48SDcmIjJ8czdzGGX663zsD7BoCfCRwYZHwDEfw60gf1KErrzih completed in 13 seconds
# Memory usage: 14.25MB (peak: 171.11MB), time: 8.77s.
X vendor/bin/contao-console contao:maintenance-mode enable
X composer install
X vendor/bin/contao-console contao:maintenance-mode disable
vielen dank für eure tipps