medinadato / Magento2_Newsletter

Magento 2 Newsletter Subscription via Ajax.
2 stars 2 forks source link

Too few argument issue #7

Open Priyabaghelgithub opened 2 years ago

Priyabaghelgithub commented 2 years ago

Too few arguments to function Magento\Newsletter\Controller\Subscriber\NewAction::__construct(), 6 passed in F:\xampp\htdocs\mag\app\code\Custom\Newsletter\Controller\Plugin\Subscriber\NewAction.php on line 46 and at least 7 expected","1":"https://github.com/medinadato/Magento2_Newsletter/issues/1 Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create() called at [vendor\magento\framework\ObjectManager\ObjectManager.php:70]\n#2 Magento\Framework\ObjectManager\ObjectManager->get() called at [vendor\magento\framework\Interception\PluginList\PluginList.php:174]\n#3 Magento\Framework\Interception\PluginList\PluginList->getPlugin() called at [vendor\magento\framework\Interception\Interceptor.php:133]\n#4 Magento\Newsletter\Controller\Subscriber\NewAction\Interceptor->Magento\Framework\Interception{closure}