Your problem
My problem is:
I am able to send test mail but while scheduling the campaign mails are not going out
These errors are showing in the log:
Steps I have tried to fix the problem:
/opt/rh/rh-php72/root/usr/bin/php -q /home/mautic7/public_html/bin/console mautic:campaigns:trigger -i 4
when you run it you get out of memory error
Triggering events for campaign 4
Triggering events for newly added contacts
0 total events(s) to be processed in batches of 100 contacts
0 total events were executed
0 total events were scheduled
Triggering scheduled events
5210 total events(s) to be processed in batches of 100 contacts
1700/5210 [=========>------------------] 32%PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /home/mautic7/public_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Types/ArrayType.php on line 51
In ArrayType.php line 51:
Error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes)