Troubleshooting Empty Invoices and Duplicated Reminder Emails
The system automation tasks are generating two invoices for each client: one invoice contains the expect line item, and the second item is empty.
Clients receive two copies of payment overdue reminder emails.
The server is running the
cron.php script twice at the same time, triggering the daily automation tasks to run twice simultaneously.
To check whether this is the cause of the issue:
- Log in to the WHMCS Admin Area.
- Go to Configuration > System Logs.
- Use the Search Filter tab to search for
Cron Job: Starting Daily Automation Tasks.
- Observe the Date column next to the entries.
Two or more entries with the same timestamp confirm that this is the issue: