Warning: Use of undefined constant MCRYPT_RIJNDAEL_256

by Pratik Patel   Last Updated June 13, 2019 11:09 AM

I have site in Magento 2.2.

But after move site one server to another server it's stopped working.

Show me below error in exception.log file.

[2019-06-13 10:13:36] main.CRITICAL: Warning: Use of undefined constant MCRYPT_RIJNDAEL_256 - assumed 'MCRYPT_RIJNDAEL_256' (this will throw an Error in a future version of PHP) in /home/elitemm5/public_html/britanica/vendor/magento/framework/Encryption/Encryptor.php on line 394 {"exception":"[object] (Exception(code: 0): Warning: Use of undefined constant MCRYPT_RIJNDAEL_256 - assumed 'MCRYPT_RIJNDAEL_256' (this will throw an Error in a future version of PHP) in /home/elitemm5/public_html/britanica/vendor/magento/framework/Encryption/Encryptor.php on line 394 at /home/elitemm5/public_html/britanica/vendor/magento/framework/App/ErrorHandler.php:61)"} []

Any type of help will be appreciated.

Thanks!



Related Questions


Updated May 03, 2018 13:09 PM

Updated September 06, 2018 06:09 AM

Updated May 03, 2018 14:09 PM

Updated April 02, 2018 22:09 PM

Updated December 07, 2016 08:03 AM