You can enable error reporting in WHMCS from admin area and configuration file. For that you can login into WHMCS and follow below steps:
Go to Configuration >> System Settings >> General Settings >> Other.
Here you will find “Display Errors” checkbox, click on it.
At last “Save Changes”.
To...