-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mautic 5 Incompatible #49
Comments
I wrote a hack in my repo: https://github.com/technik-kvz/mautic-recaptcha/tree/mautic5 if you want to have a look. For me it runs, but it is a dirty hack since I put the code in a helper PHP instead of writing twig stuff (which I was never in touch before). |
Thanks, I'll take a look soon. |
@J-Wick4 will you continue this? |
Hi there, any solution for Mautic 5.2 and php 8.1? I tried to fix the plugin with no exit. |
Looks like a few tweaks need to be made to make it work for Mautic 5.
PHP Fatal error: Declaration of MauticPlugin\MauticRecaptchaBundle\Integration\RecaptchaIntegration::appendToForm(&$builder, $data, $formArea) must be compatible with Mautic\PluginBundle\Integration\AbstractIntegration::appendToForm(&$builder, $data, $formArea): void in /var/www/vhosts/domain.net/subdomains/hello5/docroot/plugins/MauticRecaptchaBundle/Integration/RecaptchaIntegration.php on line 51
In RecaptchaIntegration.php line 51:
Compile Error: Declaration of MauticPlugin\MauticRecaptchaBundle\Integration\RecaptchaIntegration::appe
ndToForm(&$builder, $data, $formArea) must be compatible with Mautic\PluginBundle\Integration\AbstractI
ntegration::appendToForm(&$builder, $data, $formArea): void
The text was updated successfully, but these errors were encountered: