Title: Re: PHP 7.2 Compatibility
Last modified: February 7, 2018

---

# Re: PHP 7.2 Compatibility

 *  Resolved [Kramarz](https://wordpress.org/support/users/kramarz/)
 * (@kramarz)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/re-php-7-2-compatibility/)
 * Hi guys,
 * While running a test for potential compatibility issues towards PHP 7.2 your 
   plugin shows up with following error note:
 * …/wp-content/plugins/google-captcha/lib/recaptchalib.php
    ——————————————————————-
   FOUND 4 ERRORS AFFECTING 3 LINES ——————————————————————- 200 | ERROR | The constant“
   MCRYPT_MODE_CBC” is deprecated since PHP 7.1 and removed since PHP 7.2 201 | 
   ERROR | The constant “MCRYPT_RIJNDAEL_128” is deprecated since PHP 7.1 and removed
   since PHP 7.2 203 | ERROR | Function mcrypt_encrypt() is deprecated since PHP
   7.1 and removed since PHP 7.2; Use OpenSSL instead 203 | ERROR | Extension ‘mcrypt’
   is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred)
   or pecl/mcrypt once available instead
 * Guess you may want to address the issues at some stage 🙂
 * Cheers! Love your work!

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [bestwebsoft](https://wordpress.org/support/users/bestwebsoft/)
 * (@bestwebsoft)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/re-php-7-2-compatibility/#post-9955705)
 * Hi,
 * Thank you for contacting us!
 * Those deprecated functions are only used for the reCAPTCHA v1 which is outdated
   and no longer supported by Google but still works.
    We cannot modify it because
   it will stop working and we cannot remove it because some users are still using
   it. You will not have any problems because of these functions on PHP 7.2 if you
   use reCAPTCHA version 2 or invisible reCAPTCHA.
 * Let us know if you have any additional questions.
 *  Thread Starter [Kramarz](https://wordpress.org/support/users/kramarz/)
 * (@kramarz)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/re-php-7-2-compatibility/#post-9955849)
 * Ah, cheers for clarification.
    All the best!
 *  Plugin Author [bestwebsoft](https://wordpress.org/support/users/bestwebsoft/)
 * (@bestwebsoft)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/re-php-7-2-compatibility/#post-9957290)
 * Hi,
 * Thank you for your reply.
 * Free free to contact us with any questions in future. Have a nice weekend!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Re: PHP 7.2 Compatibility’ is closed to new replies.

 * ![](https://ps.w.org/google-captcha/assets/icon-256x256.gif?rev=2565249)
 * [reCaptcha by BestWebSoft](https://wordpress.org/plugins/google-captcha/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/google-captcha/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/google-captcha/)
 * [Active Topics](https://wordpress.org/support/plugin/google-captcha/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/google-captcha/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/google-captcha/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [bestwebsoft](https://wordpress.org/support/users/bestwebsoft/)
 * Last activity: [8 years, 4 months ago](https://wordpress.org/support/topic/re-php-7-2-compatibility/#post-9957290)
 * Status: resolved