Skip to content
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

PHP Deprecated: #571

Open
lxregistry opened this issue Jan 24, 2025 · 1 comment
Open

PHP Deprecated: #571

lxregistry opened this issue Jan 24, 2025 · 1 comment

Comments

@lxregistry
Copy link

PHP Deprecated: ReCaptcha\ReCaptcha::__construct(): Implicitly marking parameter $requestMethod as nullable is deprecated, the explicit nullable type must be used instead in /var/www/vhosts/mysite.com/vendor/google/recaptcha/src/ReCaptcha/ReCaptcha.php on line 139

@phpfui
Copy link

phpfui commented Feb 20, 2025

A PR was submitted for this issue, but this library looks dead. Also Google is sunsetting this API at the end of 2025. Going forward you will be required to use the Enterprise version. Google is emailing upgrade info to everyone in the near future. In the meantime, if you want a PHP 8.4 compatible library, check out:

phpfui/recaptcha

Should be a drop in replacement. Just replace google with phpfui in your composer.json file and change the version to ^2.0.

Let me know of any issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants