-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Fresh 2.2 install, mcrypt_module_open is deprecated #21379
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi @paul-gene. Thank you for your report.
Please make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, please, add a comment to the issue:
For more details, please, review the Magento Contributor Assistant documentation. @paul-gene do you confirm that you was able to reproduce the issue on vanilla Magento instance following steps to reproduce?
|
Hi @engcom-backlog-nazar. Thank you for working on this issue.
|
Hi @paul-gene thank you for you report, this issue has already fixed in 2.3-develop branch and 2.2-develop branch and will be available on 2.3.1 release and 2.2.8 release |
@engcom-backlog-nazar so the only current way to fix the issue is to suppress the error? |
@paul-gene i don't have an error like you have, but this class really deprecated and on develop branches this was fixed, but i'm really not understand why you get this error. |
@engcom-backlog-nazar How was it fixed on the develop branch / in 2.2.8 ? |
@paul-gene #5880 |
@engcom-backlog-nazar the link to https://github.com/magento/magento2/blob/develop/lib/internal/Magento/Framework/Encryption/Crypt.php#L59 does not work, so i cannot see the solution. Other than that, there is no mention in that issue on how to fix this other than suppressing the error. |
M2 v 2.2
PHP 7.1.26
Fresh install via
Inside a Vagrant VM, running Debian Jessie.
After running the following
When I navigate to http://demo.local, I get
An error has happened during application run. See exception log for details. Could not write error message to log. Please use developer mode to see the message.
So I check the logs (as well as enable developer mode) and I get this
Now, I checked the file, and the line
$this->_handle = @mcrypt_module_open($cipher, '', $mode, '');
Why am I seeing the error when the function is prefixed with the @ symbol?
And how do i fix this?
The text was updated successfully, but these errors were encountered: