• Resolved Kramarz

    (@kramarz)


    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

    (@bestwebsoft)

    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

    (@kramarz)

    Ah, cheers for clarification.
    All the best!

    Plugin Author bestwebsoft

    (@bestwebsoft)

    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.