• Resolved tkoziara

    (@tkoziara)


    Hi,

    After a recent website update to WP 7.2 the following warnings/errors have been reported for the WP Mail SMTP plugin (pasted in below). I hope that these issues will be easy to address in the forthcoming plugin updates:)

    Best regards,
    Tomek

    WP Mail SMTP – Warnings: 4 Errors: 5
    FILE: /nas/content/live/distanceenergy/wp-content/plugins/wp-mail-smtp/vendor/guzzlehttp/promises/src/functions.php
    ——————————————————————————————————————-
    FOUND 0 ERRORS AND 3 WARNINGS AFFECTING 3 LINES
    ——————————————————————————————————————-
    222 | WARNING | Function each() is deprecated since PHP 7.2; Use a foreach loop instead
    257 | WARNING | Function each() is deprecated since PHP 7.2; Use a foreach loop instead
    313 | WARNING | Function each() is deprecated since PHP 7.2; Use a foreach loop instead
    ——————————————————————————————————————-

    FILE: /nas/content/live/distanceenergy/wp-content/plugins/wp-mail-smtp/vendor/phpseclib/phpseclib/phpseclib/bootstrap.php
    ————————————————————————————————————————-
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ————————————————————————————————————————-
    10 | WARNING | INI directive ‘mbstring.func_overload’ is deprecated since PHP 7.2
    ————————————————————————————————————————-

    FILE: /nas/content/live/distanceenergy/wp-content/plugins/wp-mail-smtp/vendor/phpseclib/phpseclib/phpseclib/Crypt/Random.php
    ——————————————————————————————————————————————————-
    FOUND 5 ERRORS AFFECTING 2 LINES
    ——————————————————————————————————————————————————-
    69 | ERROR | Function mcrypt_create_iv() is deprecated since PHP 7.1 and removed since PHP 7.2; Use random_bytes() or OpenSSL instead
    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
    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 | 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 | The constant “MCRYPT_DEV_URANDOM” is deprecated since PHP 7.1 and removed since PHP 7.2
    ————————————————————————————————————————————————

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi Tomek,

    It seems to be the false positive PHP error detection on each() function by the PHP compatibility plugin (if you’re using). Here’s more discussion. You might need to contact the PHP compatibility plugin support.

    In case it helps, here’s similar support query.

    If you are getting these errors while using this plugin, please let me know the steps to reproduce the error.

    I hope this helps!

    Hi @tkoziara,

    We haven’t heard from you in about a week, so I’m going to go ahead and mark this ticket resolved. If you still have questions, though, please feel welcome to continue the conversation.

    Thread Starter tkoziara

    (@tkoziara)

    Hi Sanjeev,

    Sorry, I wasn’t able to catch up quickly. For the time being this aspect of our website seems to be working correctly despite the reported errors. So we’ll just ignore this for now. Thank you for providing advice nonetheless:)

    Best regards,
    Tomek

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Plugin erros with WP 7.2’ is closed to new replies.