Magento2: Notice: Use of undefined constant MCRYPT_BLOWFISH - assumed 'MCRYPT_BLOWFISH'

magento.stackexchange https://magento.stackexchange.com/questions/277311

  •  03-03-2021
  •  | 
  •  

I have installed Zend OPcache v7.1.30-1+ubuntu16.04.1+deb.sury.org+1 on my ubuntu machine but on indexing command it shows error Notice: Use of undefined constant MCRYPT_BLOWFISH - assumed 'MCRYPT_BLOWFISH'

please suggest pic1

有帮助吗?

解决方案

It's looks like missing mcrypt

sudo apt-get install php7.1-mcrypt

And

sudo phpenmod mcrypt
许可以下: CC-BY-SA归因
scroll top