Hallo zusammen,
nach einem Plugin-Update per WI folgendes Problem:
- Stack Trace
ClassNotFoundError
Symfony\Component\ErrorHandler\Error\ClassNotFoundError: Attempted to load class "CmsBlockEntityExtension" from namespace "Swag\CmsExtensions\Extension\Content\Cms\Aggregate\CmsBlock". Did you forget a "use" statement for "Swag\CmsExtensions\Extension\CmsBlockEntityExtension"? at /var/www/html/shopwarehundewelt/var/cache/prod\_h1e78252d7763902adb1a7951d20a1721/ContainerQPi0exg/srcShopware\_Production\_KernelProdContainer.php:4136 at ContainerQPi0exg\srcShopware\_Production\_KernelProdContainer-\>ContainerQPi0exg\{closure}() (/var/www/html/shopwarehundewelt/vendor/shopware/core/Framework/Framework.php:123) at Shopware\Core\Framework\Framework-\>registerEntityExtensions(object(DefinitionInstanceRegistry), object(SalesChannelDefinitionInstanceRegistry), object(ExtensionRegistry)) (/var/www/html/shopwarehundewelt/vendor/shopware/core/Framework/Framework.php:84) at Shopware\Core\Framework\Framework-\>boot() (/var/www/html/shopwarehundewelt/vendor/shopware/core/Kernel.php:143) at Shopware\Core\Kernel-\>boot() (/var/www/html/shopwarehundewelt/vendor/shopware/core/HttpKernel.php:133) at Shopware\Core\HttpKernel-\>doHandle(object(Request), 1, true) (/var/www/html/shopwarehundewelt/vendor/shopware/core/HttpKernel.php:77) at Shopware\Core\HttpKernel-\>handle(object(Request)) (/var/www/html/shopwarehundewelt/public/index.php:83)
in /var/www/html/shopwarehundewelt/var/cache/prod_h1e78252d7763902adb1a7951d20a1721/ContainerQPi0exg/ srcShopware_Production_KernelProdContainer.php (line 4136)
return $this->services['Shopware\\Core\\Framework\\DataAbstractionLayer\\ExtensionRegistry'] = new \Shopware\Core\Framework\DataAbstractionLayer\ExtensionRegistry(new RewindableGenerator(function () {
yield 0 => ($this->privates['Shopware\\Storefront\\Theme\\Extension\\SalesChannelExtension'] ?? ($this->privates['Shopware\\Storefront\\Theme\\Extension\\SalesChannelExtension'] = new \Shopware\Storefront\Theme\Extension\SalesChannelExtension()));
yield 1 => ($this->privates['Shopware\\Storefront\\Theme\\Extension\\LanguageExtension'] ?? ($this->privates['Shopware\\Storefront\\Theme\\Extension\\LanguageExtension'] = new \Shopware\Storefront\Theme\Extension\LanguageExtension()));
yield 2 => ($this->privates['Shopware\\Storefront\\Theme\\Extension\\MediaExtension'] ?? ($this->privates['Shopware\\Storefront\\Theme\\Extension\\MediaExtension'] = new \Shopware\Storefront\Theme\Extension\MediaExtension()));
yield 3 => ($this->privates['Swag\\CmsExtensions\\Extension\\Content\\Cms\\Aggregate\\CmsBlock\\CmsBlockEntityExtension'] ?? ($this->privates['Swag\\CmsExtensions\\Extension\\Content\\Cms\\Aggregate\\CmsBlock\\CmsBlockEntityExtension'] = new \Swag\CmsExtensions\Extension\Content\Cms\Aggregate\CmsBlock\CmsBlockEntityExtension()));
yield 4 => ($this->privates['Swag\\CustomizedProducts\\Extension\\CurrencyExtension'] ?? ($this->privates['Swag\\CustomizedProducts\\Extension\\CurrencyExtension'] = new \Swag\CustomizedProducts\Extension\CurrencyExtension()));
yield 5 => ($this->privates['Swag\\CustomizedProducts\\Extension\\LanguageExtension'] ?? ($this->privates['Swag\\CustomizedProducts\\Extension\\LanguageExtension'] = new \Swag\CustomizedProducts\Extension\LanguageExtension()));
yield 6 => ($this->privates['Swag\\CustomizedProducts\\Extension\\MediaExtension'] ?? ($this->privates['Swag\\CustomizedProducts\\Extension\\MediaExtension'] = new \Swag\CustomizedProducts\Extension\MediaExtension()));
yield 7 => ($this->privates['Swag\\CustomizedProducts\\Extension\\ProductExtension'] ?? ($this->privates['Swag\\CustomizedProducts\\Extension\\ProductExtension'] = new \Swag\CustomizedProducts\Extension\ProductExtension()));
yield 8 => ($this->privates['Swag\\CustomizedProducts\\Extension\\RuleExtension'] ?? ($this->privates['Swag\\CustomizedProducts\\Extension\\RuleExtension'] = new \Swag\CustomizedProducts\Extension\RuleExtension()));
in /var/www/html/shopwarehundewelt/vendor/shopware/core/ Kernel.php -> boot (line 143)
// init container
$this->initializeContainer();
foreach ($this->getBundles() as $bundle) {
$bundle->setContainer($this->container);
$bundle->boot();
}
$this->initializeDatabaseConnectionVariables();
$this->booted = true;
Any ideas??
Per CLI :
In srcShopware_Production_KernelProdContainer.php line 4136:
Attempted to load class „CmsBlockEntityExtension“ from namespace „Swag\CmsE
xtensions\Extension\Content\Cms\Aggregate\CmsBlock“.
Did you forget a „use“ statement for „Swag\CmsExtensions\Extension\CmsBlock
EntityExtension“?
Kann ich das per Konsole regeln, und wenn ja wie?
Grüße