PHP Compatibility Index

Is Two Factor Authentication compatible with PHP 8?

Version 1.16.0 · 20,000+ active installs · requires PHP 5.6

No PHP 8.0–8.5 problems found

No removed or deprecated PHP features found in Two Factor Authentication 1.16.0 for PHP 8.0 to 8.5.

PHP 8.0
✓
PHP 8.1
✓
PHP 8.2
✓
PHP 8.3
✓
PHP 8.4
✓
PHP 8.5
✓

✓ no problems · ⚠ deprecation notices only (still works) · ✗ uses something removed in that PHP version

Check your whole site, not just one plugin. The free PHP Upgrade Check plugin scans every plugin and theme you have installed (including premium and custom ones) and explains each problem. It runs on any host.

Removed long ago or protected by a check (code that most likely never runs on PHP 8)

File:lineWhat
simba-tfa/providers/totp/loader.php:938Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead
simba-tfa/providers/totp/loader.php:938Function mcrypt_get_iv_size() is deprecated since PHP 7.1 and removed since PHP 7.2; Use OpenSSL instead
simba-tfa/providers/totp/loader.php:938The constant "MCRYPT_RIJNDAEL_128" is deprecated since PHP 7.1 and removed since PHP 7.2
simba-tfa/providers/totp/loader.php:938The constant "MCRYPT_MODE_CBC" is deprecated since PHP 7.1 and removed since PHP 7.2
simba-tfa/providers/totp/loader.php:950Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead
simba-tfa/providers/totp/loader.php:950Function mcrypt_encrypt() is deprecated since PHP 7.1 and removed since PHP 7.2; Use OpenSSL instead
simba-tfa/providers/totp/loader.php:950The constant "MCRYPT_RIJNDAEL_128" is deprecated since PHP 7.1 and removed since PHP 7.2
simba-tfa/providers/totp/loader.php:950The constant "MCRYPT_MODE_CBC" is deprecated since PHP 7.1 and removed since PHP 7.2
simba-tfa/providers/totp/loader.php:958Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead
simba-tfa/providers/totp/loader.php:958Function mcrypt_decrypt() is deprecated since PHP 7.1 and removed since PHP 7.2; Use OpenSSL instead
simba-tfa/providers/totp/loader.php:958The constant "MCRYPT_RIJNDAEL_128" is deprecated since PHP 7.1 and removed since PHP 7.2
simba-tfa/providers/totp/loader.php:958The constant "MCRYPT_MODE_CBC" is deprecated since PHP 7.1 and removed since PHP 7.2
simba-tfa/simba-tfa.php:754Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead
simba-tfa/simba-tfa.php:754Function mcrypt_create_iv() is deprecated since PHP 7.1 and removed since PHP 7.2; Use random_bytes() or OpenSSL instead
simba-tfa/simba-tfa.php:754The constant "MCRYPT_RAND" is deprecated since PHP 7.1 and removed since PHP 7.2

Plugin page on WordPress.org: two-factor-authentication