PHP 7.4 + Compatibility Issues
-
Hi There,
I hope you are well,
I was wondering whether you could assist with the below report, our Web hosts are upgrading our servers which in turn means they will only be supporting PHP 7.4 and up. The report is generated through our Hosts PHP compatibility checker and indicates several issues.
If you could please advise what steps should be taken to ensure compatibility and continued functionality it would be greatly appreciated. Apologies for the messiness, unfortunately, this platform doesn’t allow pretty file uploads nor does it seem that I can send it to you in another way.
——————————————————————————
Report:
File Line Column Type Message Source Severity Fixable wp-content/plugins/updraftplus/includes/updraft-restorer-skin.php 40 12 error Since PHP 7.0, functions inspecting arguments, like func_get_args(), no longer report the original value as passed to a parameter, but will instead provide the current value. The parameter \$string\" was changed on line 36." PHPCompatibility.FunctionUse.ArgumentFunctionsReportCurrentValue.Changed 5 0 wp-content/plugins/updraftplus/vendor/phpseclib/phpseclib/phpseclib/Crypt/Base.php 829 18 error Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2 PHPCompatibility.Extensions.RemovedExtensions.mcryptDeprecatedRemoved 5 0 Use openssl (preferred) or pecl/mcrypt once available instead" wp-content/plugins/updraftplus/vendor/phpseclib/phpseclib/phpseclib/Crypt/Base.php 829 18 error Function mcrypt_generic_init() is deprecated since PHP 7.1 and removed since PHP 7.2 PHPCompatibility.FunctionUse.RemovedFunctions.mcrypt_generic_initDeprecatedRemoved 5 0 Use OpenSSL instead" wp-content/plugins/updraftplus/vendor/phpseclib/phpseclib/phpseclib/Crypt/Base.php 862 30 error Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2 PHPCompatibility.Extensions.RemovedExtensions.mcryptDeprecatedRemoved 5 0 Use openssl (preferred) or pecl/mcrypt once available instead" wp-content/plugins/updraftplus/vendor/phpseclib/phpseclib/phpseclib/Crypt/Base.php 862 30 error Function mcrypt_generic_init() is deprecated since PHP 7.1 and removed since PHP 7.2 PHPCompatibility.FunctionUse.RemovedFunctions.mcrypt_generic_initDeprecatedRemoved 5 0 Use OpenSSL instead" wp-content/plugins/updraftplus/vendor/phpseclib/phpseclib/phpseclib/Crypt/Base.php 865 40 error Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2 PHPCompatibility.Extensions.RemovedExtensions.mcryptDeprecatedRemoved 5 0 Use openssl (preferred) or pecl/mcrypt once available instead" wp-content/plugins/updraftplus/vendor/phpseclib/phpseclib/phpseclib/Crypt/Base.php 865 40 error Function mcrypt_generic() is deprecated since PHP 7.1 and removed since PHP 7.2 PHPCompatibility.FunctionUse.RemovedFunctions.mcrypt_genericDeprecatedRemoved 5 0 Use OpenSSL instead" wp-content/plugins/updraftplus/vendor/phpseclib/phpseclib/phpseclib/Crypt/Base.php 870 36 error Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2 PHPCompatibility.Extensions.RemovedExtensions.mcryptDeprecatedRemoved 5 0 Use openssl (preferred) or pecl/mcrypt once available instead" wp-content/plugins/updraftplus/vendor/phpseclib/phpseclib/phpseclib/Crypt/Base.php 870 36 error Function mcrypt_generic() is deprecated since PHP 7.1 and removed since PHP 7.2 PHPCompatibility.FunctionUse.RemovedFunctions.mcrypt_genericDeprecatedRemoved 5 0 Use OpenSSL instead" wp-content/plugins/updraftplus/vendor/phpseclib/phpseclib/phpseclib/Crypt/Base.php 879 28 error Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2 PHPCompatibility.Extensions.RemovedExtensions.mcryptDeprecatedRemoved 5 0 Use openssl (preferred) or pecl/mcrypt once available instead" wp-content/plugins/updraftplus/vendor/phpseclib/phpseclib/phpseclib/Crypt/Base.php 879 28 error Function mcrypt_generic() is deprecated since PHP 7.1 and removed since PHP 7.2 PHPCompatibility.FunctionUse.RemovedFunctions.mcrypt_genericDeprecatedRemoved 5 0 Use OpenSSL instead" wp-content/plugins/updraftplus/vendor/phpseclib/phpseclib/phpseclib/Crypt/Base.php 889 28 error Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2 PHPCompatibility.Extensions.RemovedExtensions.mcryptDeprecatedRemoved 5 0 Use openssl (preferred) or pecl/mcrypt once available instead" wp-content/plugins/updraftplus/vendor/phpseclib/phpseclib/phpseclib/Crypt/Base.php 889 28 error Function mcrypt_generic() is deprecated since PHP 7.1 and removed since PHP 7.2 PHPCompatibility.FunctionUse.RemovedFunctions.mcrypt_genericDeprecatedRemoved 5 0 Use OpenSSL instead" wp-content/plugins/updraftplus/vendor/phpseclib/phpseclib/phpseclib/Crypt/Base.php 892 18 error Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2 PHPCompatibility.Extensions.RemovedExtensions.mcryptDeprecatedRemoved 5 0 Use openssl (preferred) or pecl/mcrypt once available instead" wp-content/plugins/updraftplus/vendor/phpseclib/phpseclib/phpseclib/Crypt/Base.php 892 18 error Function mcrypt_generic_init() is deprecated since PHP 7.1 and removed since PHP 7.2 PHPCompatibility.FunctionUse.RemovedFunctions.mcrypt_generic_initDeprecatedRemoved 5 0 Use OpenSSL instead" wp-content/plugins/updraftplus/vendor/phpseclib/phpseclib/phpseclib/Crypt/Base.php 1141 18 error Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2 PHPCompatibility.Extensions.RemovedExtensions.mcryptDeprecatedRemoved 5 0 Use openssl (preferred) or pecl/mcrypt once available instead" wp-content/plugins/updraftplus/vendor/phpseclib/phpseclib/phpseclib/Crypt/Base.php 1141 18 error Function mcrypt_generic_init() is deprecated since PHP 7.1 and removed since PHP 7.2 PHPCompatibility.FunctionUse.RemovedFunctions.mcrypt_generic_initDeprecatedRemoved 5 0 Use OpenSSL instead" wp-content/plugins/updraftplus/vendor/phpseclib/phpseclib/phpseclib/Crypt/Base.php 1169 35 error Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2 PHPCompatibility.Extensions.RemovedExtensions.mcryptDeprecatedRemoved 5 0 Use openssl (preferred) or pecl/mcrypt once available instead" wp-content/plugins/updraftplus/vendor/phpseclib/phpseclib/phpseclib/Crypt/Base.php 1169 35 error Function mcrypt_generic() is deprecated since PHP 7.1 and removed since PHP 7.2 PHPCompatibility.FunctionUse.RemovedFunctions.mcrypt_genericDeprecatedRemoved 5 0 Use OpenSSL instead" wp-content/plugins/updraftplus/vendor/phpseclib/phpseclib/phpseclib/Crypt/Base.php 1174 28 error Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2 PHPCompatibility.Extensions.RemovedExtensions.mcryptDeprecatedRemoved 5 0 Use openssl (preferred) or pecl/mcrypt once available instead" wp-content/plugins/updraftplus/vendor/phpseclib/phpseclib/phpseclib/Crypt/Base.php 1174 28 error Function mcrypt_generic() is deprecated since PHP 7.1 and removed since PHP 7.2 PHPCompatibility.FunctionUse.RemovedFunctions.mcrypt_genericDeprecatedRemoved 5 0 Use OpenSSL instead" wp-content/plugins/updraftplus/vendor/phpseclib/phpseclib/phpseclib/Crypt/Base.php 1183 27 error Function mdecrypt_generic() is deprecated since PHP 7.1 and removed since PHP 7.2 PHPCompatibility.FunctionUse.RemovedFunctions.mdecrypt_genericDeprecatedRemoved 5 0 Use OpenSSL instead" wp-content/plugins/updraftplus/vendor/phpseclib/phpseclib/phpseclib/Crypt/Base.php 1186 18 error Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2 PHPCompatibility.Extensions.RemovedExtensions.mcryptDeprecatedRemoved 5 0 Use openssl (preferred) or pecl/mcrypt once available instead" wp-content/plugins/updraftplus/vendor/phpseclib/phpseclib/phpseclib/Crypt/Base.php 1186 18 error Function mcrypt_generic_init() is deprecated since PHP 7.1 and removed since PHP 7.2 PHPCompatibility.FunctionUse.RemovedFunctions.mcrypt_generic_initDeprecatedRemoved 5 0 Use OpenSSL instead" wp-content/plugins/updraftplus/vendor/phpseclib/phpseclib/phpseclib/Crypt/Base.php 1648 61 error Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2 PHPCompatibility.Extensions.RemovedExtensions.mcryptDeprecatedRemoved 5 0 Use openssl (preferred) or pecl/mcrypt once available instead" wp-content/plugins/updraftplus/vendor/phpseclib/phpseclib/phpseclib/Crypt/Base.php 1648 61 error Function mcrypt_list_algorithms() is deprecated since PHP 7.1 and removed since PHP 7.2 PHPCompatibility.FunctionUse.RemovedFunctions.mcrypt_list_algorithmsDeprecatedRemoved 5 0 Use OpenSSL instead" wp-content/plugins/updraftplus/vendor/phpseclib/phpseclib/phpseclib/Crypt/Base.php 1727 14 error Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2 PHPCompatibility.Extensions.RemovedExtensions.mcryptDeprecatedRemoved 5 0 Use openssl (preferred) or pecl/mcrypt once available instead" wp-content/plugins/updraftplus/vendor/phpseclib/phpseclib/phpseclib/Crypt/Base.php 1727 14 error Function mcrypt_module_close() is deprecated since PHP 7.1 and removed since PHP 7.2 PHPCompatibility.FunctionUse.RemovedFunctions.mcrypt_module_closeDeprecatedRemoved 5 0 Use OpenSSL instead" wp-content/plugins/updraftplus/vendor/phpseclib/phpseclib/phpseclib/Crypt/Base.php 1728 14 error Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2 PHPCompatibility.Extensions.RemovedExtensions.mcryptDeprecatedRemoved 5 0 Use openssl (preferred) or pecl/mcrypt once available instead" wp-content/plugins/updraftplus/vendor/phpseclib/phpseclib/phpseclib/Crypt/Base.php 1728 14 error Function mcrypt_module_close() is deprecated since PHP 7.1 and removed since PHP 7.2 PHPCompatibility.FunctionUse.RemovedFunctions.mcrypt_module_closeDeprecatedRemoved 5 0 Use OpenSSL instead" wp-content/plugins/updraftplus/vendor/phpseclib/phpseclib/phpseclib/Crypt/Base.php 1733 18 error Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2 PHPCompatibility.Extensions.RemovedExtensions.mcryptDeprecatedRemoved 5 0 Use openssl (preferred) or pecl/mcrypt once available instead" wp-content/plugins/updraftplus/vendor/phpseclib/phpseclib/phpseclib/Crypt/Base.php 1733 18 error Function mcrypt_module_close() is deprecated since PHP 7.1 and removed since PHP 7.2 PHPCompatibility.FunctionUse.RemovedFunctions.mcrypt_module_closeDeprecatedRemoved 5 0 Use OpenSSL instead" wp-content/plugins/updraftplus/vendor/phpseclib/phpseclib/phpseclib/Crypt/Base.php 1846 38 error The constant \MCRYPT_MODE_ECB\" is deprecated since PHP 7.1 and removed since PHP 7.2" PHPCompatibility.Constants.RemovedConstants.mcrypt_mode_ecbDeprecatedRemoved 5 0 wp-content/plugins/updraftplus/vendor/phpseclib/phpseclib/phpseclib/Crypt/Base.php 1847 38 error The constant \MCRYPT_MODE_CBC\" is deprecated since PHP 7.1 and removed since PHP 7.2" PHPCompatibility.Constants.RemovedConstants.mcrypt_mode_cbcDeprecatedRemoved 5 0 wp-content/plugins/updraftplus/vendor/phpseclib/phpseclib/phpseclib/Crypt/Base.php 1849 38 error The constant \MCRYPT_MODE_NOFB\" is deprecated since PHP 7.1 and removed since PHP 7.2" PHPCompatibility.Constants.RemovedConstants.mcrypt_mode_nofbDeprecatedRemoved 5 0 wp-content/plugins/updraftplus/vendor/phpseclib/phpseclib/phpseclib/Crypt/Base.php 1850 38 error The constant \MCRYPT_MODE_STREAM\" is deprecated since PHP 7.1 and removed since PHP 7.2" PHPCompatibility.Constants.RemovedConstants.mcrypt_mode_streamDeprecatedRemoved 5 0 wp-content/plugins/updraftplus/vendor/phpseclib/phpseclib/phpseclib/Crypt/Base.php 1853 32 error Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2 PHPCompatibility.Extensions.RemovedExtensions.mcryptDeprecatedRemoved 5 0 Use openssl (preferred) or pecl/mcrypt once available instead" wp-content/plugins/updraftplus/vendor/phpseclib/phpseclib/phpseclib/Crypt/Base.php 1853 32 error Function mcrypt_module_open() is deprecated since PHP 7.1 and removed since PHP 7.2 PHPCompatibility.FunctionUse.RemovedFunctions.mcrypt_module_openDeprecatedRemoved 5 0 Use OpenSSL instead" wp-content/plugins/updraftplus/vendor/phpseclib/phpseclib/phpseclib/Crypt/Base.php 1854 32 error Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2 PHPCompatibility.Extensions.RemovedExtensions.mcryptDeprecatedRemoved 5 0 Use openssl (preferred) or pecl/mcrypt once available instead" wp-content/plugins/updraftplus/vendor/phpseclib/phpseclib/phpseclib/Crypt/Base.php 1854 32 error Function mcrypt_module_open() is deprecated since PHP 7.1 and removed since PHP 7.2 PHPCompatibility.FunctionUse.RemovedFunctions.mcrypt_module_openDeprecatedRemoved 5 0 Use OpenSSL instead" wp-content/plugins/updraftplus/vendor/phpseclib/phpseclib/phpseclib/Crypt/Base.php 1860 31 error Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2 PHPCompatibility.Extensions.RemovedExtensions.mcryptDeprecatedRemoved 5 0 Use openssl (preferred) or pecl/mcrypt once available instead" wp-content/plugins/updraftplus/vendor/phpseclib/phpseclib/phpseclib/Crypt/Base.php 1860 31 error Function mcrypt_module_open() is deprecated since PHP 7.1 and removed since PHP 7.2 PHPCompatibility.FunctionUse.RemovedFunctions.mcrypt_module_openDeprecatedRemoved 5 0 Use OpenSSL instead" wp-content/plugins/updraftplus/vendor/phpseclib/phpseclib/phpseclib/Crypt/Base.php 1860 81 error The constant \MCRYPT_MODE_ECB\" is deprecated since PHP 7.1 and removed since PHP 7.2" PHPCompatibility.Constants.RemovedConstants.mcrypt_mode_ecbDeprecatedRemoved 5 0 wp-content/plugins/updraftplus/vendor/phpseclib/phpseclib/phpseclib/Crypt/Base.php 1865 14 error Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2 PHPCompatibility.Extensions.RemovedExtensions.mcryptDeprecatedRemoved 5 0 Use openssl (preferred) or pecl/mcrypt once available instead" wp-content/plugins/updraftplus/vendor/phpseclib/phpseclib/phpseclib/Crypt/Base.php 1865 14 error Function mcrypt_generic_init() is deprecated since PHP 7.1 and removed since PHP 7.2 PHPCompatibility.FunctionUse.RemovedFunctions.mcrypt_generic_initDeprecatedRemoved 5 0 Use OpenSSL instead" wp-content/plugins/updraftplus/vendor/phpseclib/phpseclib/phpseclib/Crypt/Random.php 77 25 error Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2 PHPCompatibility.Extensions.RemovedExtensions.mcryptDeprecatedRemoved 5 0 Use openssl (preferred) or pecl/mcrypt once available instead" wp-content/plugins/updraftplus/vendor/phpseclib/phpseclib/phpseclib/Crypt/Random.php 77 25 error Function mcrypt_create_iv() is deprecated since PHP 7.1 and removed since PHP 7.2 PHPCompatibility.FunctionUse.RemovedFunctions.mcrypt_create_ivDeprecatedRemoved 5 0 Use random_bytes() or OpenSSL instead" wp-content/plugins/updraftplus/vendor/phpseclib/phpseclib/phpseclib/Crypt/Random.php 119 25 error Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2 PHPCompatibility.Extensions.RemovedExtensions.mcryptDeprecatedRemoved 5 0 Use openssl (preferred) or pecl/mcrypt once available instead" wp-content/plugins/updraftplus/vendor/phpseclib/phpseclib/phpseclib/Crypt/Random.php 119 25 error Function mcrypt_create_iv() is deprecated since PHP 7.1 and removed since PHP 7.2 PHPCompatibility.FunctionUse.RemovedFunctions.mcrypt_create_ivDeprecatedRemoved 5 0 Use random_bytes() or OpenSSL instead" wp-content/plugins/updraftplus/vendor/phpseclib/phpseclib/phpseclib/Crypt/Random.php 119 51 error The constant \MCRYPT_DEV_URANDOM\" is deprecated since PHP 7.1 and removed since PHP 7.2" PHPCompatibility.Constants.RemovedConstants.mcrypt_dev_urandomDeprecatedRemoved 5 0/END
————————————————————————–
The topic ‘PHP 7.4 + Compatibility Issues’ is closed to new replies.