PHP 7.2 compatibility?
-
We’re updating a aging instance of WordPress from PHP 5.6 to PHP 7.2 and, when performing the required PHP compatibility check, we are getting a ton of warnings and errors for this plugin. Is this plugin PHP 7.2 compatible? Please see the logs below for more detailed information about the errors and warnings we are seeing. Thanks
FILE: /data/wordpress/wp-content/plugins/saml-20-single-sign-on/lib/views/sso_help.php ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 1 | WARNING | No PHP code was found in this file and short open tags are not allowed by this install of PHP. This file may be using short open tags but PHP does not allow them. ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- FILE: /data/wordpress/wp-content/plugins/saml-20-single-sign-on/saml/www/_include.php -------------------------------------------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE -------------------------------------------------------------------------------------------------------- 21 | ERROR | Function set_magic_quotes_runtime() is deprecated since PHP 5.3 and removed since PHP 7.0 -------------------------------------------------------------------------------------------------------- FILE: /data/wordpress/wp-content/plugins/saml-20-single-sign-on/saml/www/auth/login.php --------------------------------------------------------------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE --------------------------------------------------------------------------------------------------------------------------- 40 | ERROR | Using 'continue' outside of a loop or switch structure is invalid and will throw a fatal error since PHP 7.0 --------------------------------------------------------------------------------------------------------------------------- FILE: /data/wordpress/wp-content/plugins/saml-20-single-sign-on/saml/templates/includes/footer-embed.php ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 1 | WARNING | No PHP code was found in this file and short open tags are not allowed by this install of PHP. This file may be using short open tags but PHP does not allow them. ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- FILE: /data/wordpress/wp-content/plugins/saml-20-single-sign-on/saml/modules/core/templates/loginuserpass.php ------------------------------------------------------------------------------------------------------------- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE ------------------------------------------------------------------------------------------------------------- 1 | WARNING | File has mixed line endings; this may cause incorrect results ------------------------------------------------------------------------------------------------------------- FILE: /data/wordpress/wp-content/plugins/saml-20-single-sign-on/saml/modules/core/lib/Auth/Process/PHP.php ---------------------------------------------------------------------------------------------------------- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE ---------------------------------------------------------------------------------------------------------- 47 | WARNING | Function create_function() is deprecated since PHP 7.2; Use an anonymous function instead ---------------------------------------------------------------------------------------------------------- FILE: /data/wordpress/wp-content/plugins/saml-20-single-sign-on/saml/modules/core/lib/Auth/Process/GenerateGroups.php --------------------------------------------------------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE --------------------------------------------------------------------------------------------------------------------- 142 | ERROR | preg_replace() - /e modifier is deprecated since PHP 5.5 and removed since PHP 7.0 --------------------------------------------------------------------------------------------------------------------- FILE: /data/wordpress/wp-content/plugins/saml-20-single-sign-on/saml/modules/core/lib/Storage/SQLPermanentStorage.php --------------------------------------------------------------------------------------------------------------------- FOUND 22 ERRORS AFFECTING 22 LINES --------------------------------------------------------------------------------------------------------------------- 70 | ERROR | Extension 'sqlite' is removed since PHP 5.4 74 | ERROR | Extension 'sqlite' is removed since PHP 5.4 75 | ERROR | Extension 'sqlite' is removed since PHP 5.4 76 | ERROR | Extension 'sqlite' is removed since PHP 5.4 77 | ERROR | Extension 'sqlite' is removed since PHP 5.4 78 | ERROR | Extension 'sqlite' is removed since PHP 5.4 80 | ERROR | Extension 'sqlite' is removed since PHP 5.4 91 | ERROR | Extension 'sqlite' is removed since PHP 5.4 95 | ERROR | Extension 'sqlite' is removed since PHP 5.4 96 | ERROR | Extension 'sqlite' is removed since PHP 5.4 99 | ERROR | Extension 'sqlite' is removed since PHP 5.4 100 | ERROR | Extension 'sqlite' is removed since PHP 5.4 101 | ERROR | Extension 'sqlite' is removed since PHP 5.4 134 | ERROR | Extension 'sqlite' is removed since PHP 5.4 135 | ERROR | Extension 'sqlite' is removed since PHP 5.4 136 | ERROR | Extension 'sqlite' is removed since PHP 5.4 177 | ERROR | Extension 'sqlite' is removed since PHP 5.4 178 | ERROR | Extension 'sqlite' is removed since PHP 5.4 179 | ERROR | Extension 'sqlite' is removed since PHP 5.4 198 | ERROR | Extension 'sqlite' is removed since PHP 5.4 199 | ERROR | Extension 'sqlite' is removed since PHP 5.4 200 | ERROR | Extension 'sqlite' is removed since PHP 5.4 --------------------------------------------------------------------------------------------------------------------- FILE: /data/wordpress/wp-content/plugins/saml-20-single-sign-on/saml/lib/SimpleSAML/Utilities.php -------------------------------------------------------------------------------------------------------------------------------------------------------- FOUND 18 ERRORS AFFECTING 11 LINES -------------------------------------------------------------------------------------------------------------------------------------------------------- 2231 | ERROR | The constant "MCRYPT_RIJNDAEL_256" is deprecated since PHP 7.1 and removed since PHP 7.2 2232 | ERROR | The constant "MCRYPT_MODE_CBC" is deprecated since PHP 7.1 and removed since PHP 7.2 2234 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead 2234 | ERROR | Function mcrypt_get_block_size() is deprecated since PHP 7.1 and removed since PHP 7.2; Use OpenSSL instead 2235 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead 2235 | ERROR | Function mcrypt_get_iv_size() is deprecated since PHP 7.1 and removed since PHP 7.2; Use OpenSSL instead 2236 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead 2236 | ERROR | Function mcrypt_get_key_size() is deprecated since PHP 7.1 and removed since PHP 7.2; Use OpenSSL instead 2247 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead 2247 | ERROR | Function mcrypt_encrypt() is deprecated since PHP 7.1 and removed since PHP 7.2; Use OpenSSL instead 2267 | ERROR | The constant "MCRYPT_RIJNDAEL_256" is deprecated since PHP 7.1 and removed since PHP 7.2 2268 | ERROR | The constant "MCRYPT_MODE_CBC" is deprecated since PHP 7.1 and removed since PHP 7.2 2270 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead 2270 | ERROR | Function mcrypt_get_iv_size() is deprecated since PHP 7.1 and removed since PHP 7.2; Use OpenSSL instead 2271 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead 2271 | ERROR | Function mcrypt_get_key_size() is deprecated since PHP 7.1 and removed since PHP 7.2; Use OpenSSL instead 2279 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead 2279 | ERROR | Function mcrypt_decrypt() is deprecated since PHP 7.1 and removed since PHP 7.2; Use OpenSSL instead -------------------------------------------------------------------------------------------------------------------------------------------------------- FILE: /data/wordpress/wp-content/plugins/saml-20-single-sign-on/saml/lib/SimpleSAML/Logger/LoggingHandlerFile.php ----------------------------------------------------------------------------------------------------------------- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE ----------------------------------------------------------------------------------------------------------------- 1 | WARNING | File has mixed line endings; this may cause incorrect results ----------------------------------------------------------------------------------------------------------------- FILE: /data/wordpress/wp-content/plugins/saml-20-single-sign-on/saml/lib/SimpleSAML/Logger/LoggingHandlerErrorLog.php --------------------------------------------------------------------------------------------------------------------- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE --------------------------------------------------------------------------------------------------------------------- 1 | WARNING | File has mixed line endings; this may cause incorrect results --------------------------------------------------------------------------------------------------------------------- FILE: /data/wordpress/wp-content/plugins/saml-20-single-sign-on/saml/lib/xmlseclibs.php ------------------------------------------------------------------------------------------------------------------------------------------------------- FOUND 42 ERRORS AFFECTING 25 LINES ------------------------------------------------------------------------------------------------------------------------------------------------------- 209 | ERROR | The constant "MCRYPT_TRIPLEDES" is deprecated since PHP 7.1 and removed since PHP 7.2 210 | ERROR | The constant "MCRYPT_MODE_CBC" is deprecated since PHP 7.1 and removed since PHP 7.2 216 | ERROR | The constant "MCRYPT_RIJNDAEL_128" is deprecated since PHP 7.1 and removed since PHP 7.2 217 | ERROR | The constant "MCRYPT_MODE_CBC" is deprecated since PHP 7.1 and removed since PHP 7.2 223 | ERROR | The constant "MCRYPT_RIJNDAEL_128" is deprecated since PHP 7.1 and removed since PHP 7.2 224 | ERROR | The constant "MCRYPT_MODE_CBC" is deprecated since PHP 7.1 and removed since PHP 7.2 230 | ERROR | The constant "MCRYPT_RIJNDAEL_128" is deprecated since PHP 7.1 and removed since PHP 7.2 231 | ERROR | The constant "MCRYPT_MODE_CBC" is deprecated since PHP 7.1 and removed since PHP 7.2 318 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead 318 | ERROR | Function mcrypt_create_iv() is deprecated since PHP 7.1 and removed since PHP 7.2; Use random_bytes() or OpenSSL instead 318 | ERROR | The constant "MCRYPT_RAND" is deprecated since PHP 7.1 and removed since PHP 7.2 391 | ERROR | The constant "MCRYPT_RIJNDAEL_128" is deprecated since PHP 7.1 and removed since PHP 7.2 409 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead 409 | ERROR | Function mcrypt_module_open() is deprecated since PHP 7.1 and removed since PHP 7.2; Use OpenSSL instead 410 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead 410 | ERROR | Function mcrypt_create_iv() is deprecated since PHP 7.1 and removed since PHP 7.2; Use random_bytes() or OpenSSL instead 410 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead 410 | ERROR | Function mcrypt_enc_get_iv_size() is deprecated since PHP 7.1 and removed since PHP 7.2; Use OpenSSL instead 410 | ERROR | The constant "MCRYPT_RAND" is deprecated since PHP 7.1 and removed since PHP 7.2 411 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead 411 | ERROR | Function mcrypt_generic_init() is deprecated since PHP 7.1 and removed since PHP 7.2; Use OpenSSL instead 412 | ERROR | The constant "MCRYPT_MODE_CBC" is deprecated since PHP 7.1 and removed since PHP 7.2 413 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead 413 | ERROR | Function mcrypt_enc_get_block_size() is deprecated since PHP 7.1 and removed since PHP 7.2; Use OpenSSL instead 418 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead 418 | ERROR | Function mcrypt_generic() is deprecated since PHP 7.1 and removed since PHP 7.2; Use OpenSSL instead 419 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead 419 | ERROR | Function mcrypt_generic_deinit() is deprecated since PHP 7.1 and removed since PHP 7.2; Use OpenSSL instead 420 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead 420 | ERROR | Function mcrypt_module_close() is deprecated since PHP 7.1 and removed since PHP 7.2; Use OpenSSL instead 425 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead 425 | ERROR | Function mcrypt_module_open() is deprecated since PHP 7.1 and removed since PHP 7.2; Use OpenSSL instead 426 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead 426 | ERROR | Function mcrypt_enc_get_iv_size() is deprecated since PHP 7.1 and removed since PHP 7.2; Use OpenSSL instead 431 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead 431 | ERROR | Function mcrypt_generic_init() is deprecated since PHP 7.1 and removed since PHP 7.2; Use OpenSSL instead 432 | ERROR | Function mdecrypt_generic() is deprecated since PHP 7.1 and removed since PHP 7.2; Use OpenSSL instead 433 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead 433 | ERROR | Function mcrypt_generic_deinit() is deprecated since PHP 7.1 and removed since PHP 7.2; Use OpenSSL instead 434 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead 434 | ERROR | Function mcrypt_module_close() is deprecated since PHP 7.1 and removed since PHP 7.2; Use OpenSSL instead 435 | ERROR | The constant "MCRYPT_MODE_CBC" is deprecated since PHP 7.1 and removed since PHP 7.2 ------------------------------------------------------------------------------------------------------------------------------------------------------- FILE: /data/wordpress/wp-content/plugins/saml-20-single-sign-on/saml/lib/_autoload.php -------------------------------------------------------------------------------------- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE -------------------------------------------------------------------------------------- 70 | WARNING | Use of __autoload() function is deprecated since PHP 7.2 --------------------------------------------------------------------------------------The page I need help with: [log in to see the link]
The topic ‘PHP 7.2 compatibility?’ is closed to new replies.