To enable PHP error logging in WHMCS, for testing and debugging purposes:
- Go to Setup -> General Settings -> Other
- Mark the checkbox Tick to enable logging of PHP Errors when possible (Not recommended for daily production use)
- Click on Save Changes
PHP errors will be so legged in activity log (Utilities -> Logs -> Activity Log)
It's recommended to uncheck the box as you completed debugging activity.