corpushost Posted January 31, 2023 Share Posted January 31, 2023 (edited) When I try to run the cron from ssh i get an error after the Server Usage Stats: Can anyone shed some light on what may be going on? This is just a snippet of the error: [WHMCS Application] ERROR: TypeError: round(): Argument #1 ($num) must be of type int|float, string given in /home/corpushost/domains/corpushost.com/public_html/modules/servers/directadmin/directadmin.php:0 Stack trace: #0 /home/corpushost/domains/corpushost.com/public_html/modules/servers/directadmin/directadmin.php(0): round() Edited January 31, 2023 by corpushost 0 Quote Link to comment Share on other sites More sharing options...
vishvajit Posted February 1, 2023 Share Posted February 1, 2023 This error message is indicating that theres a type mismatch in the round() function in the direct admin module of the WHMCS application. not sure but it seems , the argument being passed to the round () function is a string but it is expected to be an integer or a floating-point number. 0 Quote Link to comment Share on other sites More sharing options...
Kian Posted February 1, 2023 Share Posted February 1, 2023 There isn't much that can be done. The error comes from directadmin module where round() function expects int or float number but it is probably getting an array, object or a non-numeric string. You should report the error to WHMCS. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.