WHMCS

Troubleshoot WHMCS with System Health and logs

Use WHMCS System Health, the Activity, Module, Gateway, Email and Ticket Import logs, and safe debug settings to find out why something in WHMCS is not working.

IntermediateWHMCS2 min read

When a payment is not applied, an account is not created or an email never arrives, WHMCS almost always recorded why. Knowing which log to open turns hours of guessing into a two-minute fix. This guide maps common problems to the right place.

Before you start

  • Administrator access with permission to view logs.
  • The client, invoice or service involved and the approximate time of the problem.

Start with System Health

Go to Utilities → System → System Health. It checks PHP version and extensions, cron status, file permissions, SSL, outdated modules, insecure settings and database issues, and rates each as OK, warning or danger. Fix red items first – a stopped cron or wrong system URL explains many other symptoms.

Which log for which problem

ProblemWhere to look
Account not created, suspended or upgraded on the serverUtilities → Logs → Module Log (enable logging first)
Customer paid but invoice still unpaidBilling → Gateway Log
Email not receivedUtilities → Logs → Email Message Log and the Activity Log for SMTP errors
Email to support not turned into a ticketUtilities → Logs → Ticket Mail Import Log
Invoices or reminders not sentUtilities → Automation Status
Who changed somethingUtilities → Logs → Activity Log and Admin Log
Domain action failedModule Log (registrar modules log there)

Enable module debug logging

On the Module Log page, click Enable Debug Logging. WHMCS records every API request and response between WHMCS and servers or registrars. Reproduce the problem, read the response, then disable logging again – logs can include sensitive data and grow quickly.

Blank pages and "Oops" errors

  1. Temporarily enable Display Errors under Utilities → System → General Settings → Other (or set it in configuration.php with $display_errors = true; if you cannot log in).
  2. Reload the page to see the PHP error and the file causing it – often a third-party module or hook.
  3. Fix or disable the module (rename its folder), then turn display errors off.

The PHP error log of your hosting account (for example error_log in the WHMCS folder on cPanel) also records these errors.

Clean up

Utilities → System → System Cleanup lets you empty the template cache (fixes theme changes not appearing), prune old logs and remove old attachments. Clearing the template cache is safe and often the first step after editing templates.

Getting help

When asking WHMCS support or a developer, include the WHMCS version (shown in the admin footer), PHP version, the exact error text and the relevant log lines. For server-side issues with your MdmHost hosting, open a ticket with the same details.

Troubleshooting checklist

  • Is the cron running? See cron troubleshooting.
  • Is the WHMCS System URL correct and on HTTPS?
  • Did a recent update or new module coincide with the problem?
  • Is the server time and time zone correct?

Next steps

Was this guide helpful?

Still stuck?

Ask MdmHost AI for a quick answer, or open a ticket and our team will take a look. We are here 24/7.