Get The Most Affordable Hosting in the World!

Starting at just $1.87/month, Vercaa offers unbeatable pricing for world-class web hosting services.

Fast, reliable, and secure hosting to power your website without breaking the bank. Plus, enjoy a free CDN for faster loading times worldwide!

Get Started Now!

Symptom

When accessing support tickets or areas of WHMCS with file attachments, you may encounter a TypeError: Return value of convertIniSize() must be of the type int Error, float returned error message:

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

Cause

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 > PHP Information.

Solution

Edit the applicable php.ini file on your server to specify a valid post_max_size value. For more information, see PHP's configuration documentation.

After you configure a valid value, the error will resolve immediately.

You may need to contact your system administrator or hosting provider for help making this server PHP configuration change.

 
 
 
The End! should you have any inquiries, we encourage you to reach out to the Vercaa Support Center without hesitation.
Was this answer helpful? 1 Users Found This Useful (1 Votes)