Campaign trigged email scheduled in 5 days instead of next day

Your software
My Mautic version is: 5.1.0
My PHP version is: ea-php80
My Database type and version is: Mysql 8.0.39

Your problem
My problem is:
In Campaign Map, the wait time for sending drip email is set to 1 day but the “Scheduled to execute” is set 5 days later.

For example the drip 1 was sent on yesterday August 8, 2024
Drip 2 is scheduled to execute at August 12, 2024

These errors are showing in the log:
Although somewhat this error log is unrelated to the send email function?
php.CRITICAL: Fatal Error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) {“exception”:“[object] (Symfony\Component\ErrorHandler\Error\OutOfMemoryError(code: 0): Error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) at /home/public_html/mautic/vendor/symfony/dependency-injection/Compiler/ServiceReferenceGraphNode.php:43)”

Steps I have tried to fix the problem:

  • Reset the wait time to 1 day even though it’s already set to 1 day and click save the event pop-up dialog pop up and save the campaign item.
  • The cron job schedule for broadcast is already configured to each day

Hi @duplexcleaning

First, you should look into your server configuration. Your server does not have enough memory. This will lead to all kind of strange problems. You might also like to look into a better managed hosting.

In order to better understand your configuration, can you share a print screen of your campaign?

Thanks
Adrian

Hi @adiux thanks for the reply. Regarding your question on the print screen of campaign, do you mean the actual campaign map flow (from edit button on campaign ID page)?

Hi @duplexcleaning. Yes, the flow when you press edit in the campaign. So that we can see how you configured it, including the waiting times/dates you set.

Hi @adiux , as requested please find the attached screenshots:


Is the server problem with the memory fixed? Does the delay still happen after that is fixed?

1 Like