Your software
Mautic v3.3.1 VPS Self-hosted installation on sub-domain.
My PHP version is: PHP74
My Database type and version is: MySQL 5.7.14
Your problem
Issue with Broadcasting emails
Issue with Campaign emails automatically sent by campaigns, forms, point triggers.
Issue with Segment emails
These errors are showing in the log:
Current Error Log
Today’s Mautic error log is empty. Check server error log for error messages Mautic didn’t have a chance to catch.
Server Error Log
[09-Mar-2021 19:32:01 UTC] PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 12288 bytes) in /home/xxxxxxxxxx/xxxxxxxxxxxxxxxxxxxxxxxxx/app/bundles/EmailBundle/Entity/Stat.php on line 230
[09-Mar-2021 19:32:01 UTC] PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 32768 bytes) in /home/xxxxxxxxxx/xxxxxxxxxxxxxxxxxxxxxxxxx/vendor/symfony/debug/Exception/OutOfMemoryException.php on line 1
Steps I have tried to fix the problem:
Increased Memory - user.ini and php.ini
[PHP]
display_errors = Off
max_execution_time = 600
max_input_time = 60
max_input_vars = 1000
memory_limit = 8192M
post_max_size = 8192M
session.gc_maxlifetime = 1440
session.save_path = “/var/cpanel/php/sessions/ea-php74”
upload_max_filesize = 8192M
zlib.output_compression = Off
Checked to confirm Cron Jobs are working. See extract from logs:
Mar 8 17:45:01 server CROND[22731]: (xxxxxxxxxx) CMD (/usr/local/bin/php /home/xxxxxxxxxx/xxxxxxxxxxxxxxxxxxxxxxxxx/bin/console mautic:segments:update)
Mar 8 17:47:01 server CROND[23013]: (xxxxxxxxxx) CMD (/usr/local/bin/php /home/xxxxxxxxxx/xxxxxxxxxxxxxxxxxxxxxxxxx/bin/console mautic:emails:send)
Mar 8 17:48:01 server CROND[23109]: (xxxxxxxxxx) CMD (/usr/local/bin/php /home/xxxxxxxxxx/xxxxxxxxxxxxxxxxxxxxxxxxx/bin/console mautic:messages:send)
Mar 8 17:50:01 server CROND[23293]: (xxxxxxxxxx) CMD (/usr/local/bin/php /home/xxxxxxxxxx/xxxxxxxxxxxxxxxxxxxxxxxxx/bin/console mautic:campaigns:update)
Mar 8 17:52:01 server CROND[23586]: (xxxxxxxxxx) CMD (/usr/local/bin/php /home/xxxxxxxxxx/xxxxxxxxxxxxxxxxxxxxxxxxx/bin/console mautic:emails:send)
Mar 8 17:52:01 server CROND[23588]: (xxxxxxxxxx) CMD (/usr/local/bin/php /home/xxxxxxxxxx/xxxxxxxxxxxxxxxxxxxxxxxxx/bin/console mautic:broadcasts:send)
Mar 8 17:55:01 server CROND[23848]: (xxxxxxxxxx) CMD (/usr/local/bin/php /home/xxxxxxxxxx/xxxxxxxxxxxxxxxxxxxxxxxxx/bin/console mautic:campaigns:trigger)
Mar 8 17:57:01 server CROND[24152]: (xxxxxxxxxx) CMD (/usr/local/bin/php /home/xxxxxxxxxx/xxxxxxxxxxxxxxxxxxxxxxxxx/bin/console mautic:emails:send)
Mar 8 18:00:01 server CROND[24397]: (xxxxxxxxxx) CMD (/usr/local/bin/php /home/xxxxxxxxxx/xxxxxxxxxxxxxxxxxxxxxxxxx/bin/console mautic:messages:send)
Mar 8 18:00:01 server CROND[24398]: (xxxxxxxxxx) CMD (/usr/local/bin/php /home/xxxxxxxxxx/xxxxxxxxxxxxxxxxxxxxxxxxx/bin/console mautic:broadcasts:send)
Mar 8 18:00:01 server CROND[24401]: (xxxxxxxxxx) CMD (/usr/local/bin/php /home/xxxxxxxxxx/xxxxxxxxxxxxxxxxxxxxxxxxx/bin/console mautic:email:fetch)
Mar 8 18:00:01 server CROND[24399]: (xxxxxxxxxx) CMD (/usr/local/bin/php /home/xxxxxxxxxx/xxxxxxxxxxxxxxxxxxxxxxxxx/bin/console mautic:segments:update)
Within cPanel I checked Email Deliverability Status and results show - VALID
I’m using Amazon SES via SMTP as the sending server. Test connection is successful. ‘Send Test Email’ via Amazon SES are received.
Within Mautic v3.3.1 ‘Send Example Emails’ are working.
I’m looking for a fix or some feedback on the following:
Issue with Broadcasting emails
Issue with Campaign emails automatically sent by campaigns, forms, point triggers.
Issue with Segment emails
On clicking ‘SEND’ Emails Mautic displays that they have been sent out successfully but the email are not delivered.
I’d appreciate any help with this. Thanks.
Regards,
-Martin