Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid block type when i try to enter in checkout #2780

Closed
oaramis opened this issue Dec 22, 2015 · 6 comments
Closed

Invalid block type when i try to enter in checkout #2780

oaramis opened this issue Dec 22, 2015 · 6 comments

Comments

@oaramis
Copy link

oaramis commented Dec 22, 2015

Invalid block type: Magento\Checkout\Block\Cart\Shipping
#0 /Applications/MAMP/htdocs/magento/vendor/magento/framework/View/Layout/Generator/Block.php(237): Magento\Framework\View\Layout\Generator\Block->getBlockInstance('Magento\Checkou...', Array)
#1 /Applications/MAMP/htdocs/magento/vendor/magento/framework/View/Layout/Generator/Block.php(216): Magento\Framework\View\Layout\Generator\Block->createBlock('Magento\Checkou...', 'checkout.cart.s...', Array)
#2 /Applications/MAMP/htdocs/magento/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), 'checkout.cart.s...')
#3 /Applications/MAMP/htdocs/magento/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))
#4 /Applications/MAMP/htdocs/magento/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))
#5 /Applications/MAMP/htdocs/magento/var/generation/Magento/Framework/View/Layout/Interceptor.php(89): Magento\Framework\View\Layout->generateElements()
#6 /Applications/MAMP/htdocs/magento/vendor/magento/framework/View/Layout/Builder.php(129): Magento\Framework\View\Layout\Interceptor->generateElements()
#7 /Applications/MAMP/htdocs/magento/vendor/magento/framework/View/Page/Builder.php(55): Magento\Framework\View\Layout\Builder->generateLayoutBlocks()
#8 /Applications/MAMP/htdocs/magento/vendor/magento/framework/View/Layout/Builder.php(65): Magento\Framework\View\Page\Builder->generateLayoutBlocks()
#9 /Applications/MAMP/htdocs/magento/vendor/magento/framework/View/Page/Config.php(166): Magento\Framework\View\Layout\Builder->build()
#10 /Applications/MAMP/htdocs/magento/vendor/magento/framework/View/Page/Config.php(186): Magento\Framework\View\Page\Config->build()
#11 /Applications/MAMP/htdocs/magento/var/generation/Magento/Framework/View/Page/Config/Interceptor.php(50): Magento\Framework\View\Page\Config->getTitle()
#12 /Applications/MAMP/htdocs/magento/vendor/magento/module-checkout/Controller/Cart/Index.php(55): Magento\Framework\View\Page\Config\Interceptor->getTitle()
#13 /Applications/MAMP/htdocs/magento/var/generation/Magento/Checkout/Controller/Cart/Index/Interceptor.php(24): Magento\Checkout\Controller\Cart\Index->execute()
#14 /Applications/MAMP/htdocs/magento/vendor/magento/framework/App/Action/Action.php(102): Magento\Checkout\Controller\Cart\Index\Interceptor->execute()
#15 [internal function]: Magento\Framework\App\Action\Action->dispatch(Object(Magento\Framework\App\Request\Http))
#16 /Applications/MAMP/htdocs/magento/vendor/magento/framework/Interception/Interceptor.php(74): call_user_func_array(Array, Array)
#17 /Applications/MAMP/htdocs/magento/vendor/magento/framework/Interception/Chain/Chain.php(70): Magento\Checkout\Controller\Cart\Index\Interceptor->___callParent('dispatch', Array)
#18 /Applications/MAMP/htdocs/magento/vendor/magento/framework/Interception/Chain/Chain.php(63): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\Checkou...', 'dispatch', Object(Magento\Checkout\Controller\Cart\Index\Interceptor), Array, 'designLoader')
#19 /Applications/MAMP/htdocs/magento/vendor/magento/framework/App/Action/Plugin/Design.php(39): Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain{closure}(Object(Magento\Framework\App\Request\Http))
#20 [internal function]: Magento\Framework\App\Action\Plugin\Design->aroundDispatch(Object(Magento\Checkout\Controller\Cart\Index\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))
#21 /Applications/MAMP/htdocs/magento/vendor/magento/framework/Interception/Chain/Chain.php(68): call_user_func_array(Array, Array)
#22 /Applications/MAMP/htdocs/magento/vendor/magento/framework/Interception/Chain/Chain.php(63): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\Checkou...', 'dispatch', Object(Magento\Checkout\Controller\Cart\Index\Interceptor), Array, 'contextPlugin')
#23 /Applications/MAMP/htdocs/magento/vendor/magento/module-store/App/Action/Plugin/Context.php(98): Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain{closure}(Object(Magento\Framework\App\Request\Http))
#24 [internal function]: Magento\Store\App\Action\Plugin\Context->aroundDispatch(Object(Magento\Checkout\Controller\Cart\Index\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))
#25 /Applications/MAMP/htdocs/magento/vendor/magento/framework/Interception/Chain/Chain.php(68): call_user_func_array(Array, Array)
#26 /Applications/MAMP/htdocs/magento/vendor/magento/framework/Interception/Chain/Chain.php(63): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\Checkou...', 'dispatch', Object(Magento\Checkout\Controller\Cart\Index\Interceptor), Array, 'storeCheck')
#27 /Applications/MAMP/htdocs/magento/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))
#28 [internal function]: Magento\Store\App\Action\Plugin\StoreCheck->aroundDispatch(Object(Magento\Checkout\Controller\Cart\Index\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))
#29 /Applications/MAMP/htdocs/magento/vendor/magento/framework/Interception/Chain/Chain.php(68): call_user_func_array(Array, Array)
#30 /Applications/MAMP/htdocs/magento/vendor/magento/framework/Interception/Chain/Chain.php(63): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\Checkou...', 'dispatch', Object(Magento\Checkout\Controller\Cart\Index\Interceptor), Array, 'customer-app-ac...')
#31 /Applications/MAMP/htdocs/magento/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))
#32 [internal function]: Magento\Customer\Model\App\Action\ContextPlugin->aroundDispatch(Object(Magento\Checkout\Controller\Cart\Index\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))
#33 /Applications/MAMP/htdocs/magento/vendor/magento/framework/Interception/Chain/Chain.php(68): call_user_func_array(Array, Array)
#34 /Applications/MAMP/htdocs/magento/vendor/magento/framework/Interception/Chain/Chain.php(63): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\Checkou...', 'dispatch', Object(Magento\Checkout\Controller\Cart\Index\Interceptor), Array, 'tax-app-action-...')
#35 /Applications/MAMP/htdocs/magento/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))
#36 [internal function]: Magento\Tax\Model\App\Action\ContextPlugin->aroundDispatch(Object(Magento\Checkout\Controller\Cart\Index\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))
#37 /Applications/MAMP/htdocs/magento/vendor/magento/framework/Interception/Chain/Chain.php(68): call_user_func_array(Array, Array)
#38 /Applications/MAMP/htdocs/magento/vendor/magento/framework/Interception/Interceptor.php(136): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\Checkou...', 'dispatch', Object(Magento\Checkout\Controller\Cart\Index\Interceptor), Array, 'weee-app-action...')
#39 /Applications/MAMP/htdocs/magento/vendor/magento/module-weee/Model/App/Action/ContextPlugin.php(112): Magento\Checkout\Controller\Cart\Index\Interceptor->Magento\Framework\Interception{closure}(Object(Magento\Framework\App\Request\Http))
#40 [internal function]: Magento\Weee\Model\App\Action\ContextPlugin->aroundDispatch(Object(Magento\Checkout\Controller\Cart\Index\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))
#41 /Applications/MAMP/htdocs/magento/vendor/magento/framework/Interception/Interceptor.php(141): call_user_func_array(Array, Array)
#42 /Applications/MAMP/htdocs/magento/var/generation/Magento/Checkout/Controller/Cart/Index/Interceptor.php(39): Magento\Checkout\Controller\Cart\Index\Interceptor->___callPlugins('dispatch', Array, Array)
#43 /Applications/MAMP/htdocs/magento/vendor/magento/framework/App/FrontController.php(55): Magento\Checkout\Controller\Cart\Index\Interceptor->dispatch(Object(Magento\Framework\App\Request\Http))
#44 [internal function]: Magento\Framework\App\FrontController->dispatch(Object(Magento\Framework\App\Request\Http))
#45 /Applications/MAMP/htdocs/magento/vendor/magento/framework/Interception/Interceptor.php(74): call_user_func_array(Array, Array)
#46 /Applications/MAMP/htdocs/magento/vendor/magento/framework/Interception/Chain/Chain.php(70): Magento\Framework\App\FrontController\Interceptor->___callParent('dispatch', Array)
#47 /Applications/MAMP/htdocs/magento/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...')
#48 /Applications/MAMP/htdocs/magento/vendor/magento/module-store/App/FrontController/Plugin/RequestPreprocessor.php(89): Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain{closure}(Object(Magento\Framework\App\Request\Http))
#49 [internal function]: Magento\Store\App\FrontController\Plugin\RequestPreprocessor->aroundDispatch(Object(Magento\Framework\App\FrontController\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))
#50 /Applications/MAMP/htdocs/magento/vendor/magento/framework/Interception/Chain/Chain.php(68): call_user_func_array(Array, Array)
#51 /Applications/MAMP/htdocs/magento/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')
#52 /Applications/MAMP/htdocs/magento/vendor/magento/framework/Module/Plugin/DbStatusValidator.php(69): Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain{closure}(Object(Magento\Framework\App\Request\Http))
#53 [internal function]: Magento\Framework\Module\Plugin\DbStatusValidator->aroundDispatch(Object(Magento\Framework\App\FrontController\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))
#54 /Applications/MAMP/htdocs/magento/vendor/magento/framework/Interception/Chain/Chain.php(68): call_user_func_array(Array, Array)
#55 /Applications/MAMP/htdocs/magento/vendor/magento/framework/Interception/Chain/Chain.php(63): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\Framewo...', 'dispatch', Object(Magento\Framework\App\FrontController\Interceptor), Array, 'storeCookieVali...')
#56 /Applications/MAMP/htdocs/magento/vendor/magento/module-store/Model/Plugin/StoreCookie.php(78): Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain{closure}(Object(Magento\Framework\App\Request\Http))
#57 [internal function]: Magento\Store\Model\Plugin\StoreCookie->aroundDispatch(Object(Magento\Framework\App\FrontController\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))
#58 /Applications/MAMP/htdocs/magento/vendor/magento/framework/Interception/Chain/Chain.php(68): call_user_func_array(Array, Array)
#59 /Applications/MAMP/htdocs/magento/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...')
#60 /Applications/MAMP/htdocs/magento/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))
#61 [internal function]: Magento\PageCache\Model\App\FrontController\VarnishPlugin->aroundDispatch(Object(Magento\Framework\App\FrontController\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))
#62 /Applications/MAMP/htdocs/magento/vendor/magento/framework/Interception/Chain/Chain.php(68): call_user_func_array(Array, Array)
#63 /Applications/MAMP/htdocs/magento/vendor/magento/framework/Interception/Interceptor.php(136): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\Framewo...', 'dispatch', Object(Magento\Framework\App\FrontController\Interceptor), Array, 'front-controlle...')
#64 /Applications/MAMP/htdocs/magento/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))
#65 [internal function]: Magento\PageCache\Model\App\FrontController\BuiltinPlugin->aroundDispatch(Object(Magento\Framework\App\FrontController\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))
#66 /Applications/MAMP/htdocs/magento/vendor/magento/framework/Interception/Interceptor.php(141): call_user_func_array(Array, Array)
#67 /Applications/MAMP/htdocs/magento/var/generation/Magento/Framework/App/FrontController/Interceptor.php(26): Magento\Framework\App\FrontController\Interceptor->___callPlugins('dispatch', Array, Array)
#68 /Applications/MAMP/htdocs/magento/vendor/magento/framework/App/Http.php(115): Magento\Framework\App\FrontController\Interceptor->dispatch(Object(Magento\Framework\App\Request\Http))
#69 /Applications/MAMP/htdocs/magento/vendor/magento/framework/App/Bootstrap.php(258): Magento\Framework\App\Http->launch()
#70 /Applications/MAMP/htdocs/magento/index.php(39): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http))
#71 {main}

@ishakhsuvarov ishakhsuvarov self-assigned this Dec 22, 2015
@ishakhsuvarov
Copy link
Contributor

@oaramis Thank you for reporting this.
We have tried, but could not reproduce the issue with the stock Magento installation.
Please, provide preconditions (Magento version, settings you applied, etc.) and steps to reproduce.

@ishakhsuvarov
Copy link
Contributor

@oaramis Closing this ticket for now.
Please feel free to reopen if the issue persists.

@gplanchat
Copy link

gplanchat commented May 9, 2016

This also happened to me while developing a payment method.

Edit : Calling module:enable and module:disable on the custom payment module makes the bug appear or not, after investigation why the module generates this, it was a DI misconfiguration, a class name was misspelled.

@Sharmilasrini95
Copy link

hai

Invalid block type: Magento\Checkout\Block\Onepage
#0 /var/www/html/magentolocal/vendor/magento/framework/View/Layout/Generator/Block.php(237): Magento\Framework\View\Layout\Generator\Block->getBlockInstance('Magento\Checkou...', Array)
#1 /var/www/html/magentolocal/vendor/magento/framework/View/Layout/Generator/Block.php(215): Magento\Framework\View\Layout\Generator\Block->createBlock('Magento\Checkou...', 'checkout.root', Array)
i am also getting error while overwrite block.

@pranid
Copy link

pranid commented Aug 2, 2017

Invalid block type: Magento\Checkout\Block\Onepage
#0 E:\xampp\htdocs\magento2_dev\vendor\magento\framework\View\Layout\Generator\Block.php(237): Magento\Framework\View\Layout\Generator\Block->getBlockInstance('Magento\Checkou...', Array)
#1 E:\xampp\htdocs\magento2_dev\vendor\magento\framework\View\Layout\Generator\Block.php(215): Magento\Framework\View\Layout\Generator\Block->createBlock('Magento\Checkou...', 'checkout.root', Array)
#2 E:\xampp\htdocs\magento2_dev\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), 'checkout.root')
#3 E:\xampp\htdocs\magento2_dev\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))
#4 E:\xampp\htdocs\magento2_dev\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))
#5 E:\xampp\htdocs\magento2_dev\var\generation\Magento\Framework\View\Layout\Interceptor.php(89): Magento\Framework\View\Layout->generateElements()
#6 E:\xampp\htdocs\magento2_dev\vendor\magento\framework\View\Layout\Builder.php(129): Magento\Framework\View\Layout\Interceptor->generateElements()
#7 E:\xampp\htdocs\magento2_dev\vendor\magento\framework\View\Page\Builder.php(55): Magento\Framework\View\Layout\Builder->generateLayoutBlocks()
#8 E:\xampp\htdocs\magento2_dev\vendor\magento\framework\View\Layout\Builder.php(65): Magento\Framework\View\Page\Builder->generateLayoutBlocks()
#9 E:\xampp\htdocs\magento2_dev\vendor\magento\framework\View\Page\Config.php(187): Magento\Framework\View\Layout\Builder->build()
#10 E:\xampp\htdocs\magento2_dev\vendor\magento\framework\View\Page\Config.php(207): Magento\Framework\View\Page\Config->build()
#11 E:\xampp\htdocs\magento2_dev\vendor\magento\module-checkout\Controller\Index\Index.php(39): Magento\Framework\View\Page\Config->getTitle()
#12 [internal function]: Magento\Checkout\Controller\Index\Index->execute()
#13 E:\xampp\htdocs\magento2_dev\vendor\magento\framework\Interception\Interceptor.php(146): call_user_func_array(Array, Array)
#14 E:\xampp\htdocs\magento2_dev\var\generation\Magento\Checkout\Controller\Index\Index\Interceptor.php(26): Magento\Checkout\Controller\Index\Index\Interceptor->___callPlugins('execute', Array, Array)
#15 E:\xampp\htdocs\magento2_dev\vendor\magento\framework\App\Action\Action.php(102): Magento\Checkout\Controller\Index\Index\Interceptor->execute()
#16 E:\xampp\htdocs\magento2_dev\vendor\magento\module-checkout\Controller\Onepage.php(161): Magento\Framework\App\Action\Action->dispatch(Object(Magento\Framework\App\Request\Http))
#17 [internal function]: Magento\Checkout\Controller\Onepage->dispatch(Object(Magento\Framework\App\Request\Http))
#18 E:\xampp\htdocs\magento2_dev\vendor\magento\framework\Interception\Interceptor.php(74): call_user_func_array(Array, Array)
#19 E:\xampp\htdocs\magento2_dev\vendor\magento\framework\Interception\Chain\Chain.php(70): Magento\Checkout\Controller\Index\Index\Interceptor->___callParent('dispatch', Array)
#20 E:\xampp\htdocs\magento2_dev\vendor\magento\framework\Interception\Chain\Chain.php(63): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\Checkou...', 'dispatch', Object(Magento\Checkout\Controller\Index\Index\Interceptor), Array, 'designLoader')
#21 E:\xampp\htdocs\magento2_dev\vendor\magento\framework\App\Action\Plugin\Design.php(39): Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain{closure}(Object(Magento\Framework\App\Request\Http))
#22 [internal function]: Magento\Framework\App\Action\Plugin\Design->aroundDispatch(Object(Magento\Checkout\Controller\Index\Index\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))
#23 E:\xampp\htdocs\magento2_dev\vendor\magento\framework\Interception\Chain\Chain.php(67): call_user_func_array(Array, Array)
#24 E:\xampp\htdocs\magento2_dev\vendor\magento\framework\Interception\Chain\Chain.php(63): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\Checkou...', 'dispatch', Object(Magento\Checkout\Controller\Index\Index\Interceptor), Array, 'contextPlugin')
#25 E:\xampp\htdocs\magento2_dev\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))
#26 [internal function]: Magento\Store\App\Action\Plugin\Context->aroundDispatch(Object(Magento\Checkout\Controller\Index\Index\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))
#27 E:\xampp\htdocs\magento2_dev\vendor\magento\framework\Interception\Chain\Chain.php(67): call_user_func_array(Array, Array)
#28 E:\xampp\htdocs\magento2_dev\vendor\magento\framework\Interception\Chain\Chain.php(63): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\Checkou...', 'dispatch', Object(Magento\Checkout\Controller\Index\Index\Interceptor), Array, 'customer-app-ac...')
#29 E:\xampp\htdocs\magento2_dev\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))
#30 [internal function]: Magento\Customer\Model\App\Action\ContextPlugin->aroundDispatch(Object(Magento\Checkout\Controller\Index\Index\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))
#31 E:\xampp\htdocs\magento2_dev\vendor\magento\framework\Interception\Chain\Chain.php(67): call_user_func_array(Array, Array)
#32 E:\xampp\htdocs\magento2_dev\vendor\magento\framework\Interception\Chain\Chain.php(63): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\Checkou...', 'dispatch', Object(Magento\Checkout\Controller\Index\Index\Interceptor), Array, 'storeCheck')
#33 E:\xampp\htdocs\magento2_dev\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))
#34 [internal function]: Magento\Store\App\Action\Plugin\StoreCheck->aroundDispatch(Object(Magento\Checkout\Controller\Index\Index\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))
#35 E:\xampp\htdocs\magento2_dev\vendor\magento\framework\Interception\Chain\Chain.php(67): call_user_func_array(Array, Array)
#36 E:\xampp\htdocs\magento2_dev\vendor\magento\framework\Interception\Chain\Chain.php(63): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\Checkou...', 'dispatch', Object(Magento\Checkout\Controller\Index\Index\Interceptor), Array, 'weee-app-action...')
#37 E:\xampp\htdocs\magento2_dev\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))
#38 [internal function]: Magento\Weee\Model\App\Action\ContextPlugin->aroundDispatch(Object(Magento\Checkout\Controller\Index\Index\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))
#39 E:\xampp\htdocs\magento2_dev\vendor\magento\framework\Interception\Chain\Chain.php(67): call_user_func_array(Array, Array)
#40 E:\xampp\htdocs\magento2_dev\vendor\magento\framework\Interception\Interceptor.php(138): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\Checkou...', 'dispatch', Object(Magento\Checkout\Controller\Index\Index\Interceptor), Array, 'tax-app-action-...')
#41 E:\xampp\htdocs\magento2_dev\vendor\magento\module-tax\Model\App\Action\ContextPlugin.php(91): Magento\Checkout\Controller\Index\Index\Interceptor->Magento\Framework\Interception{closure}(Object(Magento\Framework\App\Request\Http))
#42 [internal function]: Magento\Tax\Model\App\Action\ContextPlugin->aroundDispatch(Object(Magento\Checkout\Controller\Index\Index\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))
#43 E:\xampp\htdocs\magento2_dev\vendor\magento\framework\Interception\Interceptor.php(142): call_user_func_array(Array, Array)
#44 E:\xampp\htdocs\magento2_dev\var\generation\Magento\Checkout\Controller\Index\Index\Interceptor.php(39): Magento\Checkout\Controller\Index\Index\Interceptor->___callPlugins('dispatch', Array, Array)
#45 E:\xampp\htdocs\magento2_dev\vendor\magento\framework\App\FrontController.php(55): Magento\Checkout\Controller\Index\Index\Interceptor->dispatch(Object(Magento\Framework\App\Request\Http))
#46 [internal function]: Magento\Framework\App\FrontController->dispatch(Object(Magento\Framework\App\Request\Http))
#47 E:\xampp\htdocs\magento2_dev\vendor\magento\framework\Interception\Interceptor.php(74): call_user_func_array(Array, Array)
#48 E:\xampp\htdocs\magento2_dev\vendor\magento\framework\Interception\Chain\Chain.php(70): Magento\Framework\App\FrontController\Interceptor->___callParent('dispatch', Array)
#49 E:\xampp\htdocs\magento2_dev\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...')
#50 E:\xampp\htdocs\magento2_dev\vendor\magento\module-store\App\FrontController\Plugin\RequestPreprocessor.php(89): Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain{closure}(Object(Magento\Framework\App\Request\Http))
#51 [internal function]: Magento\Store\App\FrontController\Plugin\RequestPreprocessor->aroundDispatch(Object(Magento\Framework\App\FrontController\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))
#52 E:\xampp\htdocs\magento2_dev\vendor\magento\framework\Interception\Chain\Chain.php(67): call_user_func_array(Array, Array)
#53 E:\xampp\htdocs\magento2_dev\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')
#54 E:\xampp\htdocs\magento2_dev\vendor\magento\framework\Module\Plugin\DbStatusValidator.php(69): Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain{closure}(Object(Magento\Framework\App\Request\Http))
#55 [internal function]: Magento\Framework\Module\Plugin\DbStatusValidator->aroundDispatch(Object(Magento\Framework\App\FrontController\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))
#56 E:\xampp\htdocs\magento2_dev\vendor\magento\framework\Interception\Chain\Chain.php(67): call_user_func_array(Array, Array)
#57 E:\xampp\htdocs\magento2_dev\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...')
#58 E:\xampp\htdocs\magento2_dev\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))
#59 [internal function]: Magento\PageCache\Model\App\FrontController\VarnishPlugin->aroundDispatch(Object(Magento\Framework\App\FrontController\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))
#60 E:\xampp\htdocs\magento2_dev\vendor\magento\framework\Interception\Chain\Chain.php(67): call_user_func_array(Array, Array)
#61 E:\xampp\htdocs\magento2_dev\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...')
#62 E:\xampp\htdocs\magento2_dev\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))
#63 [internal function]: Magento\PageCache\Model\App\FrontController\BuiltinPlugin->aroundDispatch(Object(Magento\Framework\App\FrontController\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))
#64 E:\xampp\htdocs\magento2_dev\vendor\magento\framework\Interception\Interceptor.php(142): call_user_func_array(Array, Array)
#65 E:\xampp\htdocs\magento2_dev\var\generation\Magento\Framework\App\FrontController\Interceptor.php(26): Magento\Framework\App\FrontController\Interceptor->___callPlugins('dispatch', Array, Array)
#66 E:\xampp\htdocs\magento2_dev\vendor\magento\framework\App\Http.php(115): Magento\Framework\App\FrontController\Interceptor->dispatch(Object(Magento\Framework\App\Request\Http))
#67 E:\xampp\htdocs\magento2_dev\vendor\magento\framework\App\Bootstrap.php(258): Magento\Framework\App\Http->launch()
#68 E:\xampp\htdocs\magento2_dev\index.php(39): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http))
#69 {main}

@edward-simpson
Copy link
Contributor

If anyone comes across this issue looking for an answer - I've found this is normally caused when in developer mode, with insufficient permissions for the generated folder. Locally I run chmod -R 777 generated, but this might not be the best solution if you're having this issue on a server

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants