IsometriksSpamBundle icon indicating copy to clipboard operation
IsometriksSpamBundle copied to clipboard

Fatal error since update to latest version on Symfony 3.4

Open picks44 opened this issue 4 years ago • 4 comments

Fatal error: Class Isometriks\Bundle\SpamBundle\Form\Extension\Spam\Type\FormTypeTimedSpamExtension contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (Symfony\Component\Form\FormTy
peExtensionInterface::getExtendedType) in C:\laragon\www\DESiwid\vendor\isometriks\spam-bundle\Form\Extension\Spam\Type\FormTypeTimedSpamExtension.php on line 78

Could you please help?

picks44 avatar Sep 07 '20 10:09 picks44

Ah whoops, I had removed some BC code that I thought we didn't need anymore. I've just put up another release that should fix that error.

isometriks avatar Sep 14 '20 15:09 isometriks

Hi @isometriks, I have a different issue now after upgrading to your latest release Type error: Argument 2 passed to Isometriks\Bundle\SpamBundle\Form\Extension\Spam\Type\FormTypeTimedSpamExtension::__construct() must be an instance of Symfony\Contracts\Translation\TranslatorInterface or null, instance of Symfony\Component\Translation\DataCollectorTranslator given I'll revert back to v1.0.5 in the meantime ;)

picks44 avatar Sep 15 '20 09:09 picks44

Hi @isometriks, same issue as @picks44

-> Symfony 3.4.47 + IsometriksSpamBundle v1.0.7

Type error: Argument 2 passed to Isometriks\Bundle\SpamBundle\Form\Extension\Spam\Type\FormTypeTimedSpamExtension::__construct() must be an instance of Symfony\Contracts\Translation\TranslatorInterface or null, instance of Symfony\Component\Translation\DataCollectorTranslator given

but revert back to v1.0.5 gives same error. Any fix?

Flowwobo avatar Mar 31 '21 06:03 Flowwobo

Using 1.0.5 works for me, 1.0.6 and 1.0.7 fail with the mentioned error messages.

thasmo avatar Sep 29 '21 08:09 thasmo