Symfony-Bundle
Symfony-Bundle copied to clipboard
Uninstallation
Running composer remove cron/cron-bundle fails and breaks symfony completely, flex doesn't seem to unregister the bundle, it's still present in config/bundles.php after removal
Executing script cache:clear [KO]
[KO]
Script cache:clear returned with error code 255
!! Symfony\Component\ErrorHandler\Error\ClassNotFoundError {#70
!! #message: """
!! Attempted to load class "CronCronBundle" from namespace "Cron\CronBundle".\n
!! Did you forget a "use" statement for another namespace?
!! """
!! #code: 0
!! #file: "./vendor/symfony/framework-bundle/Kernel/MicroKernelTrait.php"
!! #line: 131
!! trace: {
!! ./vendor/symfony/framework-bundle/Kernel/MicroKernelTrait.php:131 { …}
!! ./vendor/symfony/http-kernel/Kernel.php:382 { …}
!! ./vendor/symfony/http-kernel/Kernel.php:768 { …}
!! ./vendor/symfony/http-kernel/Kernel.php:128 { …}
!! ./vendor/symfony/framework-bundle/Console/Application.php:166 { …}
!! ./vendor/symfony/framework-bundle/Console/Application.php:72 { …}
!! ./vendor/symfony/console/Application.php:171 { …}
!! ./vendor/symfony/runtime/Runner/Symfony/ConsoleApplicationRunner.php:54 { …}
!! ./vendor/autoload_runtime.php:29 { …}
!! ./bin/console:11 {
!! ›
!! › require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
!! ›
!! arguments: {
!! "./vendor/autoload_runtime.php"
!! }
!! }
!! }
!! }
!! 2022-04-19T21:08:09+02:00 [critical] Uncaught Error: Class "Cron\CronBundle\CronCronBundle" not found
!!
Script @auto-scripts was called via post-install-cmd