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
Incorrect dependency in class Ebizmarts\Mandrill\Helper\Data in vendor/ebizmarts/magento2-mandrill/Helper/Data.php \Psr\Log\LoggerInterface already exists in context object
setup:di:compile-multi-tenant fails due to:
Incorrect dependency in class Ebizmarts\Mandrill\Helper\Data in vendor/ebizmarts/magento2-mandrill/Helper/Data.php \Psr\Log\LoggerInterface already exists in context object
This line is the cause: https://github.com/ebizmarts/magento2-mandrill/blob/master/Helper/Data.php#L31
Instead of requesting that LoggerInterface be injected you should get it from context eg:
Remove lines 27 & 31 and change line 34 to:
$this->_logger = $context->getLogger();
The text was updated successfully, but these errors were encountered: