Campaigns stuck sending with TypeError

bolty

Member
Hi
Today my campaigns have stopped sending, they had been running fine, need some help here as I have no idea how to fix!
We are on version 2.1.13
I get the following error when checking from command line:

php -q apps/console/console.php send-campaigns --verbose=1
[2022-11-16 01:40:00] - Starting the work for this batch...

... etc ...

[2022-11-16 01:40:00] - [Worker 0] Campaign id 3127 pre-checks: Done!
[2022-11-16 01:40:00] - Campaigns pre-checks are done now, it took 0.20104 seconds!
[2022-11-16 01:40:00] - Campaign Worker #0 looking into the campaign with ID: 3125
[2022-11-16 01:40:00] - This campaign belongs to Grant Mantle(uid: hb2015v7na0ac).
[2022-11-16 01:40:00] - Changing the campaign status into PROCESSING!
[2022-11-16 01:40:00] - Looking for subscribers for campaign with uid la553h9w5z249...(This is subscribers worker #0)
[2022-11-16 01:40:00] - For campaign with uid la553h9w5z249 and worker 0 the offset is 0 and the limit is 35
[2022-11-16 01:40:00] - Finding subscribers for campaign with uid la553h9w5z249 and worker 0 the offset is 0 and the limit is 35
[2022-11-16 01:40:00] - Finding subscribers for campaign with uid la553h9w5z249 and worker 0 the offset is 0 and the limit is 35 took 0.00181 seconds
[2022-11-16 01:40:00] - This subscribers worker(#0) will process 35 subscribers for this campaign...
[2022-11-16 01:40:00] - Running subscribers cleanup...
[2022-11-16 01:40:00] - Checking subscribers count after cleanup: 35
[2022-11-16 01:40:00] - Sorting the subscribers...
[2022-11-16 01:40:00] - Entering the foreach processing loop for all 35 subscribers...
[2022-11-16 01:40:00] - #####@gmail.com - 1/35
[2022-11-16 01:40:00] - Checking if we can send to domain of ####@gmail.com...
[2022-11-16 01:40:00] - Checking if ####@gmail.com is still confirmed...
[2022-11-16 01:40:00] - Checking if ####@gmail.com is blacklisted...
[2022-11-16 01:40:00] - Checking if ####@gmail.com is listed in a campaign suppression list...
[2022-11-16 01:40:00] - Checking if ####@gmail.com is blocked in the campaign group...
[2022-11-16 01:40:00] - Checking if the server is over quota...
[2022-11-16 01:40:00] - Preparing the entire email...
[2022-11-16 01:40:00] - Parsed the tracking links from the html email content in 0.00159 seconds.
[2022-11-16 01:40:00] - Campaign status has been restored to sending!
[2022-11-16 01:40:00] - Shutting down!
TypeError: array_combine() expects parameter 2 to be array, null given in /home/boltmail2/domains/app.boltmail.nz/public_html/apps/common/components/helpers/CampaignHelper.php:317
Stack trace:
#0 /home/boltmail2/domains/app.boltmail.nz/public_html/apps/common/components/helpers/CampaignHelper.php(317): array_combine(Array, NULL)
#1 /home/boltmail2/domains/app.boltmail.nz/public_html/apps/console/commands/SendCampaignsCommand.php(2687): CampaignHelper::transformLinksForTracking('View this email...', Object(Campaign), Object(ListSubscriber), true, true)
#2 /home/boltmail2/domains/app.boltmail.nz/public_html/apps/console/commands/SendCampaignsCommand.php(1826): SendCampaignsCommand->prepareEmail(Object(ListSubscriber), Object(DeliveryServerSmtp), Object(Campaign))
#3 /home/boltmail2/domains/app.boltmail.nz/public_html/apps/console/commands/SendCampaignsCommand.php(1516): SendCampaignsCommand->processSubscribersLoop(Array)
#4 /home/boltmail2/domains/app.boltmail.nz/public_html/apps/console/commands/SendCampaignsCommand.php(1330): SendCampaignsCommand->sendCampaignStep3(Array)
#5 /home/boltmail2/domains/app.boltmail.nz/public_html/apps/console/commands/SendCampaignsCommand.php(1146): SendCampaignsCommand->sendCampaignStep2(Array)
#6 /home/boltmail2/domains/app.boltmail.nz/public_html/apps/console/commands/SendCampaignsCommand.php(1030): SendCampaignsCommand->sendCampaignStep1(3125)
#7 /home/boltmail2/domains/app.boltmail.nz/public_html/apps/console/commands/SendCampaignsCommand.php(515): SendCampaignsCommand->sendCampaignStep0(Array)
#8 /home/boltmail2/domains/app.boltmail.nz/public_html/apps/console/commands/SendCampaignsCommand.php(255): SendCampaignsCommand->process()
#9 [internal function]: SendCampaignsCommand->actionIndex()
#10 /home/boltmail2/domains/app.boltmail.nz/public_html/vendor/yiisoft/yii/framework/console/CConsoleCommand.php(178): ReflectionMethod->invokeArgs(Object(SendCampaignsCommand), Array)
#11 /home/boltmail2/domains/app.boltmail.nz/public_html/vendor/yiisoft/yii/framework/console/CConsoleCommandRunner.php(71): CConsoleCommand->run(Array)
#12 /home/boltmail2/domains/app.boltmail.nz/public_html/vendor/yiisoft/yii/framework/console/CConsoleApplication.php(92): CConsoleCommandRunner->run(Array)
#13 /home/boltmail2/domains/app.boltmail.nz/public_html/vendor/yiisoft/yii/framework/base/CApplication.php(185): CConsoleApplication->processRequest()
#14 /home/boltmail2/domains/app.boltmail.nz/public_html/apps/init.php(212): CApplication->run()
#15 /home/boltmail2/domains/app.boltmail.nz/public_html/apps/console/console.php(23): require_once('/home/boltmail2...')
 
I can get things sending again by pausing the specific campaign that is causing issues and all other campaigns then send. But I need some help to figure out why that specific campaign is generating this error
 
Hello,
What Mailwizz version are you using? Can you please open a support ticket and share there SSH access and backend access?

Cosmin
 
Back
Top