You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The newsletter_subscriber_save_after event listener causes this error to be thrown: "The website with id X that was requested wasn't found. Verify the website and try again"
The second argument for Magento\Newsletter\Model\SubscriberloadBySubscriberEmail method is websiteId not storeId
@gonzaloebiz I'm not sure if this bug is properly fixed because you are using customerId in the method which loading subscriber by email $subscriberOld = $factory->loadBySubscriberEmail($subscriber->getCustomerId(), $subscriber->getStoreId());
Issue Description
The
newsletter_subscriber_save_after
event listener causes this error to be thrown: "The website with id X that was requested wasn't found. Verify the website and try again"The second argument for
Magento\Newsletter\Model\Subscriber
loadBySubscriberEmail
method iswebsiteId
notstoreId
mc-magento2/Observer/Subscriber/SaveAfter.php
Line 65 in 590da6c
Preconditions
Mailchimp 103.4.57
Magento 2.4.3
Happens when the store_id does not match website_id
The text was updated successfully, but these errors were encountered: