Details
-
Bug
-
Resolution: Fixed
-
Medium
-
3.3.15
-
None
-
None
Description
After activating SisoPaypalPaymentBundle the following way:
Siso\Bundle\PaypalPaymentBundle\SisoPaypalPaymentBundle::class => ['all' => true],
and attempting to clear the cache, the user is presented with the following error:
Executing script cache:clear [KO] [KO] Script cache:clear returned with error code 255 !! Symfony\Component\ErrorHandler\Error\ClassNotFoundError {#195 !! #message: """ !! Attempted to load class "SisoPaypalPaymentBundle" from namespace "Siso\Bundle\PaypalPaymentBundle".\n !! Did you forget a "use" statement for another namespace? !! """ !! #code: 0 !! #file: "./vendor/symfony/framework-bundle/Kernel/MicroKernelTrait.php" !! #line: 132 !! trace: { !! ./vendor/symfony/framework-bundle/Kernel/MicroKernelTrait.php:132 { …} !! ./vendor/symfony/http-kernel/Kernel.php:386 { …} !! ./vendor/symfony/http-kernel/Kernel.php:788 { …} !! ./vendor/symfony/http-kernel/Kernel.php:128 { …} !! ./vendor/symfony/framework-bundle/Console/Application.php:168 { …} !! ./vendor/symfony/framework-bundle/Console/Application.php:74 { …} !! ./vendor/symfony/console/Application.php:171 { …} !! ./vendor/symfony/runtime/Runner/Symfony/ConsoleApplicationRunner.php:54 { …} !! ./vendor/autoload_runtime.php:35 { …} !! ./bin/console:11 { !! › !! › require_once dirname(__DIR__).'/vendor/autoload_runtime.php'; !! › !! arguments: { !! "/Users/konradoboza/projects/ibexa33/vendor/autoload_runtime.php" !! } !! } !! } !! }
The issue is caused by the missing entry in autoload section of ezcommerce-transaction composer.json file.