Fatal error: Declaration of MoorlFormsClassic\Core\Content\Form\Action\FormActionMailCopy::process(MoorlForms\Core\Content\Form\FormEntity $form): void must be compatible with MoorlForms\Core\Content\Form\Action\FormActionExtension::process(MoorlForms\Core\Content\Form\FormEntity $form, Symfony\Component\HttpFoundation\Request $request, Shopware\Core\System\SalesChannel\SalesChannelContext $salesChannelContext): void in /home/p-fdl58d/html/objekt-m/custom/plugins/MoorlFormsClassic/src/Core/Content/Form/Action/FormActionMailCopy.php on line 16
Compile Error: Declaration of MoorlFormsClassic\Core\Content\Form\Action\FormActionMailCopy::process(MoorlForms\Core\Content\Form\FormEntity $form): void must be compatible with MoorlForms\Core\Content\Form\Action\FormActionExtension::process(MoorlForms\Core\Content\Form\FormEntity $form, Symfony\Component\HttpFoundation\Request $request, Shopware\Core\System\SalesChannel\SalesChannelContext $salesChannelContext): void (500 Internal Server Error)

Symfony Exception

FatalError

HTTP 500 Internal Server Error

Compile Error: Declaration of MoorlFormsClassic\Core\Content\Form\Action\FormActionMailCopy::process(MoorlForms\Core\Content\Form\FormEntity $form): void must be compatible with MoorlForms\Core\Content\Form\Action\FormActionExtension::process(MoorlForms\Core\Content\Form\FormEntity $form, Symfony\Component\HttpFoundation\Request $request, Shopware\Core\System\SalesChannel\SalesChannelContext $salesChannelContext): void

Exception

Symfony\Component\ErrorHandler\Error\ FatalError

Show exception properties
Symfony\Component\ErrorHandler\Error\FatalError {#15084
  -error: array:4 [
    "type" => 64
    "message" => "Declaration of MoorlFormsClassic\Core\Content\Form\Action\FormActionMailCopy::process(MoorlForms\Core\Content\Form\FormEntity $form): void must be compatible with MoorlForms\Core\Content\Form\Action\FormActionExtension::process(MoorlForms\Core\Content\Form\FormEntity $form, Symfony\Component\HttpFoundation\Request $request, Shopware\Core\System\SalesChannel\SalesChannelContext $salesChannelContext): void"
    "file" => "/home/p-fdl58d/html/objekt-m/custom/plugins/MoorlFormsClassic/src/Core/Content/Form/Action/FormActionMailCopy.php"
    "line" => 16
  ]
}
  1. public function getName(): string
  2. {
  3. return 'mail-copy';
  4. }
  5. public function process(FormEntity $form): void
  6. {
  7. $formData = $form->getDataStruct();
  8. if (!$formData->configValue('mailCopyType')) {
  9. return;
  10. }

Stack Trace

FatalError
Symfony\Component\ErrorHandler\Error\FatalError:
Compile Error: Declaration of MoorlFormsClassic\Core\Content\Form\Action\FormActionMailCopy::process(MoorlForms\Core\Content\Form\FormEntity $form): void must be compatible with MoorlForms\Core\Content\Form\Action\FormActionExtension::process(MoorlForms\Core\Content\Form\FormEntity $form, Symfony\Component\HttpFoundation\Request $request, Shopware\Core\System\SalesChannel\SalesChannelContext $salesChannelContext): void

  at /home/p-fdl58d/html/objekt-m/custom/plugins/MoorlFormsClassic/src/Core/Content/Form/Action/FormActionMailCopy.php:16