InvalidArgumentException Carbon Errors

Problem

After upgrading your server environment to PHP 7.4, you see the following error at Configuration () > System Health:

InvalidArgumentException: Data missing in /path/to/whmcs/cs/vendor/nesbot/carbon/src/Carbon/Carbon.php:425

Cause

Your system’s PHP version is not compatible with your current WHMCS version.

Solution

Move to a compatible PHP version for your current WHMCS release.

Last modified: November 12, 2024