IsometriksSpamBundle
IsometriksSpamBundle copied to clipboard
Fatal error since update to latest version on Symfony 3.4
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?
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.
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 ;)
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?
Using 1.0.5
works for me, 1.0.6
and 1.0.7
fail with the mentioned error messages.