G Gore Member Feb 23, 2016 #1 Argument 2 passed to CampaignHelper::getSubscriberFieldsSearchReplace() must be an instance of Campaign, instance of ListSubscriber given, called in /var/www/mailwizz/latest/apps/customer/controllers/CampaignsController.php on line 1375 and defined
Argument 2 passed to CampaignHelper::getSubscriberFieldsSearchReplace() must be an instance of Campaign, instance of ListSubscriber given, called in /var/www/mailwizz/latest/apps/customer/controllers/CampaignsController.php on line 1375 and defined
twisted1919 Administrator Staff member Feb 23, 2016 #2 This is a bug alright Can you open that file, go to line 1375 and transform it from: PHP: $searchReplace = CampaignHelper::getSubscriberFieldsSearchReplace($campaign, $subscriber); into PHP: $searchReplace = CampaignHelper::getSubscriberFieldsSearchReplace($emailContent, $campaign, $subscriber); That should fix the issue.
This is a bug alright Can you open that file, go to line 1375 and transform it from: PHP: $searchReplace = CampaignHelper::getSubscriberFieldsSearchReplace($campaign, $subscriber); into PHP: $searchReplace = CampaignHelper::getSubscriberFieldsSearchReplace($emailContent, $campaign, $subscriber); That should fix the issue.
Jatin Sahani Active Member Feb 23, 2016 #3 @twisted1919 Buddy i have been waiting for your reply.. Please check your PM !! Thanks