Page 1 of 1

DEPRECATED: 'Function mcrypt_create_iv() is deprecated'

Posted: 11 Apr 2017, 07:02
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.

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

Posted: 11 Apr 2017, 09:43
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

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

Posted: 12 Apr 2017, 03:26
by Lily
Hi atrol.
I revised the php.ini and restarted Apache service.
But the message is still there, any other solution?