Code Monkey home page Code Monkey logo

magento2-mandrill's Introduction

Build Status

Mandrill service integration for Magento 2.

If you are running Magento 2.1.x use the 3.0 branch. If you are running Magento 2.2.x use the 3.1 branch.

magento2-mandrill's People

Contributors

arendarenko avatar centerax avatar dipola avatar ebizmarts-keller avatar gonzaloebiz avatar ihor-sviziev avatar josephmcdermott avatar ldrooij avatar melissaebizmarts avatar nicobatty avatar santiagoebizmarts avatar silarn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

magento2-mandrill's Issues

Invalid block type: Ebizmarts\MageMonkey\Block\Adminhtml\System\Config\Fieldset\Hint

Generate this error when access ...

Menu > System > Magemonkey > Magemonkey

Invalid block type: Ebizmarts\MageMonkey\Block\Adminhtml\System\Config\Fieldset\Hint
#0 /home/magento2ubuntu1404/dados/public_html/magento2-1.0.0-beta-dev01/magento2/lib/internal/Magento/Framework/View/Layout/Generator/Block.php(237): Magento\Framework\View\Layout\Generator\Block->getBlockInstance('Ebizmarts\MageM...', Array)
#1 /home/magento2ubuntu1404/dados/public_html/magento2-1.0.0-beta-dev01/magento2/lib/internal/Magento/Framework/View/Layout.php(762): Magento\Framework\View\Layout\Generator\Block->createBlock('Ebizmarts\MageM...', 'adminhtml\syste...', Array)
#2 /home/magento2ubuntu1404/dados/public_html/magento2-1.0.0-beta-dev01/magento2/lib/internal/Magento/Framework/View/Layout.php(745): Magento\Framework\View\Layout->_createBlock('Ebizmarts\MageM...', 'adminhtml\syste...', Array)
#3 /home/magento2ubuntu1404/dados/public_html/magento2-1.0.0-beta-dev01/magento2/var/generation/Magento/Framework/View/Layout/Interceptor.php(349): Magento\Framework\View\Layout->createBlock('Ebizmarts\MageM...', '', Array)
#4 /home/magento2ubuntu1404/dados/public_html/magento2-1.0.0-beta-dev01/magento2/lib/internal/Magento/Framework/View/Layout.php(975): Magento\Framework\View\Layout\Interceptor->createBlock('Ebizmarts\MageM...')
#5 /home/magento2ubuntu1404/dados/public_html/magento2-1.0.0-beta-dev01/magento2/var/generation/Magento/Framework/View/Layout/Interceptor.php(518): Magento\Framework\View\Layout->getBlockSingleton('Ebizmarts\MageM...')
#6 /home/magento2ubuntu1404/dados/public_html/magento2-1.0.0-beta-dev01/magento2/app/code/Magento/Config/Block/System/Config/Form.php(194): Magento\Framework\View\Layout\Interceptor->getBlockSingleton('Ebizmarts\MageM...')
#7 /home/magento2ubuntu1404/dados/public_html/magento2-1.0.0-beta-dev01/magento2/app/code/Magento/Config/Block/System/Config/Form.php(170): Magento\Config\Block\System\Config\Form->_initGroup(Object(Magento\Config\Model\Config\Structure\Element\Group), Object(Magento\Config\Model\Config\Structure\Element\Section), Object(Magento\Framework\Data\Form))
#8 /home/magento2ubuntu1404/dados/public_html/magento2-1.0.0-beta-dev01/magento2/app/code/Magento/Config/Block/System/Config/Form.php(458): Magento\Config\Block\System\Config\Form->initForm()
#9 /home/magento2ubuntu1404/dados/public_html/magento2-1.0.0-beta-dev01/magento2/lib/internal/Magento/Framework/View/Element/AbstractBlock.php(651): Magento\Config\Block\System\Config\Form->_beforeToHtml()
#10 /home/magento2ubuntu1404/dados/public_html/magento2-1.0.0-beta-dev01/magento2/lib/internal/Magento/Framework/View/Layout.php(544): Magento\Framework\View\Element\AbstractBlock->toHtml()
#11 /home/magento2ubuntu1404/dados/public_html/magento2-1.0.0-beta-dev01/magento2/lib/internal/Magento/Framework/View/Layout.php(520): Magento\Framework\View\Layout->_renderBlock('system\config\f...')
#12 /home/magento2ubuntu1404/dados/public_html/magento2-1.0.0-beta-dev01/magento2/var/generation/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('system\config\f...')
#13 /home/magento2ubuntu1404/dados/public_html/magento2-1.0.0-beta-dev01/magento2/lib/internal/Magento/Framework/View/Layout.php(474): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('system\config\f...')
#14 /home/magento2ubuntu1404/dados/public_html/magento2-1.0.0-beta-dev01/magento2/var/generation/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('system\config\f...', true)
#15 /home/magento2ubuntu1404/dados/public_html/magento2-1.0.0-beta-dev01/magento2/lib/internal/Magento/Framework/View/Element/AbstractBlock.php(492): Magento\Framework\View\Layout\Interceptor->renderElement('system\config\f...', true)
#16 /home/magento2ubuntu1404/dados/public_html/magento2-1.0.0-beta-dev01/magento2/app/code/Magento/Config/view/adminhtml/templates/system/config/edit.phtml(22): Magento\Framework\View\Element\AbstractBlock->getChildHtml('form')
#17 /home/magento2ubuntu1404/dados/public_html/magento2-1.0.0-beta-dev01/magento2/lib/internal/Magento/Framework/View/TemplateEngine/Php.php(59): include('/home/magento2u...')
#18 /home/magento2ubuntu1404/dados/public_html/magento2-1.0.0-beta-dev01/magento2/lib/internal/Magento/Framework/View/Element/Template.php(255): Magento\Framework\View\TemplateEngine\Php->render(Object(Magento\Config\Block\System\Config\Edit), '/home/magento2u...', Array)
#19 /home/magento2ubuntu1404/dados/public_html/magento2-1.0.0-beta-dev01/magento2/lib/internal/Magento/Framework/View/Element/Template.php(275): Magento\Framework\View\Element\Template->fetchView('/home/magento2u...')
#20 /home/magento2ubuntu1404/dados/public_html/magento2-1.0.0-beta-dev01/magento2/app/code/Magento/Backend/Block/Template.php(104): Magento\Framework\View\Element\Template->_toHtml()
#21 /home/magento2ubuntu1404/dados/public_html/magento2-1.0.0-beta-dev01/magento2/lib/internal/Magento/Framework/View/Element/AbstractBlock.php(652): Magento\Backend\Block\Template->_toHtml()
#22 /home/magento2ubuntu1404/dados/public_html/magento2-1.0.0-beta-dev01/magento2/lib/internal/Magento/Framework/View/Layout.php(544): Magento\Framework\View\Element\AbstractBlock->toHtml()
#23 /home/magento2ubuntu1404/dados/public_html/magento2-1.0.0-beta-dev01/magento2/lib/internal/Magento/Framework/View/Layout.php(520): Magento\Framework\View\Layout->_renderBlock('system.config.e...')
#24 /home/magento2ubuntu1404/dados/public_html/magento2-1.0.0-beta-dev01/magento2/var/generation/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('system.config.e...')
#25 /home/magento2ubuntu1404/dados/public_html/magento2-1.0.0-beta-dev01/magento2/lib/internal/Magento/Framework/View/Layout.php(474): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('system.config.e...')
#26 /home/magento2ubuntu1404/dados/public_html/magento2-1.0.0-beta-dev01/magento2/var/generation/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('system.config.e...', true)
#27 /home/magento2ubuntu1404/dados/public_html/magento2-1.0.0-beta-dev01/magento2/lib/internal/Magento/Framework/View/Layout.php(571): Magento\Framework\View\Layout\Interceptor->renderElement('system.config.e...')
#28 /home/magento2ubuntu1404/dados/public_html/magento2-1.0.0-beta-dev01/magento2/lib/internal/Magento/Framework/View/Layout.php(522): Magento\Framework\View\Layout->_renderContainer('content')
#29 /home/magento2ubuntu1404/dados/public_html/magento2-1.0.0-beta-dev01/magento2/var/generation/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('content')
#30 /home/magento2ubuntu1404/dados/public_html/magento2-1.0.0-beta-dev01/magento2/lib/internal/Magento/Framework/View/Layout.php(474): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('content')
#31 /home/magento2ubuntu1404/dados/public_html/magento2-1.0.0-beta-dev01/magento2/var/generation/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('content', true)
#32 /home/magento2ubuntu1404/dados/public_html/magento2-1.0.0-beta-dev01/magento2/lib/internal/Magento/Framework/View/Layout.php(571): Magento\Framework\View\Layout\Interceptor->renderElement('content')
#33 /home/magento2ubuntu1404/dados/public_html/magento2-1.0.0-beta-dev01/magento2/lib/internal/Magento/Framework/View/Layout.php(522): Magento\Framework\View\Layout->_renderContainer('admin.scope.col...')
#34 /home/magento2ubuntu1404/dados/public_html/magento2-1.0.0-beta-dev01/magento2/var/generation/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('admin.scope.col...')
#35 /home/magento2ubuntu1404/dados/public_html/magento2-1.0.0-beta-dev01/magento2/lib/internal/Magento/Framework/View/Layout.php(474): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('admin.scope.col...')
#36 /home/magento2ubuntu1404/dados/public_html/magento2-1.0.0-beta-dev01/magento2/var/generation/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('admin.scope.col...', true)
#37 /home/magento2ubuntu1404/dados/public_html/magento2-1.0.0-beta-dev01/magento2/lib/internal/Magento/Framework/View/Layout.php(571): Magento\Framework\View\Layout\Interceptor->renderElement('admin.scope.col...')
#38 /home/magento2ubuntu1404/dados/public_html/magento2-1.0.0-beta-dev01/magento2/lib/internal/Magento/Framework/View/Layout.php(522): Magento\Framework\View\Layout->_renderContainer('main.col')
#39 /home/magento2ubuntu1404/dados/public_html/magento2-1.0.0-beta-dev01/magento2/var/generation/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('main.col')
#40 /home/magento2ubuntu1404/dados/public_html/magento2-1.0.0-beta-dev01/magento2/lib/internal/Magento/Framework/View/Layout.php(474): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('main.col')
#41 /home/magento2ubuntu1404/dados/public_html/magento2-1.0.0-beta-dev01/magento2/var/generation/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('main.col', true)
#42 /home/magento2ubuntu1404/dados/public_html/magento2-1.0.0-beta-dev01/magento2/lib/internal/Magento/Framework/View/Layout.php(571): Magento\Framework\View\Layout\Interceptor->renderElement('main.col')
#43 /home/magento2ubuntu1404/dados/public_html/magento2-1.0.0-beta-dev01/magento2/lib/internal/Magento/Framework/View/Layout.php(522): Magento\Framework\View\Layout->_renderContainer('page.main.conta...')
#44 /home/magento2ubuntu1404/dados/public_html/magento2-1.0.0-beta-dev01/magento2/var/generation/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('page.main.conta...')
#45 /home/magento2ubuntu1404/dados/public_html/magento2-1.0.0-beta-dev01/magento2/lib/internal/Magento/Framework/View/Layout.php(474): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('page.main.conta...')
#46 /home/magento2ubuntu1404/dados/public_html/magento2-1.0.0-beta-dev01/magento2/var/generation/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('page.main.conta...', true)
#47 /home/magento2ubuntu1404/dados/public_html/magento2-1.0.0-beta-dev01/magento2/lib/internal/Magento/Framework/View/Layout.php(571): Magento\Framework\View\Layout\Interceptor->renderElement('page.main.conta...')
#48 /home/magento2ubuntu1404/dados/public_html/magento2-1.0.0-beta-dev01/magento2/lib/internal/Magento/Framework/View/Layout.php(522): Magento\Framework\View\Layout->_renderContainer('page.content')
#49 /home/magento2ubuntu1404/dados/public_html/magento2-1.0.0-beta-dev01/magento2/var/generation/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('page.content')
#50 /home/magento2ubuntu1404/dados/public_html/magento2-1.0.0-beta-dev01/magento2/lib/internal/Magento/Framework/View/Layout.php(474): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('page.content')
#51 /home/magento2ubuntu1404/dados/public_html/magento2-1.0.0-beta-dev01/magento2/var/generation/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('page.content', true)
#52 /home/magento2ubuntu1404/dados/public_html/magento2-1.0.0-beta-dev01/magento2/lib/internal/Magento/Framework/View/Layout.php(571): Magento\Framework\View\Layout\Interceptor->renderElement('page.content')
#53 /home/magento2ubuntu1404/dados/public_html/magento2-1.0.0-beta-dev01/magento2/lib/internal/Magento/Framework/View/Layout.php(522): Magento\Framework\View\Layout->_renderContainer('page.wrapper')
#54 /home/magento2ubuntu1404/dados/public_html/magento2-1.0.0-beta-dev01/magento2/var/generation/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('page.wrapper')
#55 /home/magento2ubuntu1404/dados/public_html/magento2-1.0.0-beta-dev01/magento2/lib/internal/Magento/Framework/View/Layout.php(474): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('page.wrapper')
#56 /home/magento2ubuntu1404/dados/public_html/magento2-1.0.0-beta-dev01/magento2/var/generation/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('page.wrapper', true)
#57 /home/magento2ubuntu1404/dados/public_html/magento2-1.0.0-beta-dev01/magento2/lib/internal/Magento/Framework/View/Layout.php(571): Magento\Framework\View\Layout\Interceptor->renderElement('page.wrapper')
#58 /home/magento2ubuntu1404/dados/public_html/magento2-1.0.0-beta-dev01/magento2/lib/internal/Magento/Framework/View/Layout.php(522): Magento\Framework\View\Layout->_renderContainer('backend.page')
#59 /home/magento2ubuntu1404/dados/public_html/magento2-1.0.0-beta-dev01/magento2/var/generation/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('backend.page')
#60 /home/magento2ubuntu1404/dados/public_html/magento2-1.0.0-beta-dev01/magento2/lib/internal/Magento/Framework/View/Layout.php(474): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('backend.page')
#61 /home/magento2ubuntu1404/dados/public_html/magento2-1.0.0-beta-dev01/magento2/var/generation/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('backend.page', true)
#62 /home/magento2ubuntu1404/dados/public_html/magento2-1.0.0-beta-dev01/magento2/lib/internal/Magento/Framework/View/Layout.php(571): Magento\Framework\View\Layout\Interceptor->renderElement('backend.page')
#63 /home/magento2ubuntu1404/dados/public_html/magento2-1.0.0-beta-dev01/magento2/lib/internal/Magento/Framework/View/Layout.php(522): Magento\Framework\View\Layout->_renderContainer('root')
#64 /home/magento2ubuntu1404/dados/public_html/magento2-1.0.0-beta-dev01/magento2/var/generation/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('root')
#65 /home/magento2ubuntu1404/dados/public_html/magento2-1.0.0-beta-dev01/magento2/lib/internal/Magento/Framework/View/Layout.php(474): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('root')
#66 /home/magento2ubuntu1404/dados/public_html/magento2-1.0.0-beta-dev01/magento2/var/generation/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('root', true)
#67 /home/magento2ubuntu1404/dados/public_html/magento2-1.0.0-beta-dev01/magento2/lib/internal/Magento/Framework/View/Layout.php(940): Magento\Framework\View\Layout\Interceptor->renderElement('root')
#68 /home/magento2ubuntu1404/dados/public_html/magento2-1.0.0-beta-dev01/magento2/var/generation/Magento/Framework/View/Layout/Interceptor.php(492): Magento\Framework\View\Layout->getOutput()
#69 /home/magento2ubuntu1404/dados/public_html/magento2-1.0.0-beta-dev01/magento2/lib/internal/Magento/Framework/View/Result/Page.php(241): Magento\Framework\View\Layout\Interceptor->getOutput()
#70 /home/magento2ubuntu1404/dados/public_html/magento2-1.0.0-beta-dev01/magento2/lib/internal/Magento/Framework/View/Result/Layout.php(162): Magento\Framework\View\Result\Page->render(Object(Magento\Framework\App\Response\Http\Interceptor))
#71 /home/magento2ubuntu1404/dados/public_html/magento2-1.0.0-beta-dev01/magento2/var/generation/Magento/Backend/Model/View/Result/Page/Interceptor.php(193): Magento\Framework\View\Result\Layout->renderResult(Object(Magento\Framework\App\Response\Http\Interceptor))
#72 /home/magento2ubuntu1404/dados/public_html/magento2-1.0.0-beta-dev01/magento2/lib/internal/Magento/Framework/App/Http.php(119): Magento\Backend\Model\View\Result\Page\Interceptor->renderResult(Object(Magento\Framework\App\Response\Http\Interceptor))
#73 /home/magento2ubuntu1404/dados/public_html/magento2-1.0.0-beta-dev01/magento2/lib/internal/Magento/Framework/App/Bootstrap.php(257): Magento\Framework\App\Http->launch()
#74 /home/magento2ubuntu1404/dados/public_html/magento2-1.0.0-beta-dev01/magento2/index.php(39): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http))
#75 {main}

captura de tela de 2015-09-17 22 52 12

Uncaught Error: Class 'Mandrill' not found

I suspect this issue relates to the fact that we had the older version of the Mandrill extension that was bundled with MailChimp. Since Upgrading MailChimp extension Mandrill support was removed so installed this repro.

I have removed all data and configuration relating to Mandrill and the extension is installed manually and works up until an API key is saved, then the following error is returned:-

Got error 'PHP message: PHP Fatal error: Uncaught Error: Class 'Mandrill' not found in /app/code/Ebizmarts/Mandrill/Model/Api/Mandrill.php:31\nStack trace:\n#0 /vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(111): Ebizmarts\Mandrill\Model\Api\Mandrill->__construct(Object(Ebizmarts\Mandrill\Helper\Data))\n#1 /vendor/magento/framework/ObjectManager/Factory/Compiled.php(108): Magento\Framework\ObjectManager\Factory\AbstractFactory->createObject('Ebizmarts\\Mandr...', Array)\n#2 /vendor/magento/framework/ObjectManager/Factory/Compiled.php(150): Magento\Framework\ObjectManager\Factory\Compiled->create('Ebizmarts\\Mandr...')\n#3 /vendor/magento/framework/ObjectManager/Factory/Compil...\n', referer: https://domain/backend/adminhtml/system_config/index/key/6c0fd5016c1e82f2f8b45b7beb135eb86c06e5014658272c87140bf80751378b/

The same emails are being sent multiple time to the same customer

Hi,

We're facing some high severe issues regarding transactional emails. We can't find a pattern but we have clients:

  • that are receiving the same order confirmation email several times. This is happening with shipping emails as well.
  • We have other clients that don't receive any emails at all.

We can't find a pattern, for the same type of transactional email one api call is being made to mandrill, or several or none..
We don't really understand what is going on.

We're running Magento 2.1.3 and your Mandrill module 3.0.10.

Do you have any idea what might be? Our client is really upset with this situation.

Log setting not used Mandrill not sending mail

Hi,

You have a log setting in the admin but I'm not seeing any logs being generated when I turn it on. Looking through the source code I can't see it actually being called in anywhere.

As my installation isn't sending any mail through Mandrill a log of what is happening would be helpful.

Kind regards,

Clive

\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();

Mailchimp Magento version 2.1.4 integration.

When i subscribe to newsletter after using the extension i am getting following error. Can you please help.

Trace: #0 /home/lyndylou/public_html/vendor/magento/framework/Interception/Interceptor.php(146): Magento\Newsletter\Model\Subscriber->subscribe('coolrujen@hotma...')
#1 /home/lyndylou/public_html/var/generation/Magento/Newsletter/Model/Subscriber/Interceptor.php(247): Magento\Newsletter\Model\Subscriber\Interceptor->___callPlugins('subscribe', Array, Array)
#2 /home/lyndylou/public_html/vendor/magento/module-newsletter/Controller/Subscriber/NewAction.php(124): Magento\Newsletter\Model\Subscriber\Interceptor->subscribe('coolrujen@hotma...')
#3 /home/lyndylou/public_html/var/generation/Magento/Newsletter/Controller/Subscriber/NewAction/Interceptor.php(24): Magento\Newsletter\Controller\Subscriber\NewAction->execute()
#4 /home/lyndylou/public_html/vendor/magento/framework/App/Action/Action.php(102): Magento\Newsletter\Controller\Subscriber\NewAction\Interceptor->execute()
#5 /home/lyndylou/public_html/vendor/magento/framework/Interception/Interceptor.php(74): Magento\Framework\App\Action\Action->dispatch(Object(Magento\Framework\App\Request\Http))
#6 /home/lyndylou/public_html/vendor/magento/framework/Interception/Chain/Chain.php(70): Magento\Newsletter\Controller\Subscriber\NewAction\Interceptor->___callParent('dispatch', Array)
#7 /home/lyndylou/public_html/vendor/magento/framework/Interception/Chain/Chain.php(63): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\\Newslet...', 'dispatch', Object(Magento\Newsletter\Controller\Subscriber\NewAction\Interceptor), Array, 'contextPlugin')
#8 /home/lyndylou/public_html/vendor/magento/module-store/App/Action/Plugin/Context.php(106): Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain\{closure}(Object(Magento\Framework\App\Request\Http))
#9 /home/lyndylou/public_html/vendor/magento/framework/Interception/Chain/Chain.php(67): Magento\Store\App\Action\Plugin\Context->aroundDispatch(Object(Magento\Newsletter\Controller\Subscriber\NewAction\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))
#10 /home/lyndylou/public_html/vendor/magento/framework/Interception/Chain/Chain.php(63): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\\Newslet...', 'dispatch', Object(Magento\Newsletter\Controller\Subscriber\NewAction\Interceptor), Array, 'customer-app-ac...')
#11 /home/lyndylou/public_html/vendor/magento/module-customer/Model/App/Action/ContextPlugin.php(61): Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain\{closure}(Object(Magento\Framework\App\Request\Http))
#12 /home/lyndylou/public_html/vendor/magento/framework/Interception/Chain/Chain.php(67): Magento\Customer\Model\App\Action\ContextPlugin->aroundDispatch(Object(Magento\Newsletter\Controller\Subscriber\NewAction\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))
#13 /home/lyndylou/public_html/vendor/magento/framework/Interception/Chain/Chain.php(63): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\\Newslet...', 'dispatch', Object(Magento\Newsletter\Controller\Subscriber\NewAction\Interceptor), Array, 'storeCheck')
#14 /home/lyndylou/public_html/vendor/magento/module-store/App/Action/Plugin/StoreCheck.php(44): Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain\{closure}(Object(Magento\Framework\App\Request\Http))
#15 /home/lyndylou/public_html/vendor/magento/framework/Interception/Chain/Chain.php(67): Magento\Store\App\Action\Plugin\StoreCheck->aroundDispatch(Object(Magento\Newsletter\Controller\Subscriber\NewAction\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))
#16 /home/lyndylou/public_html/vendor/magento/framework/Interception/Chain/Chain.php(63): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\\Newslet...', 'dispatch', Object(Magento\Newsletter\Controller\Subscriber\NewAction\Interceptor), Array, 'weee-app-action...')
#17 /home/lyndylou/public_html/vendor/magento/module-weee/Model/App/Action/ContextPlugin.php(112): Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain\{closure}(Object(Magento\Framework\App\Request\Http))
#18 /home/lyndylou/public_html/vendor/magento/framework/Interception/Chain/Chain.php(67): Magento\Weee\Model\App\Action\ContextPlugin->aroundDispatch(Object(Magento\Newsletter\Controller\Subscriber\NewAction\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))
#19 /home/lyndylou/public_html/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\\Newslet...', 'dispatch', Object(Magento\Newsletter\Controller\Subscriber\NewAction\Interceptor), Array, 'tax-app-action-...')
#20 /home/lyndylou/public_html/vendor/magento/module-tax/Model/App/Action/ContextPlugin.php(91): Magento\Newsletter\Controller\Subscriber\NewAction\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Request\Http))
#21 /home/lyndylou/public_html/vendor/magento/framework/Interception/Interceptor.php(142): Magento\Tax\Model\App\Action\ContextPlugin->aroundDispatch(Object(Magento\Newsletter\Controller\Subscriber\NewAction\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))
#22 /home/lyndylou/public_html/var/generation/Magento/Newsletter/Controller/Subscriber/NewAction/Interceptor.php(39): Magento\Newsletter\Controller\Subscriber\NewAction\Interceptor->___callPlugins('dispatch', Array, Array)
#23 /home/lyndylou/public_html/vendor/magento/framework/App/FrontController.php(55): Magento\Newsletter\Controller\Subscriber\NewAction\Interceptor->dispatch(Object(Magento\Framework\App\Request\Http))
#24 /home/lyndylou/public_html/vendor/magento/framework/Interception/Interceptor.php(74): Magento\Framework\App\FrontController->dispatch(Object(Magento\Framework\App\Request\Http))
#25 /home/lyndylou/public_html/vendor/magento/framework/Interception/Chain/Chain.php(70): Magento\Framework\App\FrontController\Interceptor->___callParent('dispatch', Array)
#26 /home/lyndylou/public_html/vendor/magento/framework/Interception/Chain/Chain.php(63): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\\Framewo...', 'dispatch', Object(Magento\Framework\App\FrontController\Interceptor), Array, 'requestPreproce...')
#27 /home/lyndylou/public_html/vendor/magento/module-store/App/FrontController/Plugin/RequestPreprocessor.php(94): Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain\{closure}(Object(Magento\Framework\App\Request\Http))
#28 /home/lyndylou/public_html/vendor/magento/framework/Interception/Chain/Chain.php(67): Magento\Store\App\FrontController\Plugin\RequestPreprocessor->aroundDispatch(Object(Magento\Framework\App\FrontController\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))
#29 /home/lyndylou/public_html/vendor/magento/framework/Interception/Chain/Chain.php(63): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\\Framewo...', 'dispatch', Object(Magento\Framework\App\FrontController\Interceptor), Array, 'install')
#30 /home/lyndylou/public_html/vendor/magento/framework/Module/Plugin/DbStatusValidator.php(69): Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain\{closure}(Object(Magento\Framework\App\Request\Http))
#31 /home/lyndylou/public_html/vendor/magento/framework/Interception/Chain/Chain.php(67): Magento\Framework\Module\Plugin\DbStatusValidator->aroundDispatch(Object(Magento\Framework\App\FrontController\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))
#32 /home/lyndylou/public_html/vendor/magento/framework/Interception/Chain/Chain.php(63): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\\Framewo...', 'dispatch', Object(Magento\Framework\App\FrontController\Interceptor), Array, 'front-controlle...')
#33 /home/lyndylou/public_html/vendor/magento/module-page-cache/Model/App/FrontController/VarnishPlugin.php(55): Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain\{closure}(Object(Magento\Framework\App\Request\Http))
#34 /home/lyndylou/public_html/vendor/magento/framework/Interception/Chain/Chain.php(67): Magento\PageCache\Model\App\FrontController\VarnishPlugin->aroundDispatch(Object(Magento\Framework\App\FrontController\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))
#35 /home/lyndylou/public_html/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\\Framewo...', 'dispatch', Object(Magento\Framework\App\FrontController\Interceptor), Array, 'front-controlle...')
#36 /home/lyndylou/public_html/vendor/magento/module-page-cache/Model/App/FrontController/BuiltinPlugin.php(68): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Request\Http))
#37 /home/lyndylou/public_html/vendor/magento/framework/Interception/Interceptor.php(142): Magento\PageCache\Model\App\FrontController\BuiltinPlugin->aroundDispatch(Object(Magento\Framework\App\FrontController\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))
#38 /home/lyndylou/public_html/var/generation/Magento/Framework/App/FrontController/Interceptor.php(26): Magento\Framework\App\FrontController\Interceptor->___callPlugins('dispatch', Array, Array)
#39 /home/lyndylou/public_html/vendor/magento/framework/App/Http.php(135): Magento\Framework\App\FrontController\Interceptor->dispatch(Object(Magento\Framework\App\Request\Http))
#40 /home/lyndylou/public_html/vendor/magento/framework/App/Bootstrap.php(258): Magento\Framework\App\Http->launch()
#41 /home/lyndylou/public_html/index.php(39): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http))
#42 {main} [] []

Thanks.

Problem when sending a test mail!

Im getting the following messange when I try to send a test mail throug mandrill:
"A technical problem with the server created an error. Try again to continue what you were doing. If the problem persists, try again later."

Where can I find log files for thos errors? Im using magento 2.2 and recently updated your extension to the latest version. It didn't work before the update eighter though!

Best Regards

Wrong structure for replay to header

Hi,
I have found a bug while creating Replay To header for my app.
When i send email this structure is created.
{ "message": { "subject": "Product Questions", "from_name": "Smth", "from_email": "[email protected]", "to": [ { "email": "[email protected]" } ], "headers": [ { "Reply-To": " <[email protected]>" } ], "text": "Name: Kristaps \n\n Message: test email" }, "async": false, "ip_pool": null, "send_at": null, "key": "apikey" }
And Replay to header doesn't appear in email. When i remove Brackets manualy in Mandrill APi sandbox it is working. And Reply to is appearing in email
{ "message": { "subject": "Product Questions", "from_name": "Smth", "from_email": "[email protected]", "to": [ { "email": "[email protected]" } ], "headers": { "Reply-To": "[email protected]" }, "text": "Name: Kristaps \n\n Message: zdxfghg" }, "async": false, "ip_pool": null, "send_at": null, "key": "apikey" }
I think the bug relies in here https://github.com/ebizmarts/magento2-mandrill/blob/develop/Model/Message.php#L192

Customer creation email trigger even if module is disabled?

Installed the module and set to disabled (as we are not ready for production yet.). However, when i try to create a new customer, i receive the notice:

Notice: Trying to get property of non-object in vendor/ebizmarts/magento2-mandrill/Model/Transport.php on line 84

Which is causing a magento exception to be thrown:

Something went wrong while saving the customer.

Should mandril try to be used even though the extension is disabled from the admin?

Class 'Mandrill' not found

What can I do?

[21-Mar-2017 03:50:18 UTC] PHP Fatal error:  Uncaught Error: Class 'Mandrill' not found in /home/dyl/website/m2/app/code/Ebizmarts/Mandrill/Model/Api/Mandrill.php:31
Stack trace:
#0 /home/dyl/website/m2/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(93): Ebizmarts\Mandrill\Model\Api\Mandrill->__construct(Object(Ebizmarts\Mandrill\Helper\Data))
#1 /home/dyl/website/m2/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(89): Magento\Framework\ObjectManager\Factory\AbstractFactory->createObject('Ebizmarts\\Mandr...', Array)
#2 /home/dyl/website/m2/vendor/magento/framework/ObjectManager/ObjectManager.php(71): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create('Ebizmarts\\Mandr...')
#3 /home/dyl/website/m2/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(126): Magento\Framework\ObjectManager\ObjectManager->get('Ebizmarts\\Mandr...')
#4 /home/dyl/website/m2/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(53): Magento\Framework\ObjectManager\Factory\AbstractFactory->reso in /home/dyl/website/m2/app/code/Ebizmarts/Mandrill/Model/Api/Mandrill.php on line 31

Mail cant be sent

Im trying to send emails from my magento2. Im getting this message.

Im using Magento 2.1.3
Mandrill is configured, Mailchimp is also properly configured

Any ideas?

[2017-02-08 15:38:04] main.CRITICAL: Exception message: The message should be an instance of \Zend_Mail Trace: #0 /var/www/html/mg/vendor/bogardo/mailgun-magento2/Mail/Transport.php(39): Magento\Framework\Mail\Transport->__construct(Object(Ebizmarts\Mandrill\Model\Message), NULL) #1 /var/www/html/mg/var/generation/Bogardo/Mailgun/Mail/Transport/Interceptor.php(14): Bogardo\Mailgun\Mail\Transport->__construct(Object(Ebizmarts\Mandrill\Model\Message), NULL) #2 /var/www/html/mg/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(93): Bogardo\Mailgun\Mail\Transport\Interceptor->__construct(Object(Ebizmarts\Mandrill\Model\Message), NULL) #3 /var/www/html/mg/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(89): Magento\Framework\ObjectManager\Factory\AbstractFactory->createObject('Bogardo\\Mailgun...', Array) #4 /var/www/html/mg/vendor/magento/framework/ObjectManager/ObjectManager.php(57): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create('Bogardo\\Mailgun...', Array) #5 /var/www/html/mg/vendor/magento/framework/Mail/TransportInterfaceFactory.php(50): Magento\Framework\ObjectManager\ObjectManager->create('Magento\\Framewo...', Array) #6 /var/www/html/mg/vendor/magento/framework/Mail/Template/TransportBuilder.php(228): Magento\Framework\Mail\TransportInterfaceFactory->create(Array) #7 /var/www/html/mg/vendor/magento/module-customer/Model/EmailNotification.php(237): Magento\Framework\Mail\Template\TransportBuilder->getTransport() #8 /var/www/html/mg/vendor/magento/module-customer/Model/EmailNotification.php(320): Magento\Customer\Model\EmailNotification->sendEmailTemplate(Object(Magento\Customer\Model\Data\Customer), 'customer/passwo...', 'customer/passwo...', Array, '1') #9 /var/www/html/mg/vendor/magento/module-customer/Model/AccountManagement.php(514): Magento\Customer\Model\EmailNotification->passwordResetConfirmation(Object(Magento\Customer\Model\Data\Customer)) #10 /var/www/html/mg/vendor/magento/framework/Interception/Interceptor.php(146): Magento\Customer\Model\AccountManagement->initiatePasswordReset('dariocarnelutti...', 'email_reset', '1') #11 /var/www/html/mg/var/generation/Magento/Customer/Model/AccountManagement/Interceptor.php(91): Magento\Customer\Model\AccountManagement\Interceptor->___callPlugins('initiatePasswor...', Array, Array) #12 /var/www/html/mg/vendor/magento/module-customer/Controller/Account/ForgotPasswordPost.php(72): Magento\Customer\Model\AccountManagement\Interceptor->initiatePasswordReset('dariocarnelutti...', 'email_reset') #13 /var/www/html/mg/var/generation/Magento/Customer/Controller/Account/ForgotPasswordPost/Interceptor.php(24): Magento\Customer\Controller\Account\ForgotPasswordPost->execute() #14 /var/www/html/mg/vendor/magento/framework/App/Action/Action.php(102): Magento\Customer\Controller\Account\ForgotPasswordPost\Interceptor->execute() #15 /var/www/html/mg/vendor/magento/framework/Interception/Interceptor.php(74): Magento\Framework\App\Action\Action->dispatch(Object(Magento\Framework\App\Request\Http)) #16 /var/www/html/mg/vendor/magento/framework/Interception/Chain/Chain.php(70): Magento\Customer\Controller\Account\ForgotPasswordPost\Interceptor->___callParent('dispatch', Array) #17 /var/www/html/mg/vendor/magento/framework/Interception/Chain/Chain.php(63): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\\Custome...', 'dispatch', Object(Magento\Customer\Controller\Account\ForgotPasswordPost\Interceptor), Array, 'contextPlugin') #18 /var/www/html/mg/vendor/magento/module-store/App/Action/Plugin/Context.php(106): Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain\{closure}(Object(Magento\Framework\App\Request\Http)) #19 /var/www/html/mg/vendor/magento/framework/Interception/Chain/Chain.php(67): Magento\Store\App\Action\Plugin\Context->aroundDispatch(Object(Magento\Customer\Controller\Account\ForgotPasswordPost\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http)) #20 /var/www/html/mg/vendor/magento/framework/Interception/Chain/Chain.php(63): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\\Custome...', 'dispatch', Object(Magento\Customer\Controller\Account\ForgotPasswordPost\Interceptor), Array, 'customer-app-ac...') #21 /var/www/html/mg/vendor/magento/module-customer/Model/App/Action/ContextPlugin.php(61): Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain\{closure}(Object(Magento\Framework\App\Request\Http)) #22 /var/www/html/mg/vendor/magento/framework/Interception/Chain/Chain.php(67): Magento\Customer\Model\App\Action\ContextPlugin->aroundDispatch(Object(Magento\Customer\Controller\Account\ForgotPasswordPost\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http)) #23 /var/www/html/mg/vendor/magento/framework/Interception/Chain/Chain.php(63): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\\Custome...', 'dispatch', Object(Magento\Customer\Controller\Account\ForgotPasswordPost\Interceptor), Array, 'storeCheck') #24 /var/www/html/mg/vendor/magento/module-store/App/Action/Plugin/StoreCheck.php(44): Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain\{closure}(Object(Magento\Framework\App\Request\Http)) #25 /var/www/html/mg/vendor/magento/framework/Interception/Chain/Chain.php(67): Magento\Store\App\Action\Plugin\StoreCheck->aroundDispatch(Object(Magento\Customer\Controller\Account\ForgotPasswordPost\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http)) #26 /var/www/html/mg/vendor/magento/framework/Interception/Chain/Chain.php(63): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\\Custome...', 'dispatch', Object(Magento\Customer\Controller\Account\ForgotPasswordPost\Interceptor), Array, 'customer_accoun...') #27 /var/www/html/mg/vendor/magento/module-customer/Controller/Plugin/Account.php(60): Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain\{closure}(Object(Magento\Framework\App\Request\Http)) #28 /var/www/html/mg/vendor/magento/framework/Interception/Chain/Chain.php(67): Magento\Customer\Controller\Plugin\Account->aroundDispatch(Object(Magento\Customer\Controller\Account\ForgotPasswordPost\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http)) #29 /var/www/html/mg/vendor/magento/framework/Interception/Chain/Chain.php(63): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\\Custome...', 'dispatch', Object(Magento\Customer\Controller\Account\ForgotPasswordPost\Interceptor), Array, 'weee-app-action...') #30 /var/www/html/mg/vendor/magento/module-weee/Model/App/Action/ContextPlugin.php(112): Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain\{closure}(Object(Magento\Framework\App\Request\Http)) #31 /var/www/html/mg/vendor/magento/framework/Interception/Chain/Chain.php(67): Magento\Weee\Model\App\Action\ContextPlugin->aroundDispatch(Object(Magento\Customer\Controller\Account\ForgotPasswordPost\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http)) #32 /var/www/html/mg/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\\Custome...', 'dispatch', Object(Magento\Customer\Controller\Account\ForgotPasswordPost\Interceptor), Array, 'tax-app-action-...') #33 /var/www/html/mg/vendor/magento/module-tax/Model/App/Action/ContextPlugin.php(91): Magento\Customer\Controller\Account\ForgotPasswordPost\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Request\Http)) #34 /var/www/html/mg/vendor/magento/framework/Interception/Interceptor.php(142): Magento\Tax\Model\App\Action\ContextPlugin->aroundDispatch(Object(Magento\Customer\Controller\Account\ForgotPasswordPost\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http)) #35 /var/www/html/mg/var/generation/Magento/Customer/Controller/Account/ForgotPasswordPost/Interceptor.php(39): Magento\Customer\Controller\Account\ForgotPasswordPost\Interceptor->___callPlugins('dispatch', Array, Array) #36 /var/www/html/mg/vendor/magento/framework/App/FrontController.php(55): Magento\Customer\Controller\Account\ForgotPasswordPost\Interceptor->dispatch(Object(Magento\Framework\App\Request\Http)) #37 /var/www/html/mg/vendor/magento/framework/Interception/Interceptor.php(74): Magento\Framework\App\FrontController->dispatch(Object(Magento\Framework\App\Request\Http)) #38 /var/www/html/mg/vendor/magento/framework/Interception/Chain/Chain.php(70): Magento\Framework\App\FrontController\Interceptor->___callParent('dispatch', Array) #39 /var/www/html/mg/vendor/magento/framework/Interception/Chain/Chain.php(63): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\\Framewo...', 'dispatch', Object(Magento\Framework\App\FrontController\Interceptor), Array, 'requestPreproce...') #40 /var/www/html/mg/vendor/magento/module-store/App/FrontController/Plugin/RequestPreprocessor.php(94): Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain\{closure}(Object(Magento\Framework\App\Request\Http)) #41 /var/www/html/mg/vendor/magento/framework/Interception/Chain/Chain.php(67): Magento\Store\App\FrontController\Plugin\RequestPreprocessor->aroundDispatch(Object(Magento\Framework\App\FrontController\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http)) #42 /var/www/html/mg/vendor/magento/framework/Interception/Chain/Chain.php(63): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\\Framewo...', 'dispatch', Object(Magento\Framework\App\FrontController\Interceptor), Array, 'install') #43 /var/www/html/mg/vendor/magento/framework/Module/Plugin/DbStatusValidator.php(69): Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain\{closure}(Object(Magento\Framework\App\Request\Http)) #44 /var/www/html/mg/vendor/magento/framework/Interception/Chain/Chain.php(67): Magento\Framework\Module\Plugin\DbStatusValidator->aroundDispatch(Object(Magento\Framework\App\FrontController\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http)) #45 /var/www/html/mg/vendor/magento/framework/Interception/Chain/Chain.php(63): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\\Framewo...', 'dispatch', Object(Magento\Framework\App\FrontController\Interceptor), Array, 'front-controlle...') #46 /var/www/html/mg/vendor/magento/module-page-cache/Model/App/FrontController/VarnishPlugin.php(55): Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain\{closure}(Object(Magento\Framework\App\Request\Http)) #47 /var/www/html/mg/vendor/magento/framework/Interception/Chain/Chain.php(67): Magento\PageCache\Model\App\FrontController\VarnishPlugin->aroundDispatch(Object(Magento\Framework\App\FrontController\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http)) #48 /var/www/html/mg/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\\Framewo...', 'dispatch', Object(Magento\Framework\App\FrontController\Interceptor), Array, 'front-controlle...') #49 /var/www/html/mg/vendor/magento/module-page-cache/Model/App/FrontController/BuiltinPlugin.php(73): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Request\Http)) #50 /var/www/html/mg/vendor/magento/framework/Interception/Interceptor.php(142): Magento\PageCache\Model\App\FrontController\BuiltinPlugin->aroundDispatch(Object(Magento\Framework\App\FrontController\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http)) #51 /var/www/html/mg/var/generation/Magento/Framework/App/FrontController/Interceptor.php(26): Magento\Framework\App\FrontController\Interceptor->___callPlugins('dispatch', Array, Array) #52 /var/www/html/mg/vendor/magento/framework/App/Http.php(135): Magento\Framework\App\FrontController\Interceptor->dispatch(Object(Magento\Framework\App\Request\Http)) #53 /var/www/html/mg/vendor/magento/framework/App/Bootstrap.php(258): Magento\Framework\App\Http->launch() #54 /var/www/html/mg/index.php(39): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http)) #55 {main} [] []

Sender email not populated in Order emails for Magento 2.2.4

I'm still investigating the issue, but after upgrading our staging server our order emails seem to be failing due to no sender info getting set in the API call.

The test email does work, so the problem must be when it tries to pull the emails for the order.

Customer receiving same order email twice after placing an order

Describe the bug
We are using mandrill version 3.0.13 and Magento 2 version 2.2.5. Customers are getting same order email twice after placing an order.

To Reproduce
Steps to reproduce the behavior:

  1. Go to product detail page
  2. Click on add to cart
  3. Place an order
  4. Customer getting two confirmation order emails.

Expected behavior
Customer should only get one order confirmation email

Screenshots
download

order-email

Additional context
Magento 2 version 2.2.5
Mandrill version 3.0.13

Exception occurred during setting up Mandrill API key

Situation - How did you get there?

Stores -> Configuration -> Mandrill. I've set up MageMonkey API key and it was good after save.
Later, I've set up Mandrill API key, and after save it has thrown an Exception.

Problem - What went wrong?

I got exception after click on Save during Mandrill API key set up.
(Exception stack trace is at the end)

Possible solution - How should it be?

Looks like Ebizmarts\Mandrill\Model\Api\Mandrill constructor is trying to instantiate itself.

`( ! ) Fatal error: Uncaught Error: Class 'Mandrill' not found in /vagrant/www/app/code/Ebizmarts/Mandrill/Model/Api/Mandrill.php on line 31
( ! ) Error: Class 'Mandrill' not found in /vagrant/www/app/code/Ebizmarts/Mandrill/Model/Api/Mandrill.php on line 31
Call Stack

Time Memory Function Location

1 0.0000 363064 {main}( ) .../index.php:0
2 0.0480 3472184 Magento\Framework\App\Bootstrap->run( ) .../index.php:37
3 0.0488 3504080 Magento\Framework\App\Http->launch( ) .../Bootstrap.php:258
4 0.1035 8233152 Magento\Framework\App\FrontController\Interceptor->dispatch( ) .../Http.php:135
5 0.1054 8201688 Magento\Framework\App\FrontController\Interceptor->___callPlugins( ) .../Interceptor.php:26
6 0.1194 9099208 Magento\Framework\Module\Plugin\DbStatusValidator->aroundDispatch( ) .../Interceptor.php:142
7 0.1205 9099240 Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception{closure}( ) .../DbStatusValidator.php:69
8 0.1205 9099616 Magento\Framework\Interception\Chain\Chain->invokeNext( ) .../Interceptor.php:138
9 0.1205 9099656 Magento\Framework\App\FrontController\Interceptor->___callParent( ) .../Chain.php:70
10 0.1205 9099656 Magento\Framework\App\FrontController->dispatch( ) .../Interceptor.php:74
11 0.1330 9772168 Magento\Framework\App\Router\Base->match( ) .../FrontController.php:50
12 0.1330 9773256 Magento\Framework\App\Router\Base->matchAction( ) .../Base.php:161
13 0.1367 9919416 Magento\Framework\App\ActionFactory->create( ) .../Base.php:300
14 0.1367 9919416 Magento\Framework\ObjectManager\ObjectManager->create( ) .../ActionFactory.php:40
15 0.1367 9919416 Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create( ) .../ObjectManager.php:57
16 0.1402 10067400 Magento\Framework\ObjectManager\Factory\Dynamic\Developer->_resolveArguments( ) .../Developer.php:82
17 0.1402 10068080 Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgument( ) .../Developer.php:53
18 0.1402 10068080 Magento\Framework\ObjectManager\ObjectManager->get( ) .../AbstractFactory.php:126
19 0.1402 10068080 Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create( ) .../ObjectManager.php:71
20 0.1421 10160048 Magento\Framework\ObjectManager\Factory\Dynamic\Developer->_resolveArguments( ) .../Developer.php:82
21 0.1422 10160936 Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgument( ) .../Developer.php:53
22 0.1422 10160936 Magento\Framework\ObjectManager\ObjectManager->get( ) .../AbstractFactory.php:126
23 0.1422 10160936 Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create( ) .../ObjectManager.php:71
24 0.1423 10166128 Magento\Framework\ObjectManager\Factory\Dynamic\Developer->_resolveArguments( ) .../Developer.php:82
25 0.1424 10167824 Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgument( ) .../Developer.php:53
26 0.1424 10167824 Magento\Framework\ObjectManager\ObjectManager->get( ) .../AbstractFactory.php:126
27 0.1424 10167824 Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create( ) .../ObjectManager.php:71
28 0.1491 10489936 Magento\Framework\ObjectManager\Factory\AbstractFactory->createObject( ) .../Developer.php:89
29 0.1491 10490256 Magento\Backend\Model\Session\Interceptor->__construct( ) .../AbstractFactory.php:93
30 0.1492 10490256 Magento\Framework\Session\SessionManager->__construct( ) .../Interceptor.php:14
31 0.1492 10490256 Magento\Backend\Model\Session\Interceptor->start( ) .../SessionManager.php:130
32 0.1492 10490256 Magento\Framework\Session\SessionManager->start( ) .../Interceptor.php:63
33 0.1493 10496240 session_start ( ) .../SessionManager.php:189
34 0.1551 11101976 Magento\User\Model\User->__wakeup( ) .../SessionManager.php:189
35 0.1564 11127776 Magento\Framework\ObjectManager\ObjectManager->get( ) .../User.php:204
36 0.1564 11127776 Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create( ) .../ObjectManager.php:71
37 0.1567 11133800 Magento\Framework\ObjectManager\Factory\Dynamic\Developer->_resolveArguments( ) .../Developer.php:82
38 0.1569 11136632 Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgument( ) .../Developer.php:53
39 0.1569 11136632 Magento\Framework\ObjectManager\ObjectManager->get( ) .../AbstractFactory.php:126
40 0.1569 11136632 Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create( ) .../ObjectManager.php:71
41 0.1580 11184800 Magento\Framework\ObjectManager\Factory\Dynamic\Developer->_resolveArguments( ) .../Developer.php:82
42 0.1581 11186784 Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgument( ) .../Developer.php:53
43 0.1581 11186784 Magento\Framework\ObjectManager\ObjectManager->get( ) .../AbstractFactory.php:126
44 0.1581 11186784 Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create( ) .../ObjectManager.php:71
45 0.1581 11188112 Magento\Framework\ObjectManager\Factory\AbstractFactory->createObject( ) .../Developer.php:89
46 0.1581 11188168 Ebizmarts\Mandrill\Model\Api\Mandrill->__construct( ) .../AbstractFactory.php:93
`

Uncaught Error: Class 'Mandrill' not found in

In line 31 $this->_api = new \Mandrill($apiKey); mandrill class is not imported!

Fatal error: Uncaught Error: Class 'Mandrill' not found in /Applications/MAMP/htdocs/magento2/app/code/Ebizmarts/Mandrill/Model/Api/Mandrill.php:31 Stack trace: #0 /Applications/MAMP/htdocs/magento2/lib/internal/Magento/Framework/ObjectManager/Factory/AbstractFactory.php(111): Ebizmarts\Mandrill\Model\Api\Mandrill->__construct(Object(Ebizmarts\Mandrill\Helper\Data)) #1 /Applications/MAMP/htdocs/magento2/lib/internal/Magento/Framework/ObjectManager/Factory/Compiled.php(108): Magento\Framework\ObjectManager\Factory\AbstractFactory->createObject('Ebizmarts\\Mandr...', Array) #2 /Applications/MAMP/htdocs/magento2/lib/internal/Magento/Framework/ObjectManager/Factory/Compiled.php(150): Magento\Framework\ObjectManager\Factory\Compiled->create('Ebizmarts\\Mandr...') #3 /Applications/MAMP/htdocs/magento2/lib/internal/Magento/Framework/ObjectManager/Factory/Compiled.php(79): Magento\Framework\ObjectManager\Factory\Compiled->get('Ebizmarts\\Mandr...') #4 /Applications/MAMP/htdocs/magento2/lib/internal/Magento/Framework/ObjectManager in /Applications/MAMP/htdocs/magento2/app/code/Ebizmarts/Mandrill/Model/Api/Mandrill.php on line 31

Email is no longer dispatched via Mandrill

The fix for #30 actually broke Mandrill email. It does allow the system to bypass it when it isn't enabled, but it effectively prevents sending email through Mandrill.

I'll see about creating an official PR tomorrow, but in order to fix this locally I had to create a new plugin and disable the Transport plugin:

    <type name="Magento\Framework\Mail\TransportInterfaceFactory">
        <plugin name="fixMandrillTransport" type="Namespace\Module\Plugin\Mail\TransportInterfaceFactory"/>
    </type>
    <type name="Magento\Framework\Mail\Transport">
        <plugin name="mandrill-send-message" disabled="true" />
    </type>

and create the new class like so

<?php
namespace Namespace\Module\Plugin\Mail;

class TransportInterfaceFactory
{
    /**
     * Mandrill Transport Factory
     *
     * @var \Ebizmarts\Mandrill\Model\TransportFactory
     */
    protected $mandrillTransportFactory;

    /**
     * Mandrill Helper class
     *
     * @var \Ebizmarts\Mandrill\Helper\Data
     */
    protected $mandrillHelper;

    /**
     * TransportBuilder constructor.
     * @param \Ebizmarts\Mandrill\Helper\Data $mandrillHelper
     * @param \Ebizmarts\Mandrill\Model\TransportFactory $mandrillTransportFactory
     */
    public function __construct(
        \Ebizmarts\Mandrill\Helper\Data $mandrillHelper,
        \Ebizmarts\Mandrill\Model\TransportFactory $mandrillTransportFactory
    ) {
        $this->mandrillHelper = $mandrillHelper;
        $this->mandrillTransportFactory = $mandrillTransportFactory;
    }

    /**
     * Replace mail transport with Mandrill if needed
     *
     * @param \Magento\Framework\Mail\TransportInterfaceFactory $subject
     * @param \Closure $proceed
     * @param array $data
     *
     * @return \Magento\Framework\Mail\TransportInterface
     */
    public function aroundCreate(
        \Magento\Framework\Mail\TransportInterfaceFactory $subject,
        \Closure $proceed,
        array $data = []
    ) {
        if ($this->isMandrillEnabled() === false) {
            /** @var \Magento\Framework\Mail\TransportInterface $transport */
            $transport = $proceed($data);
            return $transport;
        } else {
            return $this->mandrillTransportFactory->create($data);
        }
    }

    /**
     * Get status of Mandrill
     *
     * @return bool
     */
    private function isMandrillEnabled()
    {
        return $this->mandrillHelper->isMandrillEnabled();
    }
}

Missing function in transport file

I use Magento 2.2 with php 7.0
If i try to use magento setup:di:compile
it says the following:

 * Class Ebizmarts\Mandrill\Model\Transport contains 1 abstract method and must therefore be
 * declared abstract or implement the remaining methods
 * (Magento\Framework\Mail\TransportInterface::getMessage)

Can you please at this function to file Ebizmarts\Mandrill\Model\Transport:

    /**
     * Needed to be added otherwise during setup:di:compile you'll get an error.
     *
     * @return string
     */
    public function getMessage(){}

This way i can mail using mandrill otherwise i cant...

Not working on Magento 2.2

My Magento store stopped sending emails since I updated to Magento 2.2

The following error was reported on var/log/exception.log

[2017-10-19 00:09:43] main.CRITICAL: No body specified {"exception":"[object] (Magento\\Framework\\Exception\\MailException(code: 0): No body specified at /opt/bitnami/apps/magento/htdocs/vendor/magepal/magento2-gmailsmtpapp/Plugin/Mail/TransportPlugin.php:94, Zend_Mail_Transport_Exception(code: 0): No body specified at /opt/bitnami/apps/magento/htdocs/vendor/magento/zendframework1/library/Zend/Mail/Transport/Abstract.php:284)"} []

In the Mandrill application the API log is only showing the calls to /users/info.json. No calls to /messages/send.json since my upgrade to Magento 2.2.

When I try to send a test email (from Stores > Configuration > Mailchimp > Mandril) I got the following error message: "A technical problem with the server created an error. Try again to continue what you were doing. If the problem persists, try again later."

Attached to this issue the complete list of composer packages I have on my installation after the update.

Any idea what can be happening? or where I can look for any other error log?

Thanks in advance.

packages.txt

Cannot save configuration

When using this field, there is a javascript error in console and a loading gif appear and does not save the data:

<field id="account_details" translate="label" type="textarea" sortOrder="40" ...>
  <label>Account Details</label>
  <frontend_model>Ebizmarts\Mandrill\Block\Adminhtml\System\Config\...</frontend_model>
  <source_model>Ebizmarts\Mandrill\Model\Config\Source\Details</source_model>
  <depends>
    <field id="*/*/active">1</field>
  </depends>
</field>

Without this field it works!

See: https://nimbus.everhelper.me/client/notes/share/483842/b3gsid4kyazz50t2bwxi
Same thing on magento 2.0.4 as well as on 2.0.7.

Customer registration bug - Customer could not saved

After create customer Account the message "Customer could not saved" returned.
But the Customer is successfully created and can find in backend.
Mage Monkey Module 3.0.6 is configured other modules actually not.

[2016-09-05 09:49:57] main.CRITICAL: Exception message: Notice: Trying to get property of non-object in /home/vnmoebel/domains/vnmoebel.de/app/code/Ebizmarts/Mandrill/Model/Transport.php on line 84
Trace: #0 /home/vnmoebel/domains/vnmoebel.de/app/code/Ebizmarts/Mandrill/Model/Transport.php(84): Magento\Framework\App\ErrorHandler->handler(8, 'Trying to get p...', '/home/vnmoebel/...', 84, Array)

1 /home/vnmoebel/domains/vnmoebel.de/vendor/magento/framework/Interception/Interceptor.php(146): Ebizmarts\Mandrill\Model\Transport->sendMessage()

2 /home/vnmoebel/domains/vnmoebel.de/var/generation/Ebizmarts/Mandrill/Model/Transport/Interceptor.php(26): Ebizmarts\Mandrill\Model\Transport\Interceptor->___callPlugins('sendMessage', Array, Array)

3 /home/vnmoebel/domains/vnmoebel.de/vendor/magento/module-customer/Model/EmailNotification.php(239): Ebizmarts\Mandrill\Model\Transport\Interceptor->sendMessage()

4 /home/vnmoebel/domains/vnmoebel.de/vendor/magento/module-customer/Model/EmailNotification.php(363): Magento\Customer\Model\EmailNotification->sendEmailTemplate(Object(Magento\Customer\Model\Data\Customer), 'customer/create...', 'customer/create...', Array, 1)

5 /home/vnmoebel/domains/vnmoebel.de/vendor/magento/module-customer/Model/AccountManagement.php(777): Magento\Customer\Model\EmailNotification->newAccount(Object(Magento\Customer\Model\Data\Customer), 'registered', 'http://demo.vnm...', 1)

6 /home/vnmoebel/domains/vnmoebel.de/vendor/magento/module-customer/Model/AccountManagement.php(737): Magento\Customer\Model\AccountManagement->sendEmailConfirmation(Object(Magento\Customer\Model\Data\Customer), 'http://demo.vnm...')

7 /home/vnmoebel/domains/vnmoebel.de/var/generation/Magento/Customer/Model/AccountManagement/Interceptor.php(141): Magento\Customer\Model\AccountManagement->createAccountWithPasswordHash(Object(Magento\Customer\Model\Data\Customer), '19ff2c910c8b303...', 'http://demo.vnm...')

8 /home/vnmoebel/domains/vnmoebel.de/vendor/magento/module-customer/Model/AccountManagement.php(662): Magento\Customer\Model\AccountManagement\Interceptor->createAccountWithPasswordHash(Object(Magento\Customer\Model\Data\Customer), '19ff2c910c8b303...', 'http://demo.vnm...')

9 /home/vnmoebel/domains/vnmoebel.de/var/generation/Magento/Customer/Model/AccountManagement/Interceptor.php(128): Magento\Customer\Model\AccountManagement->createAccount(Object(Magento\Customer\Model\Data\Customer), 'Test123!', 'http://demo.vnm...')

10 /home/vnmoebel/domains/vnmoebel.de/vendor/magento/module-customer/Controller/Account/CreatePost.php(277): Magento\Customer\Model\AccountManagement\Interceptor->createAccount(Object(Magento\Customer\Model\Data\Customer), 'Test123!', 'http://demo.vnm...')

11 /home/vnmoebel/domains/vnmoebel.de/var/generation/Magento/Customer/Controller/Account/CreatePost/Interceptor.php(24): Magento\Customer\Controller\Account\CreatePost->execute()

12 /home/vnmoebel/domains/vnmoebel.de/vendor/magento/framework/App/Action/Action.php(102): Magento\Customer\Controller\Account\CreatePost\Interceptor->execute()

13 /home/vnmoebel/domains/vnmoebel.de/vendor/magento/framework/Interception/Interceptor.php(74): Magento\Framework\App\Action\Action->dispatch(Object(Magento\Framework\App\Request\Http))

14 /home/vnmoebel/domains/vnmoebel.de/vendor/magento/framework/Interception/Chain/Chain.php(70): Magento\Customer\Controller\Account\CreatePost\Interceptor->___callParent('dispatch', Array)

15 /home/vnmoebel/domains/vnmoebel.de/vendor/magento/framework/Interception/Chain/Chain.php(63): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\Custome...', 'dispatch', Object(Magento\Customer\Controller\Account\CreatePost\Interceptor), Array, 'storeCheck')

16 /home/vnmoebel/domains/vnmoebel.de/vendor/magento/module-store/App/Action/Plugin/StoreCheck.php(44): Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain{closure}(Object(Magento\Framework\App\Request\Http))

17 /home/vnmoebel/domains/vnmoebel.de/vendor/magento/framework/Interception/Chain/Chain.php(67): Magento\Store\App\Action\Plugin\StoreCheck->aroundDispatch(Object(Magento\Customer\Controller\Account\CreatePost\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))

18 /home/vnmoebel/domains/vnmoebel.de/vendor/magento/framework/Interception/Chain/Chain.php(63): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\Custome...', 'dispatch', Object(Magento\Customer\Controller\Account\CreatePost\Interceptor), Array, 'contextPlugin')

19 /home/vnmoebel/domains/vnmoebel.de/vendor/magento/module-store/App/Action/Plugin/Context.php(106): Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain{closure}(Object(Magento\Framework\App\Request\Http))

20 /home/vnmoebel/domains/vnmoebel.de/vendor/magento/framework/Interception/Chain/Chain.php(67): Magento\Store\App\Action\Plugin\Context->aroundDispatch(Object(Magento\Customer\Controller\Account\CreatePost\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))

21 /home/vnmoebel/domains/vnmoebel.de/vendor/magento/framework/Interception/Chain/Chain.php(63): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\Custome...', 'dispatch', Object(Magento\Customer\Controller\Account\CreatePost\Interceptor), Array, 'customer-app-ac...')

22 /home/vnmoebel/domains/vnmoebel.de/vendor/magento/module-customer/Model/App/Action/ContextPlugin.php(61): Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain{closure}(Object(Magento\Framework\App\Request\Http))

23 /home/vnmoebel/domains/vnmoebel.de/vendor/magento/framework/Interception/Chain/Chain.php(67): Magento\Customer\Model\App\Action\ContextPlugin->aroundDispatch(Object(Magento\Customer\Controller\Account\CreatePost\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))

24 /home/vnmoebel/domains/vnmoebel.de/vendor/magento/framework/Interception/Chain/Chain.php(63): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\Custome...', 'dispatch', Object(Magento\Customer\Controller\Account\CreatePost\Interceptor), Array, 'weee-app-action...')

25 /home/vnmoebel/domains/vnmoebel.de/vendor/magento/module-weee/Model/App/Action/ContextPlugin.php(112): Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain{closure}(Object(Magento\Framework\App\Request\Http))

26 /home/vnmoebel/domains/vnmoebel.de/vendor/magento/framework/Interception/Chain/Chain.php(67): Magento\Weee\Model\App\Action\ContextPlugin->aroundDispatch(Object(Magento\Customer\Controller\Account\CreatePost\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))

27 /home/vnmoebel/domains/vnmoebel.de/vendor/magento/framework/Interception/Chain/Chain.php(63): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\Custome...', 'dispatch', Object(Magento\Customer\Controller\Account\CreatePost\Interceptor), Array, 'tax-app-action-...')

28 /home/vnmoebel/domains/vnmoebel.de/vendor/magento/module-tax/Model/App/Action/ContextPlugin.php(91): Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain{closure}(Object(Magento\Framework\App\Request\Http))

29 /home/vnmoebel/domains/vnmoebel.de/vendor/magento/framework/Interception/Chain/Chain.php(67): Magento\Tax\Model\App\Action\ContextPlugin->aroundDispatch(Object(Magento\Customer\Controller\Account\CreatePost\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))

30 /home/vnmoebel/domains/vnmoebel.de/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\Custome...', 'dispatch', Object(Magento\Customer\Controller\Account\CreatePost\Interceptor), Array, 'customer_accoun...')

31 /home/vnmoebel/domains/vnmoebel.de/vendor/magento/module-customer/Controller/Plugin/Account.php(60): Magento\Customer\Controller\Account\CreatePost\Interceptor->Magento\Framework\Interception{closure}(Object(Magento\Framework\App\Request\Http))

32 /home/vnmoebel/domains/vnmoebel.de/vendor/magento/framework/Interception/Interceptor.php(142): Magento\Customer\Controller\Plugin\Account->aroundDispatch(Object(Magento\Customer\Controller\Account\CreatePost\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))

33 /home/vnmoebel/domains/vnmoebel.de/var/generation/Magento/Customer/Controller/Account/CreatePost/Interceptor.php(39): Magento\Customer\Controller\Account\CreatePost\Interceptor->___callPlugins('dispatch', Array, Array)

34 /home/vnmoebel/domains/vnmoebel.de/vendor/magento/framework/App/FrontController.php(55): Magento\Customer\Controller\Account\CreatePost\Interceptor->dispatch(Object(Magento\Framework\App\Request\Http))

35 /home/vnmoebel/domains/vnmoebel.de/vendor/magento/framework/Interception/Interceptor.php(74): Magento\Framework\App\FrontController->dispatch(Object(Magento\Framework\App\Request\Http))

36 /home/vnmoebel/domains/vnmoebel.de/vendor/magento/framework/Interception/Chain/Chain.php(70): Magento\Framework\App\FrontController\Interceptor->___callParent('dispatch', Array)

37 /home/vnmoebel/domains/vnmoebel.de/vendor/magento/framework/Interception/Chain/Chain.php(63): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\Framewo...', 'dispatch', Object(Magento\Framework\App\FrontController\Interceptor), Array, 'requestPreproce...')

38 /home/vnmoebel/domains/vnmoebel.de/vendor/magento/module-store/App/FrontController/Plugin/RequestPreprocessor.php(94): Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain{closure}(Object(Magento\Framework\App\Request\Http))

39 /home/vnmoebel/domains/vnmoebel.de/vendor/magento/framework/Interception/Chain/Chain.php(67): Magento\Store\App\FrontController\Plugin\RequestPreprocessor->aroundDispatch(Object(Magento\Framework\App\FrontController\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))

40 /home/vnmoebel/domains/vnmoebel.de/vendor/magento/framework/Interception/Chain/Chain.php(63): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\Framewo...', 'dispatch', Object(Magento\Framework\App\FrontController\Interceptor), Array, 'install')

41 /home/vnmoebel/domains/vnmoebel.de/vendor/magento/framework/Module/Plugin/DbStatusValidator.php(69): Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain{closure}(Object(Magento\Framework\App\Request\Http))

42 /home/vnmoebel/domains/vnmoebel.de/vendor/magento/framework/Interception/Chain/Chain.php(67): Magento\Framework\Module\Plugin\DbStatusValidator->aroundDispatch(Object(Magento\Framework\App\FrontController\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))

43 /home/vnmoebel/domains/vnmoebel.de/vendor/magento/framework/Interception/Chain/Chain.php(63): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\Framewo...', 'dispatch', Object(Magento\Framework\App\FrontController\Interceptor), Array, 'front-controlle...')

44 /home/vnmoebel/domains/vnmoebel.de/vendor/magento/module-page-cache/Model/App/FrontController/BuiltinPlugin.php(73): Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain{closure}(Object(Magento\Framework\App\Request\Http))

45 /home/vnmoebel/domains/vnmoebel.de/vendor/magento/framework/Interception/Chain/Chain.php(67): Magento\PageCache\Model\App\FrontController\BuiltinPlugin->aroundDispatch(Object(Magento\Framework\App\FrontController\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))

46 /home/vnmoebel/domains/vnmoebel.de/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\Framewo...', 'dispatch', Object(Magento\Framework\App\FrontController\Interceptor), Array, 'front-controlle...')

47 /home/vnmoebel/domains/vnmoebel.de/vendor/magento/module-page-cache/Model/App/FrontController/VarnishPlugin.php(55): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception{closure}(Object(Magento\Framework\App\Request\Http))

48 /home/vnmoebel/domains/vnmoebel.de/vendor/magento/framework/Interception/Interceptor.php(142): Magento\PageCache\Model\App\FrontController\VarnishPlugin->aroundDispatch(Object(Magento\Framework\App\FrontController\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))

49 /home/vnmoebel/domains/vnmoebel.de/var/generation/Magento/Framework/App/FrontController/Interceptor.php(26): Magento\Framework\App\FrontController\Interceptor->___callPlugins('dispatch', Array, Array)

50 /home/vnmoebel/domains/vnmoebel.de/vendor/magento/framework/App/Http.php(135): Magento\Framework\App\FrontController\Interceptor->dispatch(Object(Magento\Framework\App\Request\Http))

51 /home/vnmoebel/domains/vnmoebel.de/vendor/magento/framework/App/Bootstrap.php(258): Magento\Framework\App\Http->launch()

52 /home/vnmoebel/domains/vnmoebel.de/index.php(39): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http))

53 {main}

unable to send email

Actually disabling general activation settings doesn't seems to work.
I have disabled mandrill by setting "mandrill/general/active" => "No", but magento keep instantiate Ebizmarts\Mandrill\Model\Transport for email sending.
Debugging I have seen that the method Ebizmarts\Mandrill\Helper\Data::isActive()
isn't called anywhere.
Thanks

Incorrect module version in Admin

Describe the bug
In Magento Admin, version 3.1.0 of the module reports the incorrect version (pulled from etc/module.xml).

No other info included as this can be seen in current dev code as module.xml reports version 3.0.13.

PHP error on Autoresponder Config page

url ../admin/system_config/edit/section/autoresponder/key/aa8ae337d.../

1 exception(s):
Exception #0 (Exception): Notice: Use of undefined constant php - assumed 'php' in /path/to/domain//public_html/school/app/code/Ebizmarts/AutoResponder/view/adminhtml/templates/system/config/birthday/fieldset/hint.phtml on line 10

Exception #0 (Exception): Notice: Use of undefined constant php - assumed 'php' in /path/to/domain//public_html/school/app/code/Ebizmarts/AutoResponder/view/adminhtml/templates/system/config/birthday/fieldset/hint.phtml on line 10
#0 /path/to/domain//public_html/school/app/code/Ebizmarts/AutoResponder/view/adminhtml/templates/system/config/birthday/fieldset/hint.phtml(10): Magento\Framework\App\ErrorHandler->handler(8, 'Use of undefine...', '/home/dev/domai...', 10, Array)
#1 /path/to/domain//public_html/school/vendor/magento/framework/View/TemplateEngine/Php.php(59): include('/home/dev/domai...')
#2 /path/to/domain//public_html/school/vendor/magento/framework/View/Element/Template.php(255): Magento\Framework\View\TemplateEngine\Php->render(Object(Ebizmarts\AutoResponder\Block\Adminhtml\System\Config\Birthday\Fieldset\Hint), '/home/dev/domai...', Array)
#3 /path/to/domain//public_html/school/vendor/magento/framework/View/Element/Template.php(279): Magento\Framework\View\Element\Template->fetchView('/home/dev/domai...')
#4 /path/to/domain//public_html/school/vendor/magento/module-backend/Block/Template.php(104): Magento\Framework\View\Element\Template->_toHtml()
#5 /path/to/domain//public_html/school/vendor/magento/framework/View/Element/AbstractBlock.php(659): Magento\Backend\Block\Template->_toHtml()
#6 /path/to/domain//public_html/school/app/code/Ebizmarts/AutoResponder/Block/Adminhtml/System/Config/Birthday/Fieldset/Hint.php(50): Magento\Framework\View\Element\AbstractBlock->toHtml()
#7 /path/to/domain//public_html/school/vendor/magento/framework/Data/Form/Element/AbstractElement.php(453): Ebizmarts\AutoResponder\Block\Adminhtml\System\Config\Birthday\Fieldset\Hint->render(Object(Magento\Framework\Data\Form\Element\Text))
#8 /path/to/domain//public_html/school/vendor/magento/framework/Data/Form/Element/Text.php(43): Magento\Framework\Data\Form\Element\AbstractElement->getHtml()
#9 /path/to/domain//public_html/school/vendor/magento/framework/Data/Form/Element/AbstractElement.php(467): Magento\Framework\Data\Form\Element\Text->getHtml()
#10 /path/to/domain//public_html/school/vendor/magento/module-config/Block/System/Config/Form/Fieldset.php(81): Magento\Framework\Data\Form\Element\AbstractElement->toHtml()
#11 /path/to/domain//public_html/school/vendor/magento/module-config/Block/System/Config/Form/Fieldset.php(62): Magento\Config\Block\System\Config\Form\Fieldset->_getChildrenElementsHtml(Object(Magento\Framework\Data\Form\Element\Fieldset))
#12 /path/to/domain//public_html/school/vendor/magento/framework/Data/Form/Element/AbstractElement.php(453): Magento\Config\Block\System\Config\Form\Fieldset->render(Object(Magento\Framework\Data\Form\Element\Fieldset))
#13 /path/to/domain//public_html/school/vendor/magento/framework/Data/Form/Element/AbstractElement.php(467): Magento\Framework\Data\Form\Element\AbstractElement->getHtml()
#14 /path/to/domain//public_html/school/vendor/magento/framework/Data/Form.php(322): Magento\Framework\Data\Form\Element\AbstractElement->toHtml()
#15 /path/to/domain//public_html/school/vendor/magento/framework/Data/Form.php(337): Magento\Framework\Data\Form->toHtml()
#16 /path/to/domain//public_html/school/vendor/magento/module-backend/Block/Widget/Form.php(98): Magento\Framework\Data\Form->getHtml()
#17 /path/to/domain//public_html/school/vendor/magento/module-backend/view/adminhtml/templates/widget/form.phtml(15): Magento\Backend\Block\Widget\Form->getFormHtml()
#18 /path/to/domain//public_html/school/vendor/magento/framework/View/TemplateEngine/Php.php(59): include('/home/dev/domai...')
#19 /path/to/domain//public_html/school/vendor/magento/framework/View/Element/Template.php(255): Magento\Framework\View\TemplateEngine\Php->render(Object(Magento\Config\Block\System\Config\Form), '/home/dev/domai...', Array)
#20 /path/to/domain//public_html/school/vendor/magento/framework/View/Element/Template.php(279): Magento\Framework\View\Element\Template->fetchView('/home/dev/domai...')
#21 /path/to/domain//public_html/school/vendor/magento/module-backend/Block/Template.php(104): Magento\Framework\View\Element\Template->_toHtml()
#22 /path/to/domain//public_html/school/vendor/magento/framework/View/Element/AbstractBlock.php(659): Magento\Backend\Block\Template->_toHtml()
#23 /path/to/domain//public_html/school/vendor/magento/framework/View/Layout.php(542): Magento\Framework\View\Element\AbstractBlock->toHtml()
#24 /path/to/domain//public_html/school/vendor/magento/framework/View/Layout.php(518): Magento\Framework\View\Layout->_renderBlock('system\\config\\f...')
#25 /path/to/domain//public_html/school/var/generation/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('system\\config\\f...')
#26 /path/to/domain//public_html/school/vendor/magento/framework/View/Layout.php(472): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('system\\config\\f...')
#27 /path/to/domain//public_html/school/var/generation/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('system\\config\\f...', true)
#28 /path/to/domain//public_html/school/vendor/magento/framework/View/Element/AbstractBlock.php(499): Magento\Framework\View\Layout\Interceptor->renderElement('system\\config\\f...', true)
#29 /path/to/domain//public_html/school/vendor/magento/module-config/view/adminhtml/templates/system/config/edit.phtml(22): Magento\Framework\View\Element\AbstractBlock->getChildHtml('form')
#30 /path/to/domain//public_html/school/vendor/magento/framework/View/TemplateEngine/Php.php(59): include('/home/dev/domai...')
#31 /path/to/domain//public_html/school/vendor/magento/framework/View/Element/Template.php(255): Magento\Framework\View\TemplateEngine\Php->render(Object(Magento\Config\Block\System\Config\Edit), '/home/dev/domai...', Array)
#32 /path/to/domain//public_html/school/vendor/magento/framework/View/Element/Template.php(279): Magento\Framework\View\Element\Template->fetchView('/home/dev/domai...')
#33 /path/to/domain//public_html/school/vendor/magento/module-backend/Block/Template.php(104): Magento\Framework\View\Element\Template->_toHtml()
#34 /path/to/domain//public_html/school/vendor/magento/framework/View/Element/AbstractBlock.php(659): Magento\Backend\Block\Template->_toHtml()
#35 /path/to/domain//public_html/school/vendor/magento/framework/View/Layout.php(542): Magento\Framework\View\Element\AbstractBlock->toHtml()
#36 /path/to/domain//public_html/school/vendor/magento/framework/View/Layout.php(518): Magento\Framework\View\Layout->_renderBlock('system.config.e...')
#37 /path/to/domain//public_html/school/var/generation/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('system.config.e...')
#38 /path/to/domain//public_html/school/vendor/magento/framework/View/Layout.php(472): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('system.config.e...')
#39 /path/to/domain//public_html/school/var/generation/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('system.config.e...', true)
#40 /path/to/domain//public_html/school/vendor/magento/framework/View/Layout.php(569): Magento\Framework\View\Layout\Interceptor->renderElement('system.config.e...')
#41 /path/to/domain//public_html/school/vendor/magento/framework/View/Layout.php(520): Magento\Framework\View\Layout->_renderContainer('content')
#42 /path/to/domain//public_html/school/var/generation/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('content')
#43 /path/to/domain//public_html/school/vendor/magento/framework/View/Layout.php(472): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('content')
#44 /path/to/domain//public_html/school/var/generation/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('content', true)
#45 /path/to/domain//public_html/school/vendor/magento/framework/View/Layout.php(569): Magento\Framework\View\Layout\Interceptor->renderElement('content')
#46 /path/to/domain//public_html/school/vendor/magento/framework/View/Layout.php(520): Magento\Framework\View\Layout->_renderContainer('admin.scope.col...')
#47 /path/to/domain//public_html/school/var/generation/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('admin.scope.col...')
#48 /path/to/domain//public_html/school/vendor/magento/framework/View/Layout.php(472): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('admin.scope.col...')
#49 /path/to/domain//public_html/school/var/generation/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('admin.scope.col...', true)
#50 /path/to/domain//public_html/school/vendor/magento/framework/View/Layout.php(569): Magento\Framework\View\Layout\Interceptor->renderElement('admin.scope.col...')
#51 /path/to/domain//public_html/school/vendor/magento/framework/View/Layout.php(520): Magento\Framework\View\Layout->_renderContainer('main.col')
#52 /path/to/domain//public_html/school/var/generation/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('main.col')
#53 /path/to/domain//public_html/school/vendor/magento/framework/View/Layout.php(472): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('main.col')
#54 /path/to/domain//public_html/school/var/generation/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('main.col', true)
#55 /path/to/domain//public_html/school/vendor/magento/framework/View/Layout.php(569): Magento\Framework\View\Layout\Interceptor->renderElement('main.col')
#56 /path/to/domain//public_html/school/vendor/magento/framework/View/Layout.php(520): Magento\Framework\View\Layout->_renderContainer('page.main.conta...')
#57 /path/to/domain//public_html/school/var/generation/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('page.main.conta...')
#58 /path/to/domain//public_html/school/vendor/magento/framework/View/Layout.php(472): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('page.main.conta...')
#59 /path/to/domain//public_html/school/var/generation/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('page.main.conta...', true)
#60 /path/to/domain//public_html/school/vendor/magento/framework/View/Layout.php(569): Magento\Framework\View\Layout\Interceptor->renderElement('page.main.conta...')
#61 /path/to/domain//public_html/school/vendor/magento/framework/View/Layout.php(520): Magento\Framework\View\Layout->_renderContainer('page.content')
#62 /path/to/domain//public_html/school/var/generation/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('page.content')
#63 /path/to/domain//public_html/school/vendor/magento/framework/View/Layout.php(472): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('page.content')
#64 /path/to/domain//public_html/school/var/generation/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('page.content', true)
#65 /path/to/domain//public_html/school/vendor/magento/framework/View/Layout.php(569): Magento\Framework\View\Layout\Interceptor->renderElement('page.content')
#66 /path/to/domain//public_html/school/vendor/magento/framework/View/Layout.php(520): Magento\Framework\View\Layout->_renderContainer('page.wrapper')
#67 /path/to/domain//public_html/school/var/generation/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('page.wrapper')
#68 /path/to/domain//public_html/school/vendor/magento/framework/View/Layout.php(472): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('page.wrapper')
#69 /path/to/domain//public_html/school/var/generation/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('page.wrapper', true)
#70 /path/to/domain//public_html/school/vendor/magento/framework/View/Layout.php(569): Magento\Framework\View\Layout\Interceptor->renderElement('page.wrapper')
#71 /path/to/domain//public_html/school/vendor/magento/framework/View/Layout.php(520): Magento\Framework\View\Layout->_renderContainer('backend.page')
#72 /path/to/domain//public_html/school/var/generation/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('backend.page')
#73 /path/to/domain//public_html/school/vendor/magento/framework/View/Layout.php(472): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('backend.page')
#74 /path/to/domain//public_html/school/var/generation/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('backend.page', true)
#75 /path/to/domain//public_html/school/vendor/magento/framework/View/Layout.php(569): Magento\Framework\View\Layout\Interceptor->renderElement('backend.page')
#76 /path/to/domain//public_html/school/vendor/magento/framework/View/Layout.php(520): Magento\Framework\View\Layout->_renderContainer('root')
#77 /path/to/domain//public_html/school/var/generation/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('root')
#78 /path/to/domain//public_html/school/vendor/magento/framework/View/Layout.php(472): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('root')
#79 /path/to/domain//public_html/school/var/generation/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('root', true)
#80 /path/to/domain//public_html/school/vendor/magento/framework/View/Layout.php(938): Magento\Framework\View\Layout\Interceptor->renderElement('root')
#81 /path/to/domain//public_html/school/var/generation/Magento/Framework/View/Layout/Interceptor.php(492): Magento\Framework\View\Layout->getOutput()
#82 /path/to/domain//public_html/school/vendor/magento/framework/View/Result/Page.php(243): Magento\Framework\View\Layout\Interceptor->getOutput()
#83 /path/to/domain//public_html/school/vendor/magento/framework/View/Result/Layout.php(164): Magento\Framework\View\Result\Page->render(Object(Magento\Framework\App\Response\Http\Interceptor))
#84 /path/to/domain//public_html/school/var/generation/Magento/Backend/Model/View/Result/Page/Interceptor.php(193): Magento\Framework\View\Result\Layout->renderResult(Object(Magento\Framework\App\Response\Http\Interceptor))
#85 /path/to/domain//public_html/school/vendor/magento/framework/App/Http.php(139): Magento\Backend\Model\View\Result\Page\Interceptor->renderResult(Object(Magento\Framework\App\Response\Http\Interceptor))
#86 /path/to/domain//public_html/school/vendor/magento/framework/App/Bootstrap.php(258): Magento\Framework\App\Http->launch()
#87 /path/to/domain//public_html/school/index.php(39): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http))
#88 {main}

Wrong dependency for Magento 2.2.1

If you try to install the extension in Magento 2.2.1 fails, Magento 2.2.1 has 101.0.1 version of magento/module-sales but the composer.json says ^101.0.3

Wrong encoding: Charset set to iso-8859-1 instead of utf-8

Situation

Mails that are being sent through the Mandrill module get the iso-8859-1 charset. Causing client display issues with e-mail templates that use utf-8 encoding.

This happens (only?) if the module is set to Disabled from the admin configuration screen (Mandrill General Configuration).

For us this means that we currently can't use the Mandrill module due to our use of special characters in e-mail templates.

Problem

The Ebizmarts\Mandrill\Model\Message class never seems to set the utf-8 charset, which Magento's default class Magento\Framework\Mail\Message does in it's constructor.

Possible solutions

  • Make the Ebizmarts\Mandrill\Model\Message class set the same charset as Magento (utf-8)
  • Add a setting in the module's configuration screen to let users choose their encoding.

Class Templatemap unused?

Hi there,

I'm wondering how to map the Mailchimp/Mandrill templates to the Magento templates?

I've discovered class \Ebizmarts\Mandrill\Block\Adminhtml\System\Config\Form\Field\Templatemap but it seems that this class is unused.

How do the future feature look like? Can I help? What are the next steps?

Best, Cyrill

Bugs: Wrong argument data type after saved $apiKey

class Mandrill
{
    /**
     * @var \Mandrill
     */
    protected $_api;
    /**
     * Mandrill constructor.
     * @param \Ebizmarts\Mandrill\Helper\Data $helper
     */
    public function __construct(
        \Ebizmarts\Mandrill\Helper\Data $helper
    )
    {
        $apiKey     = $helper->getApiKey();
        if($apiKey!='') {
            $this->_api = New Mandrill($apiKey);
        }
    }

Recoverable Error: Argument 1 passed to Ebizmarts\Mandrill\Model\Api\Mandrill::__construct() must be an instance of Ebizmarts\Mandrill\Helper\Data, string given, called in app/code/Ebizmarts/Mandrill/Model/Api/Mandrill.php on line 31 and defined in app/code/Ebizmarts/Mandrill/Model/Api/Mandrill.php on line 27

Email sending failed: invalid-sender

Describe the bug
Order, Shipping Emails not sent. Attempting to email a comment on an order results in a alert pop up stating "Email sending failed: invalid-sender". Forgot password, Contact Form and Mandrill test emails are sent. I suspect there is an issue with the "Form" aspect of the sales and shipping emails when Mandrill is called to send. In all email cases above the from / sender email address is the same.

To Reproduce
Steps to reproduce the behavior:

  1. Place Order via Magento Checkout
  2. No sales / order confirmation email delivered
  3. Login to admin area and locate order placed
  4. Submit order comment ticking box "Notify Customer by Email"
  5. Alert box states "Email sending failed: invalid-sender"

Expected behavior
Sales, Order Confirmation emails sent / delivered.

Additional context
Prior to upgrading to Magento ver. 2.2.4 and Ebizmarts_Mandrill 3.0.13 this was not an issue. No changes were made to configuration.

aroundSave always set Abandonedcart to Inactive

Line of code: !$this->_objectManager->create('\Ebizmarts\Mandrill\Helper\Data')->isActive($config->getStore()) always return false;

public function aroundSave(\Magento\Config\Model\config $config,\Closure $proceed)
{

    $ret = $proceed();
    
    $sectionId = $config->getSection();
    if($sectionId=='abandonedcart'&&!$this->_objectManager->create('\Ebizmarts\Mandrill\Helper\Data')->isActive($config->getStore()))
    {

        $this->_writer->save(\Ebizmarts\AbandonedCart\Model\Config::ACTIVE,0,$config->getScope(),$config->getScopeId());
    }
    
    return $ret;
    
}

Undefined index in PluginList.php

I upgraded the module to the latest(3.0.13). During setup:di:compile Magento gives an exception:
[Exception] Notice: Undefined index: instance in vendor/magento/framework/Interception/PluginList/Plugi nList.php on line 196
Magento version: 2.1.10
It seems like the issue is in ebizmarts/magento2-mandrill/etc/di.xml in a plugin for Magento\Framework\Mail\TransportInterfaceFactory

Even if disabled causes error when signing up after checkout

Having installed the module in 2.0.4, I completed the checkout and clicked on the button to create a new account. I get the following error:

Notice: Trying to get property of non-object in .../vendor/ebizmarts/magento2-mandrill/Model/Transport.php on line 81

It looks like Mandrill is trying to send the email even though it's disabled, and complaining because if there is no API key set then it never creates a Mandrill object for sending.

Ressource Colletion

When trying to compile I get this error:
Fatal error: Class 'Magento\Framework\Model\Resource\Db\Collection\AbstractCollection'
Changing from Model/Resource to Model/ResourceModel fixes that but after trying to run compiler again it fails with this:

Ebizmarts\Mandrill\Block\Adminhtml\System\Config\Form\Field\MagentoTemplates
Incorrect dependency in class Ebizmarts\Mandrill\Block\Adminhtml\System\Config\Form\Field\MagentoTemplates in /Applications/MAMP/htdocs/theil/htdocs/app/code/Ebizmarts/Mandrill/Block/Adminhtml/System/Config/Form/Field/MagentoTemplates.php
\Psr\Log\LoggerInterface already exists in context object
Ebizmarts\Mandrill\Controller\Adminhtml\Email\Test
Incompatible argument type: Required type: \Magento\Backend\App\Action\Context. Actual type: \Magento\Framework\App\Action\Context; File:
/Applications/MAMP/htdocs/theil/htdocs/app/code/Ebizmarts/Mandrill/Controller/Adminhtml/Email/Test.php

Ebizmarts\Mandrill\Controller\Autoresponder\Unsubscribe
    Incorrect dependency in class Ebizmarts\Mandrill\Controller\Autoresponder\Unsubscribe in /Applications/MAMP/htdocs/theil/htdocs/app/code/Ebizmarts/Mandrill/Controller/Autoresponder/Unsubscribe.php

\Magento\Framework\ObjectManagerInterface already exists in context object
Ebizmarts\Mandrill\Helper\Data
Incorrect dependency in class Ebizmarts\Mandrill\Helper\Data in /Applications/MAMP/htdocs/theil/htdocs/app/code/Ebizmarts/Mandrill/Helper/Data.php
\Psr\Log\LoggerInterface already exists in context object

Mandrill issue with subscriber

I found that whenever I installed Mandrill module, the subscription function will fail. I will show “Something went wrong with the subscription.” And I track the code and found it threw an exception from sendConfirmationRequestEmail(). Can you check this? Thank you.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.