Function mcrypt_create_iv is deprecated
Hello
i receive below logs, how i fix them?
Thanks.
Function mcrypt_create_iv() is deprecated (E_DEPRECATED) /home/user/public_html/new/Panel/five/OLnWYNC/class/misc.class.php (1085 line)
Function mcrypt_get_iv_size() is deprecated (E_DEPRECATED) /home/user/public_html/new/misc.class.php (1085 line)
Function mcrypt_encrypt() is deprecated (E_DEPRECATED) /home/user/public_html/new/misc.class.php (1077 line)
Function mcrypt_create_iv() is deprecated (E_DEPRECATED) /home/user/public_html/new/misc.class.php (1077 line)
Function mcrypt_get_iv_size() is deprecated (E_DEPRECATED) /home/user/public_html/new/misc.class.php (1077 line)
Thanks.
-
These functions were DEPRECATED in PHP 7.1.0, and some have been REMOVED in PHP 7.2.0. PHP: mcrypt_enc_get_iv_size - Manual PHP: OpenSSL Functions - Manual OR Switch off the depreciation warnings in your PHP logs using the ~E_DEPRECATED flag (NOT recommended as this just hides the problem and does not solve it) You may need to ask the developer of the code for advice. 0 -
The suggestions provided here by @rpvw are spot on and I would second requesting assistance from the developer to update the code. Thanks! 0
Please sign in to leave a comment.
Comments
2 comments