Your software
My Mautic version is:2.16
My PHP version is:7.2.27
Your problem
My problem is: Triggering events for campaign 16
Triggering events for newly added contacts
17828 total events(s) to be processed in batches of 50 contacts
200/17828 [>---------------------------] 1%PHP Notice: Undefined index: in /var/www/vhosts/Mautic_Install/app/bundles/CampaignBundle/Executioner/Logger/EventLogger.php on line 138
These errors are showing in the log: [2020-02-19 23:30:03] mautic.ERROR: CAMPAIGN: An exception occurred while executing âREPLACE INTO mauhu_campaign_lead_event_failed_log( log_id
, date_added
, reason
) SELECT id, :dateAdded as date_added, :message as reason from mauhu_campaign_lead_event_log WHERE is_scheduled = 1 AND lead_id = :contactId AND campaign_id = :campaignId AND rotation = :rotationâ: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ':dateAdded as date_added, :message as reason from mauhu_campaign_lead_event_log â at line 2
[2020-02-19 23:45:02] mautic.NOTICE: Symfony\Component\Debug\Exception\FatalThrowableError: Call to undefined function Mautic\EmailBundle\MonitoredEmail\imap_search() (uncaught exception) at /var/www/vhosts/Mautic_Install/app/bundles/EmailBundle/MonitoredEmail/Mailbox.php line 570 while running console command mautic:email:fetch
AH01071: Got error âPHP message: RuntimeException: The Doctrine Proxy directory â/var/www/vhosts/Mautic_Install/app/cache/prod/doctrine/orm/Proxiesâ is not writeable for the current system user. - in file /var/www/vhosts/Mautic_Install/vendor/symfony/doctrine-bridge/CacheWarmer/ProxyCacheWarmer.php - at line 56â,
Steps I have tried to fix the problem: Cleared Cache - Increased PHP memory limit-