Hallo Leute,
bei
v6.3.0.2 Stable Version
da ContactForm kein brauchbares Event feuert möchte ich FormController überschreiben…
Relevanter Auszug aus service.xml :
...
...
[2020-10-31 20:55:15] php.CRITICAL: Uncaught Error: Class 'Shopware\Core\Content\ContactForm\ContactFormService' not found {"exception":"[object] (Error(code: 0): Class 'Shopware\\Core\\Content\\ContactForm\\ContactFormService' not found at /var/www/html/var/cache/prod_h5827d8485abd646c74ebcecce1a228f1/ContainerQnSlxNV/srcShopware_Production_KernelProdContainer.php:3750)"} []
[2020-10-31 20:55:16] request.CRITICAL: Uncaught PHP Exception Symfony\Component\ErrorHandler\Error\ClassNotFoundError: "Attempted to load class "ContactFormService" from namespace "Shopware\Core\Content\ContactForm". Did you forget a "use" statement for another namespace?" at /var/www/html/var/cache/prod_h5827d8485abd646c74ebcecce1a228f1/ContainerQnSlxNV/srcShopware_Production_KernelProdContainer.php line 3750 {"exception":"[object] (Symfony\\Component\\ErrorHandler\\Error\\ClassNotFoundError(code: 0): Attempted to load class \"ContactFormService\" from namespace \"Shopware\\Core\\Content\\ContactForm\".\nDid you forget a \"use\" statement for another namespace? at /var/www/html/var/cache/prod_h5827d8485abd646c74ebcecce1a228f1/ContainerQnSlxNV/srcShopware_Production_KernelProdContainer.php:3750)"} []
Bitte um Kommentare, woran das liegen kann.
Info:
Bei z.B.: dem RegisterController mache ich es ebenso, hier funktioniert das dekorieren der Core-Klasse problemlos:
Danke für Feedback bereits im Voraus!
Lg
Raphael