TypeError covertIniSize Errors


When accessing support tickets or areas of WHMCS with file attachments, you see the following error:

TypeError: Return value of convertIniSize() must be of the type int Error, float returned in /path/to/whmcs/includes/functions.php


The PHP configuration that WHMCS uses contains an invalid post_max_size value.

You may be able to review the current value within WHMCS at Utilities > System > PHP Info.


Edit the applicable php.ini file on your server to specify a valid post_max_size value.

Last modified: May 28, 2024