cancel
Showing results for 
Search instead for 
Did you mean: 

Fatal error: Uncaught Error: Call to undefined function mcrypt_module_open()

SOLVED

Fatal error: Uncaught Error: Call to undefined function mcrypt_module_open()

I have upgraded my PHP version 5.6 to 7.4, my current magento version is 1.9.

After upgrading php version I am getting this error "Fatal error: Uncaught Error: Call to undefined function mcrypt_module_open()  lib/Varien/Crypt/Mcrypt.php on line 74". How to resolve this issue? This is live site. Please help.

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Fatal error: Uncaught Error: Call to undefined function mcrypt_module_open()

Hello @meneel 

Magento 1.9 is not compatible with php 7.4.
You can max use PHP 7.0 but you may need to install this compatibility extension

https://github.com/Inchoo/Inchoo_PHP7

 

We recommend to upgrade your Magento version to 2.4 which supports php7.4 and have all the latest features and security,

Was my answer helpful? You can accept it as a solution.
175+ professional extensions
Need a developer?Hire Magento Developer

View solution in original post

1 REPLY 1

Re: Fatal error: Uncaught Error: Call to undefined function mcrypt_module_open()

Hello @meneel 

Magento 1.9 is not compatible with php 7.4.
You can max use PHP 7.0 but you may need to install this compatibility extension

https://github.com/Inchoo/Inchoo_PHP7

 

We recommend to upgrade your Magento version to 2.4 which supports php7.4 and have all the latest features and security,

Was my answer helpful? You can accept it as a solution.
175+ professional extensions
Need a developer?Hire Magento Developer