The error message you're encountering is caused by a missing data value in the Carbon library. According to the stack trace, the error occurs in the Carbon\Carbon::createFromFormat method when trying to create a date object from a format of "Y-m-d". The method is being passed a NULL value as the data to use to create the object, causing an InvalidArgumentException to be thrown.
To resolve this issue, you will need to find out why the data is missing and ensure that it is being passed to the createFromFormat method correctly. You may need to debug the code in question or consult the relevant documentation for the WHMCS software to identify the root cause of the issue.