I receive the below error on Magento 2.1.5 and mageplaza/magento-2-google-analytics version 1.02.
I can access the back end and configure the module no problem but this is what I receive when I hit the front end.
Exception #0 (Exception): Recoverable Error: Argument 2 passed to Mageplaza\Core\Helper\AbstractData::__construct() must implement interface Magento\Framework\ObjectManagerInterface, none given, called in D:\Users\<username>\Documents\Web\magento22\vendor\mageplaza\magento-2-google-analytics\Helper\Data.php on line 30 and defined in D:\Users\<username>\Documents\Web\magento22\vendor\mageplaza\module-core\Helper\AbstractData.php on line 57 #0 D:\Users\<username>\Documents\Web\magento22\vendor\mageplaza\module-core\Helper\AbstractData.php(57): Magento\Framework\App\ErrorHandler->handler(4096, 'Argument 2 pass...', 'D:\\Users\\lbrook...', 57, Array) #1 D:\Users\<username>\Documents\Web\magento22\vendor\mageplaza\magento-2-google-analytics\Helper\Data.php(30): Mageplaza\Core\Helper\AbstractData->__construct(Object(Magento\Framework\App\Helper\Context)) #2 D:\Users\<username>\Documents\Web\magento22\vendor\magento\framework\ObjectManager\Factory\AbstractFactory.php(93): Mageplaza\GoogleAnalytics\Helper\Data->__construct(Object(Magento\Framework\App\Helper\Context), Object(Magento\Framework\ObjectManager\ObjectManager), Object(Magento\Store\Model\StoreManager)) #3 D:\Users\<username>\Documents\Web\magento22\vendor\magento\framework\ObjectManager\Factory\Compiled.php(88): Magento\Framework\ObjectManager\Factory\AbstractFactory->createObject('Mageplaza\\Googl...', Array) #4 D:\Users\<username>\Documents\Web\magento22\vendor\magento\framework\ObjectManager\Factory\Compiled.php(130): Magento\Framework\ObjectManager\Factory\Compiled->create('Mageplaza\\Googl...') #5 D:\Users\<username>\Documents\Web\magento22\vendor\magento\framework\ObjectManager\Factory\Compiled.php(67): Magento\Framework\ObjectManager\Factory\Compiled->get('Mageplaza\\Googl...') #6 D:\Users\<username>\Documents\Web\magento22\vendor\magento\framework\ObjectManager\ObjectManager.php(57): Magento\Framework\ObjectManager\Factory\Compiled->create('Mageplaza\\Googl...', Array) #7 D:\Users\<username>\Documents\Web\magento22\vendor\magento\framework\View\Element\BlockFactory.php(45): Magento\Framework\ObjectManager\ObjectManager->create('Mageplaza\\Googl...', Array) #8 D:\Users\<username>\Documents\Web\magento22\vendor\magento\framework\View\Layout\Generator\Block.php(257): Magento\Framework\View\Element\BlockFactory->createBlock('Mageplaza\\Googl...', Array) #9 D:\Users\<username>\Documents\Web\magento22\vendor\magento\framework\View\Layout\Generator\Block.php(237): Magento\Framework\View\Layout\Generator\Block->getBlockInstance('Mageplaza\\Googl...', Array) #10 D:\Users\<username>\Documents\Web\magento22\vendor\magento\framework\View\Layout\Generator\Block.php(216): Magento\Framework\View\Layout\Generator\Block->createBlock('Mageplaza\\Googl...', 'mageplaza_ga', Array) #11 D:\Users\<username>\Documents\Web\magento22\vendor\magento\framework\View\Layout\Generator\Block.php(124): Magento\Framework\View\Layout\Generator\Block->generateBlock(Object(Magento\Framework\View\Layout\ScheduledStructure), Object(Magento\Framework\View\Layout\Data\Structure), 'mageplaza_ga') #12 D:\Users\<username>\Documents\Web\magento22\vendor\magento\framework\View\Layout\GeneratorPool.php(86): Magento\Framework\View\Layout\Generator\Block->process(Object(Magento\Framework\View\Layout\Reader\Context), Object(Magento\Framework\View\Layout\Generator\Context)) #13 D:\Users\<username>\Documents\Web\magento22\vendor\magento\framework\View\Layout.php(327): Magento\Framework\View\Layout\GeneratorPool->process(Object(Magento\Framework\View\Layout\Reader\Context), Object(Magento\Framework\View\Layout\Generator\Context)) #14 D:\Users\<username>\Documents\Web\magento22\vendor\magento\framework\View\Layout\Builder.php(129): Magento\Framework\View\Layout->generateElements() #15 D:\Users\<username>\Documents\Web\magento22\vendor\magento\framework\View\Page\Builder.php(55): Magento\Framework\View\Layout\Builder->generateLayoutBlocks() #16 D:\Users\<username>\Documents\Web\magento22\vendor\magento\framework\View\Layout\Builder.php(65): Magento\Framework\View\Page\Builder->generateLayoutBlocks() #17 D:\Users\<username>\Documents\Web\magento22\vendor\magento\framework\View\Layout.php(244): Magento\Framework\View\Layout\Builder->build() #18 D:\Users\<username>\Documents\Web\magento22\vendor\magento\framework\View\Layout.php(859): Magento\Framework\View\Layout->build() #19 D:\Users\<username>\Documents\Web\magento22\vendor\magento\module-cms\Helper\Page.php(171): Magento\Framework\View\Layout->getBlock('page_content_he...') #20 D:\Users\<username>\Documents\Web\magento22\vendor\magento\module-cms\Controller\Index\Index.php(43): Magento\Cms\Helper\Page->prepareResultPage(Object(Magento\Cms\Controller\Index\Index\Interceptor), 'home') #21 D:\Users\<username>\Documents\Web\magento22\vendor\magento\framework\App\Action\Action.php(102): Magento\Cms\Controller\Index\Index->execute() #22 D:\Users\<username>\Documents\Web\magento22\vendor\magento\framework\Interception\Interceptor.php(74): Magento\Framework\App\Action\Action->dispatch(Object(Magento\Framework\App\Request\Http)) #23 D:\Users\<username>\Documents\Web\magento22\vendor\magento\framework\Interception\Chain\Chain.php(70): Magento\Cms\Controller\Index\Index\Interceptor->___callParent('dispatch', Array) #24 D:\Users\<username>\Documents\Web\magento22\vendor\magento\framework\Interception\Chain\Chain.php(63): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\\Cms\\Con...', 'dispatch', Object(Magento\Cms\Controller\Index\Index\Interceptor), Array, 'customer-app-ac...') #25 D:\Users\<username>\Documents\Web\magento22\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)) #26 D:\Users\<username>\Documents\Web\magento22\vendor\magento\framework\Interception\Chain\Chain.php(67): Magento\Customer\Model\App\Action\ContextPlugin->aroundDispatch(Object(Magento\Cms\Controller\Index\Index\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http)) #27 D:\Users\<username>\Documents\Web\magento22\vendor\magento\framework\Interception\Chain\Chain.php(63): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\\Cms\\Con...', 'dispatch', Object(Magento\Cms\Controller\Index\Index\Interceptor), Array, 'contextPlugin') #28 D:\Users\<username>\Documents\Web\magento22\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)) #29 D:\Users\<username>\Documents\Web\magento22\vendor\magento\framework\Interception\Chain\Chain.php(67): Magento\Store\App\Action\Plugin\Context->aroundDispatch(Object(Magento\Cms\Controller\Index\Index\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http)) #30 D:\Users\<username>\Documents\Web\magento22\vendor\magento\framework\Interception\Chain\Chain.php(63): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\\Cms\\Con...', 'dispatch', Object(Magento\Cms\Controller\Index\Index\Interceptor), Array, 'storeCheck') #31 D:\Users\<username>\Documents\Web\magento22\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)) #32 D:\Users\<username>\Documents\Web\magento22\vendor\magento\framework\Interception\Chain\Chain.php(67): Magento\Store\App\Action\Plugin\StoreCheck->aroundDispatch(Object(Magento\Cms\Controller\Index\Index\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http)) #33 D:\Users\<username>\Documents\Web\magento22\vendor\magento\framework\Interception\Chain\Chain.php(63): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\\Cms\\Con...', 'dispatch', Object(Magento\Cms\Controller\Index\Index\Interceptor), Array, 'tax-app-action-...') #34 D:\Users\<username>\Documents\Web\magento22\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)) #35 D:\Users\<username>\Documents\Web\magento22\vendor\magento\framework\Interception\Chain\Chain.php(67): Magento\Tax\Model\App\Action\ContextPlugin->aroundDispatch(Object(Magento\Cms\Controller\Index\Index\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http)) #36 D:\Users\<username>\Documents\Web\magento22\vendor\magento\framework\Interception\Interceptor.php(138): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\\Cms\\Con...', 'dispatch', Object(Magento\Cms\Controller\Index\Index\Interceptor), Array, 'weee-app-action...') #37 D:\Users\<username>\Documents\Web\magento22\vendor\magento\module-weee\Model\App\Action\ContextPlugin.php(112): Magento\Cms\Controller\Index\Index\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Request\Http)) #38 D:\Users\<username>\Documents\Web\magento22\vendor\magento\framework\Interception\Interceptor.php(142): Magento\Weee\Model\App\Action\ContextPlugin->aroundDispatch(Object(Magento\Cms\Controller\Index\Index\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http)) #39 D:\Users\<username>\Documents\Web\magento22\var\generation\Magento\Cms\Controller\Index\Index\Interceptor.php(26): Magento\Cms\Controller\Index\Index\Interceptor->___callPlugins('dispatch', Array, Array) #40 D:\Users\<username>\Documents\Web\magento22\vendor\magento\framework\App\FrontController.php(55): Magento\Cms\Controller\Index\Index\Interceptor->dispatch(Object(Magento\Framework\App\Request\Http)) #41 D:\Users\<username>\Documents\Web\magento22\vendor\magento\framework\Interception\Interceptor.php(74): Magento\Framework\App\FrontController->dispatch(Object(Magento\Framework\App\Request\Http)) #42 D:\Users\<username>\Documents\Web\magento22\vendor\magento\framework\Interception\Chain\Chain.php(70): Magento\Framework\App\FrontController\Interceptor->___callParent('dispatch', Array) #43 D:\Users\<username>\Documents\Web\magento22\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...') #44 D:\Users\<username>\Documents\Web\magento22\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)) #45 D:\Users\<username>\Documents\Web\magento22\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)) #46 D:\Users\<username>\Documents\Web\magento22\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') #47 D:\Users\<username>\Documents\Web\magento22\vendor\magento\framework\Module\Plugin\DbStatusValidator.php(69): Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain\{closure}(Object(Magento\Framework\App\Request\Http)) #48 D:\Users\<username>\Documents\Web\magento22\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)) #49 D:\Users\<username>\Documents\Web\magento22\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...') #50 D:\Users\<username>\Documents\Web\magento22\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)) #51 D:\Users\<username>\Documents\Web\magento22\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)) #52 D:\Users\<username>\Documents\Web\magento22\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...') #53 D:\Users\<username>\Documents\Web\magento22\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)) #54 D:\Users\<username>\Documents\Web\magento22\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)) #55 D:\Users\<username>\Documents\Web\magento22\var\generation\Magento\Framework\App\FrontController\Interceptor.php(26): Magento\Framework\App\FrontController\Interceptor->___callPlugins('dispatch', Array, Array) #56 D:\Users\<username>\Documents\Web\magento22\vendor\magento\framework\App\Http.php(135): Magento\Framework\App\FrontController\Interceptor->dispatch(Object(Magento\Framework\App\Request\Http)) #57 D:\Users\<username>\Documents\Web\magento22\vendor\magento\framework\App\Bootstrap.php(258): Magento\Framework\App\Http->launch() #58 D:\Users\<username>\Documents\Web\magento22\index.php(39): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http)) #59 {main}