PHP 7(.3) s2Member Framework shows 2 warnings, 3 errors

Hello, and thanks for your excellent work.

I ran a PHP compatibility checker (specifically for PHP 7.3, which is what we’re using) and for s2Member Framework it shows “2 warnings, 3 errors.” (See below.)

The s2member framework is essential on one of our sites, so I’m posting to ask if an update is forthcoming that will address these issues?

= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
FILE: /wp-content/plugins/s2member/src/vendor/paragonie/random_compat/lib/random_bytes_mcrypt.php
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
FOUND 3 ERRORS AFFECTING 1 LINE
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
58 | ERROR | Extension ‘mcrypt’ is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead

58 | ERROR | Function mcrypt_create_iv() is deprecated since PHP 7.1 and removed since PHP 7.2; Use random_bytes() or OpenSSL instead

58 | ERROR | The constant “MCRYPT_DEV_URANDOM” is deprecated since PHP 7.1 and removed since PHP 7.2
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =

= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
FILE: /wp-content/plugins/s2member/src/vendor/paragonie/random_compat/lib/byte_safe_strings.php
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
32 | WARNING | INI directive ‘mbstring.func_overload’ is deprecated since PHP 7.2
86 | WARNING | INI directive ‘mbstring.func_overload’ is deprecated since PHP 7.2
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =

Hi Doug.

Those are from a library for backward compatibility and only loaded when an older PHP version is used. See my reply here: Php 7.2 - is it fully supported?

:slight_smile:

1 Like

Thank you!

1 Like

I’ve been running s2 on 7.3 on Kinsta for months now with no concerns.

1 Like