uzzikie Posted May 21, 2020 Share Posted May 21, 2020 This error is thrown from a custom registar module in a freshly installed WHMCS instance running v7.10.2, on PHP 7.3.11 InvalidArgumentException: Data missing in /home/xxxxx/httpdocs/orders/vendor/nesbot/carbon/src/Carbon/Carbon.php:425 Stack trace: #0 /home/xxxxx/httpdocs/orders/clientarea.php(0): Carbon\Carbon::createFromFormat('Y-m-d', NULL) #1 {main} Prior to the update, there were no errors and WHMCS could load the "clientarea.php?action=domaindetails" page tab properly (domain name and amount is masked for anonymity) And the other thing is that only some domains are having this error whereas others load just fine. What could be causing this issue? As mentioned, this is a new install so there are no other hooks that can interfere with the clientarea.php output. 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted May 21, 2020 Share Posted May 21, 2020 5 hours ago, uzzikie said: Prior to the update from what version, v7.10.1 or a much earlier release ? if it was v7.10.1, then there might be an issue with v7.10.2; if it was a much earlier v7 release, then possibly it's an issue with the custom registrar module. 0 Quote Link to comment Share on other sites More sharing options...
uzzikie Posted May 21, 2020 Author Share Posted May 21, 2020 was running 7.7.1 - no error upgraded to 7.9 - no error but at 7.10 - clientarea.php started throwing this error. So I'm not entirely convinced that the problem lies within the custom registrar module. The custom registrar module does not use Carbon. And there are no errors in the module log. From the error message, it seems like WHMCS is trying to format some date that has a NULL value. But beyond that, it's hard to debug what's wrong 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Dan Posted May 21, 2020 Share Posted May 21, 2020 2 hours ago, uzzikie said: was running 7.7.1 - no error upgraded to 7.9 - no error but at 7.10 - clientarea.php started throwing this error. So I'm not entirely convinced that the problem lies within the custom registrar module. The custom registrar module does not use Carbon. And there are no errors in the module log. From the error message, it seems like WHMCS is trying to format some date that has a NULL value. But beyond that, it's hard to debug what's wrong This is not an error I have seen previously reported, it seems like this may be due to invalid data somewhere in the system causing the problem. I would suggest disabling any custom modules or hooks you have and confirming if the issue persists first. If this doesn't resolve the issue please feel free to drop us a ticket and we can investigate and advise further. 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.