Encountered the following issue when navigate to the stats tab of a specific sent campaign
Notice: Undefined property: stdClass::$recipients_click in Drupal\mailchimp_campaign\Controller\MailchimpCampaignController->stats() (line 187 of modules/contrib/mailchimp/modules/mailchimp_campaign/src/Controller/MailchimpCampaignController.php).
Drupal\mailchimp_campaign\Controller\MailchimpCampaignController->stats(Object)
call_user_func_array(Array, Array) (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 582)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 124)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) (Line: 97)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
call_user_func_array(Object, Array) (Line: 153)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 57)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 99)
Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 78)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 50)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 657)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | error_on_the_stats_tab-2943460-3.patch | 796 bytes | My-Websitebuilder |
Comments
Comment #2
My-Websitebuilder commentedComment #3
My-Websitebuilder commentedComment #4
samuel.mortensonComment #5
rjacobsen0 commentedGood fix. Committing. Follows the pattern set by the line for 'emails_sent'. Nicely done!