• Resolved bignevola

    (@bignevola)


    There are some compatibility with PHP 7.2 errors:

      69 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead
      69 | ERROR | Function mcrypt_create_iv() is deprecated since PHP 7.1 and removed since PHP 7.2; Use random_bytes() or OpenSSL instead
     108 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead
     108 | ERROR | Function mcrypt_create_iv() is deprecated since PHP 7.1 and removed since PHP 7.2; Use random_bytes() or OpenSSL instead
     108 | ERROR | The constant "MCRYPT_DEV_URANDOM" is deprecated since PHP 7.1 and removed since PHP 7.2
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Slava Abakumov

    (@slaffik)

    At least some of those issues are completely bogus. For example, the ones relating to phpseclib – we are using one of the latest version of the library, so it’s safe to be used on PHP 7.2. If you are on a newer PHP version – some parts of the library just won’t be loaded (it’s there for compatibility with older PHP).

    Static code analyzers are not 100% accurate and you should take their findings with a grain of salt.

    WP Mail SMTP plugin is compatible with PHP 5.3, 5.4, 5.5, 5.6, 7.0, 7.1 and 7.2 and works without issues on those versions.

    Maybe you should request a whitelisting on WP Engine’s compatibility plugin?
    https://github.com/wpengine/phpcompat/wiki/Results

    Plugin Author Slava Abakumov

    (@slaffik)

    @raygulick This is a good suggestion, but you are the 1st one who provided a link to that page, so users don’t search for compatibility whitelists at all.
    Also, that wiki article was updated 2.5 years ago, so it’s not maintained very well.
    But we still will consider that and thank you for this!

    Plugin Author Jared Atchison

    (@jaredatch)

    @raygulick Thanks for the heads up, we’ve filed an issue. Hopefully they’ll get this resolved and it will prevent confusion in the future. Appreciate it! ??

    https://github.com/wpengine/phpcompat/issues/222

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘PHP 7.2 errors’ is closed to new replies.