Title: PHP 7 error
Last modified: February 15, 2018

---

# PHP 7 error

 *  [theguitarlesson](https://wordpress.org/support/users/theguitarlesson/)
 * (@theguitarlesson)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/php-7-error-12/)
 * Hi, it looks like the plugin isn’t working under PHP7. I use it on the user registration
   page, I get this error message in the error log:
 *     ```
       [15-Feb-2018 09:40:32 UTC] PHP Warning:  file_get_contents(https://www.google.com/recaptcha/api/siteverify?secret=6Lfi3v4SAAAAADGnNmtmphY4IVN8vsFncvL9CW87&remoteip=80.99.111.85&v=wp_php_1.0&response=03AA7ASh0Qfr-VxzlgLKtgq-8JS0J6DiWXG0SjQhS-pKI9gDPJpdhe3mNGqHllkLzmUKPULdvGqNFq_yH7rDDFxoZQxFp3fsNPhW6E2Yob9U8ZcRMCKiaNoM2xb2el1IhFPnUqWHMrXxFReLPNkIdbtMTQ5b7AOf1zPsO-m0VesLvT6wgRChTsjK4h-6TyInA1TCHkjmxtdn8jdJ4U3TUmvdDS64f8tdS5MgOXtl79GANekOGS2FLwMEhj4Uzpa9O7tRnwXzZcZlslrj4cVTnkvfooTX5Eeg5kV6q51uQ6LwGW24V4nmCjDvbFvQKXht-7DgkfZ5CBPtVEjD2MVgrDTuwFAriDQ9MAC44fZ5761p96slEfLipn3wcRcbJpyfTUAAHID6BDx840): failed to open stream: no suitable wrapper could be found in /home/XXXXXXX/public_html/theguitarlesson.com/wp-content/plugins/wp-recaptcha/recaptchalib.php on line 94
       [15-Feb-2018 09:40:32 UTC] PHP Warning:  A non-numeric value encountered in /home/XXXXXXX/public_html/theguitarlesson.com/wp-content/plugins/wp-recaptcha/recaptchalib.php on line 133
       ```
   
 * The result is that users can’t register.
 * Hope you can fix it, thanks!
    Tom

Viewing 1 replies (of 1 total)

 *  [writeto](https://wordpress.org/support/users/writeto/)
 * (@writeto)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/php-7-error-12/#post-10068971)
 * FOUND 4 ERRORS AFFECTING 3 LINES
    ——————————————————————————————————————————————————-
   218 | ERROR | The constant “MCRYPT_MODE_CBC” is deprecated since PHP 7.1 and 
   removed since PHP 7.2 219 | ERROR | The constant “MCRYPT_RIJNDAEL_128” is deprecated
   since PHP 7.1 and removed since PHP 7.2 221 | ERROR | Function mcrypt_encrypt()
   is deprecated since PHP 7.1 and removed since PHP 7.2; Use OpenSSL instead 221
   | ERROR | Extension ‘mcrypt’ is deprecated since PHP 7.1 and removed since PHP
   7.2; Use openssl (preferred) or pecl/mcrypt once available instead ——————————————————————————————————————————————————-

Viewing 1 replies (of 1 total)

The topic ‘PHP 7 error’ is closed to new replies.

 * ![](https://ps.w.org/wp-recaptcha-integration/assets/icon-256x256.png?rev=2337056)
 * [ReCaptcha Integration for WordPress](https://wordpress.org/plugins/wp-recaptcha-integration/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-recaptcha-integration/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-recaptcha-integration/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-recaptcha-integration/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-recaptcha-integration/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-recaptcha-integration/reviews/)

## Tags

 * [php-7](https://wordpress.org/support/topic-tag/php-7/)

 * 1 reply
 * 2 participants
 * Last reply from: [writeto](https://wordpress.org/support/users/writeto/)
 * Last activity: [8 years, 2 months ago](https://wordpress.org/support/topic/php-7-error-12/#post-10068971)
 * Status: not resolved