Handling PHP deprecated function errors while on GFI HelpDesk

When accessing the user, staff, and admin pages on GFI HelpDesk, you might receive "Deprecated Function" errors from PHP.

As a constantly developing language, newer PHP versions include functions that become deprecated. These functions cease to exist or change the expected result of the function as further versions of PHP are released.

These changes can result in warnings and error messages when you update your version of PHP and run existing code. Using these deprecated functions results in the creation of warnings or errors.

Example: Deprecated: Function mcrypt_get_iv_size() is deprecated in...

This topic provides information on how to resolve this issue.

If you received errors regarding function deprecation, you have two options:

  • Suppress the warnings by adding the following line to the php.ini file:
  • error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED

  • Upgrade your PHP to a higher version. For information about PHP releases, please visit the Unsupported Historical Releases website.
For more information about how to edit the php.ini file, refer to the article How Can I Edit the PHP.Ini File?