PHP Compatibility Index

Is reCAPTCHA in WP comments form compatible with PHP 8?

Version 9.1.2 · 8,000+ active installs

Works on PHP 8.0–8.5, with deprecation notices from 8.0

No removed PHP features found in reCAPTCHA in WP comments form 9.1.2. It uses 17 deprecated feature(s) that only log notices today.

PHP 8.0
⚠ 9
PHP 8.1
⚠ 9
PHP 8.2
⚠ 9
PHP 8.3
⚠ 9
PHP 8.4
⚠ 12
PHP 8.5
⚠ 17

✓ no problems · ⚠ deprecation notices only (still works) · ✗ uses something removed in that PHP version

Not updated for 7.5 years. Nobody seems to maintain this plugin, so problems found here are unlikely to be fixed. If your site uses it, look for a maintained alternative before upgrading PHP.
Check your whole site, not just one plugin. The free PHP Upgrade Check plugin scans every plugin and theme you have installed (including premium and custom ones) and explains each problem. It runs on any host.

Deprecated (works today, logs notices)

File:lineWhat
includes/backend-interface.php:310The boolean cast is deprecated since PHP 8.5; Use (bool) instead
includes/frontend-interface.php:38The boolean cast is deprecated since PHP 8.5; Use (bool) instead
includes/recaptcha.php:34The boolean cast is deprecated since PHP 8.5; Use (bool) instead
includes/settings.php:365Declaring an optional parameter before a required parameter is deprecated since PHP 8.0. Parameter $data is optional, while parameter $subsectionOrder is required. The $data parameter is implicitly treated as a required parameter.
includes/settings.php:472Declaring an optional parameter before a required parameter is deprecated since PHP 8.0. Parameter $value is optional, while parameter $order is required. The $value parameter is implicitly treated as a required parameter.
includes/settings.php:480Declaring an optional parameter before a required parameter is deprecated since PHP 8.0. Parameter $value is optional, while parameter $order is required. The $value parameter is implicitly treated as a required parameter.
includes/settings.php:486Declaring an optional parameter before a required parameter is deprecated since PHP 8.0. Parameter $value is optional, while parameter $order is required. The $value parameter is implicitly treated as a required parameter.
includes/settings.php:493Declaring an optional parameter before a required parameter is deprecated since PHP 8.0. Parameter $value is optional, while parameter $order is required. The $value parameter is implicitly treated as a required parameter.
includes/settings.php:501Declaring an optional parameter before a required parameter is deprecated since PHP 8.0. Parameter $value is optional, while parameter $order is required. The $value parameter is implicitly treated as a required parameter.
includes/settings.php:507Declaring an optional parameter before a required parameter is deprecated since PHP 8.0. Parameter $value is optional, while parameter $order is required. The $value parameter is implicitly treated as a required parameter.
includes/settings.php:514Declaring an optional parameter before a required parameter is deprecated since PHP 8.0. Parameter $value is optional, while parameter $subsectionOrder is required. The $value parameter is implicitly treated as a required parameter.
includes/settings.php:536Declaring an optional parameter before a required parameter is deprecated since PHP 8.0. Parameter $value is optional, while parameter $subsectionOrder is required. The $value parameter is implicitly treated as a required parameter.
includes/tools.php:39The boolean cast is deprecated since PHP 8.5; Use (bool) instead
recaptcha/src/ReCaptcha/ReCaptcha.php:58Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $requestMethod.
recaptcha/src/ReCaptcha/RequestMethod/Curl.php:72Function curl_close() is deprecated since PHP 8.5
recaptcha/src/ReCaptcha/RequestMethod/CurlPost.php:51Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $curl.
recaptcha/src/ReCaptcha/RequestMethod/SocketPost.php:71Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $socket.

Plugin page on WordPress.org: recaptcha-in-wp-comments-form