DEPRECATED: 'Function mcrypt_create_iv() is deprecated'

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
Lily
Posts: 2
Joined: 11 Apr 2017, 06:52

DEPRECATED: 'Function mcrypt_create_iv() is deprecated'

Post by Lily »

Hi everyone!
I recently upgrade my mantis to version 2.2.1 with php 7.1.3, everything went well except there is one warning message: "DEPRECATED: 'Function mcrypt_create_iv() is deprecated" in c:/Mantisbt\core\crypto_api.php' line 84. It shows on the login page and the issue detail page, etc. Anyway, it's super annoying, can somebody help me? :(
I will check new response everyday.
atrol
Site Admin
Posts: 8375
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: DEPRECATED: 'Function mcrypt_create_iv() is deprecated'

Post by atrol »

Search for option error_reporting in file php.ini
Backup the file and change the setting to

Code: Select all

error_reporting = E_ALL & ~E_DEPRECATED
Restart the web server
Please use Search before posting and read the Manual
Lily
Posts: 2
Joined: 11 Apr 2017, 06:52

Re: DEPRECATED: 'Function mcrypt_create_iv() is deprecated'

Post by Lily »

Hi atrol.
I revised the php.ini and restarted Apache service.
But the message is still there, any other solution?
Post Reply