I got this error while trying to access an admin page
2 exception(s):
Exception #0 (MagentoFrameworkExceptionLocalizedException): Invalid block type: WDWarehousingCreditNoteBlockAdminhtmlWarehousingcreditnoteEditForm
Exception #1 (ReflectionException): Class WDWarehousingCreditNoteBlockAdminhtmlWarehousingcreditnoteEditForm does not exist
Exception #0 (MagentoFrameworkExceptionLocalizedException): Invalid block type: WDWarehousingCreditNoteBlockAdminhtmlWarehousingcreditnoteEditForm
#0 /var/www/wd-magento/vendor/magento/framework/View/Layout/Generator/Block.php(237): MagentoFrameworkViewLayoutGeneratorBlock->getBlockInstance('WD\WarehousingC...', Array)
#1 /var/www/wd-magento/vendor/magento/framework/View/Layout.php(760): MagentoFrameworkViewLayoutGeneratorBlock->createBlock('WD\WarehousingC...', 'warehousing_cre...', Array)
#2 /var/www/wd-magento/vendor/magento/framework/View/Layout.php(743): MagentoFrameworkViewLayout->_createBlock('WD\WarehousingC...', 'warehousing_cre...', Array)
#3 /var/www/wd-magento/var/generation/Magento/Framework/View/Layout/Interceptor.php(349): MagentoFrameworkViewLayout->createBlock('WD\WarehousingC...', 'warehousing_cre...', Array)
#4 /var/www/wd-magento/vendor/magento/framework/View/Element/AbstractBlock.php(381): MagentoFrameworkViewLayoutInterceptor->createBlock('WD\WarehousingC...', 'warehousing_cre...', Array)
#5 /var/www/wd-magento/vendor/magento/module-backend/Block/Widget/Form/Container.php(108): MagentoFrameworkViewElementAbstractBlock->addChild('form', 'WD\WarehousingC...')
#6 /var/www/wd-magento/app/code/WD/WarehousingCreditNote/Block/Adminhtml/WarehousingCreditNote/Edit.php(110): MagentoBackendBlockWidgetFormContainer->_prepareLayout()
#7 /var/www/wd-magento/vendor/magento/framework/View/Element/AbstractBlock.php(264): WDWarehousingCreditNoteBlockAdminhtmlWarehousingCreditNoteEdit->_prepareLayout()
#8 /var/www/wd-magento/vendor/magento/framework/View/Layout/Generator/Block.php(139): MagentoFrameworkViewElementAbstractBlock->setLayout(Object(MagentoFrameworkViewLayoutInterceptor))
#9 /var/www/wd-magento/vendor/magento/framework/View/Layout/GeneratorPool.php(86): MagentoFrameworkViewLayoutGeneratorBlock->process(Object(MagentoFrameworkViewLayoutReaderContext), Object(MagentoFrameworkViewLayoutGeneratorContext))
#10 /var/www/wd-magento/vendor/magento/framework/View/Layout.php(327): MagentoFrameworkViewLayoutGeneratorPool->process(Object(MagentoFrameworkViewLayoutReaderContext), Object(MagentoFrameworkViewLayoutGeneratorContext))
#11 /var/www/wd-magento/var/generation/Magento/Framework/View/Layout/Interceptor.php(89): MagentoFrameworkViewLayout->generateElements()
#12 /var/www/wd-magento/vendor/magento/framework/View/Layout/Builder.php(129): MagentoFrameworkViewLayoutInterceptor->generateElements()
#13 /var/www/wd-magento/vendor/magento/framework/View/Page/Builder.php(55): MagentoFrameworkViewLayoutBuilder->generateLayoutBlocks()
#14 /var/www/wd-magento/vendor/magento/framework/View/Layout/Builder.php(65): MagentoFrameworkViewPageBuilder->generateLayoutBlocks()
#15 /var/www/wd-magento/vendor/magento/framework/View/Layout.php(244): MagentoFrameworkViewLayoutBuilder->build()
#16 /var/www/wd-magento/vendor/magento/framework/View/Layout.php(859): MagentoFrameworkViewLayout->build()
#17 /var/www/wd-magento/var/generation/Magento/Framework/View/Layout/Interceptor.php(414): MagentoFrameworkViewLayout->getBlock('menu')
#18 /var/www/wd-magento/vendor/magento/module-backend/Model/View/Result/Page.php(59): MagentoFrameworkViewLayoutInterceptor->getBlock('menu')
#19 /var/www/wd-magento/var/generation/Magento/Backend/Model/View/Result/Page/Interceptor.php(24): MagentoBackendModelViewResultPage->setActiveMenu('WD_WarehousingC...')
#20 /var/www/wd-magento/app/code/WD/WarehousingCreditNote/Controller/Adminhtml/WarehousingCreditNote/Edit.php(56): MagentoBackendModelViewResultPageInterceptor->setActiveMenu('WD_WarehousingC...')
#21 /var/www/wd-magento/app/code/WD/WarehousingCreditNote/Controller/Adminhtml/WarehousingCreditNote/Edit.php(97): WDWarehousingCreditNoteControllerAdminhtmlWarehousingCreditNoteEdit->_initAction()
#22 /var/www/wd-magento/var/generation/WD/WarehousingCreditNote/Controller/Adminhtml/WarehousingCreditNote/Edit/Interceptor.php(24): WDWarehousingCreditNoteControllerAdminhtmlWarehousingCreditNoteEdit->execute()
#23 /var/www/wd-magento/vendor/magento/framework/App/Action/Action.php(102): WDWarehousingCreditNoteControllerAdminhtmlWarehousingCreditNoteEditInterceptor->execute()
#24 /var/www/wd-magento/vendor/magento/module-backend/App/AbstractAction.php(226): MagentoFrameworkAppActionAction->dispatch(Object(MagentoFrameworkAppRequestHttp))
#25 /var/www/wd-magento/vendor/magento/framework/Interception/Interceptor.php(74): MagentoBackendAppAbstractAction->dispatch(Object(MagentoFrameworkAppRequestHttp))
#26 /var/www/wd-magento/vendor/magento/framework/Interception/Chain/Chain.php(70): WDWarehousingCreditNoteControllerAdminhtmlWarehousingCreditNoteEditInterceptor->___callParent('dispatch', Array)
#27 /var/www/wd-magento/vendor/magento/framework/Interception/Chain/Chain.php(63): MagentoFrameworkInterceptionChainChain->invokeNext('WD\WarehousingC...', 'dispatch', Object(WDWarehousingCreditNoteControllerAdminhtmlWarehousingCreditNoteEditInterceptor), Array, 'adminAuthentica...')
#28 /var/www/wd-magento/vendor/magento/module-backend/App/Action/Plugin/Authentication.php(143): MagentoFrameworkInterceptionChainChain->MagentoFrameworkInterceptionChain{closure}(Object(MagentoFrameworkAppRequestHttp))
#29 /var/www/wd-magento/vendor/magento/framework/Interception/Chain/Chain.php(67): MagentoBackendAppActionPluginAuthentication->aroundDispatch(Object(WDWarehousingCreditNoteControllerAdminhtmlWarehousingCreditNoteEditInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#30 /var/www/wd-magento/vendor/magento/framework/Interception/Interceptor.php(138): MagentoFrameworkInterceptionChainChain->invokeNext('WD\WarehousingC...', 'dispatch', Object(WDWarehousingCreditNoteControllerAdminhtmlWarehousingCreditNoteEditInterceptor), Array, 'adminMassaction...')
#31 /var/www/wd-magento/vendor/magento/module-backend/App/Action/Plugin/MassactionKey.php(33): WDWarehousingCreditNoteControllerAdminhtmlWarehousingCreditNoteEditInterceptor->MagentoFrameworkInterception{closure}(Object(MagentoFrameworkAppRequestHttp))
#32 /var/www/wd-magento/vendor/magento/framework/Interception/Interceptor.php(142): MagentoBackendAppActionPluginMassactionKey->aroundDispatch(Object(WDWarehousingCreditNoteControllerAdminhtmlWarehousingCreditNoteEditInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#33 /var/www/wd-magento/var/generation/WD/WarehousingCreditNote/Controller/Adminhtml/WarehousingCreditNote/Edit/Interceptor.php(39): WDWarehousingCreditNoteControllerAdminhtmlWarehousingCreditNoteEditInterceptor->___callPlugins('dispatch', Array, Array)
#34 /var/www/wd-magento/vendor/magento/framework/App/FrontController.php(55): WDWarehousingCreditNoteControllerAdminhtmlWarehousingCreditNoteEditInterceptor->dispatch(Object(MagentoFrameworkAppRequestHttp))
#35 /var/www/wd-magento/vendor/magento/framework/Interception/Interceptor.php(74): MagentoFrameworkAppFrontController->dispatch(Object(MagentoFrameworkAppRequestHttp))
#36 /var/www/wd-magento/vendor/magento/framework/Interception/Chain/Chain.php(70): MagentoFrameworkAppFrontControllerInterceptor->___callParent('dispatch', Array)
#37 /var/www/wd-magento/vendor/magento/framework/Interception/Interceptor.php(138): MagentoFrameworkInterceptionChainChain->invokeNext('Magento\Framewo...', 'dispatch', Object(MagentoFrameworkAppFrontControllerInterceptor), Array, 'install')
#38 /var/www/wd-magento/vendor/magento/framework/Module/Plugin/DbStatusValidator.php(69): MagentoFrameworkAppFrontControllerInterceptor->MagentoFrameworkInterception{closure}(Object(MagentoFrameworkAppRequestHttp))
#39 /var/www/wd-magento/vendor/magento/framework/Interception/Interceptor.php(142): MagentoFrameworkModulePluginDbStatusValidator->aroundDispatch(Object(MagentoFrameworkAppFrontControllerInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#40 /var/www/wd-magento/var/generation/Magento/Framework/App/FrontController/Interceptor.php(26): MagentoFrameworkAppFrontControllerInterceptor->___callPlugins('dispatch', Array, Array)
#41 /var/www/wd-magento/vendor/magento/framework/App/Http.php(135): MagentoFrameworkAppFrontControllerInterceptor->dispatch(Object(MagentoFrameworkAppRequestHttp))
#42 /var/www/wd-magento/vendor/magento/framework/App/Bootstrap.php(258): MagentoFrameworkAppHttp->launch()
#43 /var/www/wd-magento/pub/index.php(37): MagentoFrameworkAppBootstrap->run(Object(MagentoFrameworkAppHttp))
#44 {main}
Exception #1 (ReflectionException): Class WDWarehousingCreditNoteBlockAdminhtmlWarehousingcreditnoteEditForm does not exist
#0 /var/www/wd-magento/vendor/magento/framework/Code/Reader/ClassReader.php(19): ReflectionClass->__construct('WD\WarehousingC...')
#1 /var/www/wd-magento/vendor/magento/framework/ObjectManager/Definition/Runtime.php(44): MagentoFrameworkCodeReaderClassReader->getConstructor('WD\WarehousingC...')
#2 /var/www/wd-magento/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(71): MagentoFrameworkObjectManagerDefinitionRuntime->getParameters('WD\WarehousingC...')
#3 /var/www/wd-magento/vendor/magento/framework/ObjectManager/ObjectManager.php(57): MagentoFrameworkObjectManagerFactoryDynamicDeveloper->create('WD\WarehousingC...', Array)
#4 /var/www/wd-magento/vendor/magento/framework/View/Element/BlockFactory.php(45): MagentoFrameworkObjectManagerObjectManager->create('WD\WarehousingC...', Array)
#5 /var/www/wd-magento/app/code/Ced/CsMarketplace/Model/View/Element/BlockFactory.php(62): MagentoFrameworkViewElementBlockFactory->createBlock('WD\WarehousingC...', Array)
#6 /var/www/wd-magento/vendor/magento/framework/View/Layout/Generator/Block.php(257): CedCsMarketplaceModelViewElementBlockFactory->createBlock('WD\WarehousingC...', Array)
#7 /var/www/wd-magento/vendor/magento/framework/View/Layout/Generator/Block.php(237): MagentoFrameworkViewLayoutGeneratorBlock->getBlockInstance('WD\WarehousingC...', Array)
#8 /var/www/wd-magento/vendor/magento/framework/View/Layout.php(760): MagentoFrameworkViewLayoutGeneratorBlock->createBlock('WD\WarehousingC...', 'warehousing_cre...', Array)
#9 /var/www/wd-magento/vendor/magento/framework/View/Layout.php(743): MagentoFrameworkViewLayout->_createBlock('WD\WarehousingC...', 'warehousing_cre...', Array)
#10 /var/www/wd-magento/var/generation/Magento/Framework/View/Layout/Interceptor.php(349): MagentoFrameworkViewLayout->createBlock('WD\WarehousingC...', 'warehousing_cre...', Array)
#11 /var/www/wd-magento/vendor/magento/framework/View/Element/AbstractBlock.php(381): MagentoFrameworkViewLayoutInterceptor->createBlock('WD\WarehousingC...', 'warehousing_cre...', Array)
#12 /var/www/wd-magento/vendor/magento/module-backend/Block/Widget/Form/Container.php(108): MagentoFrameworkViewElementAbstractBlock->addChild('form', 'WD\WarehousingC...')
#13 /var/www/wd-magento/app/code/WD/WarehousingCreditNote/Block/Adminhtml/WarehousingCreditNote/Edit.php(110): MagentoBackendBlockWidgetFormContainer->_prepareLayout()
#14 /var/www/wd-magento/vendor/magento/framework/View/Element/AbstractBlock.php(264): WDWarehousingCreditNoteBlockAdminhtmlWarehousingCreditNoteEdit->_prepareLayout()
#15 /var/www/wd-magento/vendor/magento/framework/View/Layout/Generator/Block.php(139): MagentoFrameworkViewElementAbstractBlock->setLayout(Object(MagentoFrameworkViewLayoutInterceptor))
#16 /var/www/wd-magento/vendor/magento/framework/View/Layout/GeneratorPool.php(86): MagentoFrameworkViewLayoutGeneratorBlock->process(Object(MagentoFrameworkViewLayoutReaderContext), Object(MagentoFrameworkViewLayoutGeneratorContext))
#17 /var/www/wd-magento/vendor/magento/framework/View/Layout.php(327): MagentoFrameworkViewLayoutGeneratorPool->process(Object(MagentoFrameworkViewLayoutReaderContext), Object(MagentoFrameworkViewLayoutGeneratorContext))
#18 /var/www/wd-magento/var/generation/Magento/Framework/View/Layout/Interceptor.php(89): MagentoFrameworkViewLayout->generateElements()
#19 /var/www/wd-magento/vendor/magento/framework/View/Layout/Builder.php(129): MagentoFrameworkViewLayoutInterceptor->generateElements()
#20 /var/www/wd-magento/vendor/magento/framework/View/Page/Builder.php(55): MagentoFrameworkViewLayoutBuilder->generateLayoutBlocks()
#21 /var/www/wd-magento/vendor/magento/framework/View/Layout/Builder.php(65): MagentoFrameworkViewPageBuilder->generateLayoutBlocks()
#22 /var/www/wd-magento/vendor/magento/framework/View/Layout.php(244): MagentoFrameworkViewLayoutBuilder->build()
#23 /var/www/wd-magento/vendor/magento/framework/View/Layout.php(859): MagentoFrameworkViewLayout->build()
#24 /var/www/wd-magento/var/generation/Magento/Framework/View/Layout/Interceptor.php(414): MagentoFrameworkViewLayout->getBlock('menu')
#25 /var/www/wd-magento/vendor/magento/module-backend/Model/View/Result/Page.php(59): MagentoFrameworkViewLayoutInterceptor->getBlock('menu')
#26 /var/www/wd-magento/var/generation/Magento/Backend/Model/View/Result/Page/Interceptor.php(24): MagentoBackendModelViewResultPage->setActiveMenu('WD_WarehousingC...')
#27 /var/www/wd-magento/app/code/WD/WarehousingCreditNote/Controller/Adminhtml/WarehousingCreditNote/Edit.php(56): MagentoBackendModelViewResultPageInterceptor->setActiveMenu('WD_WarehousingC...')
#28 /var/www/wd-magento/app/code/WD/WarehousingCreditNote/Controller/Adminhtml/WarehousingCreditNote/Edit.php(97): WDWarehousingCreditNoteControllerAdminhtmlWarehousingCreditNoteEdit->_initAction()
#29 /var/www/wd-magento/var/generation/WD/WarehousingCreditNote/Controller/Adminhtml/WarehousingCreditNote/Edit/Interceptor.php(24): WDWarehousingCreditNoteControllerAdminhtmlWarehousingCreditNoteEdit->execute()
#30 /var/www/wd-magento/vendor/magento/framework/App/Action/Action.php(102): WDWarehousingCreditNoteControllerAdminhtmlWarehousingCreditNoteEditInterceptor->execute()
#31 /var/www/wd-magento/vendor/magento/module-backend/App/AbstractAction.php(226): MagentoFrameworkAppActionAction->dispatch(Object(MagentoFrameworkAppRequestHttp))
#32 /var/www/wd-magento/vendor/magento/framework/Interception/Interceptor.php(74): MagentoBackendAppAbstractAction->dispatch(Object(MagentoFrameworkAppRequestHttp))
#33 /var/www/wd-magento/vendor/magento/framework/Interception/Chain/Chain.php(70): WDWarehousingCreditNoteControllerAdminhtmlWarehousingCreditNoteEditInterceptor->___callParent('dispatch', Array)
#34 /var/www/wd-magento/vendor/magento/framework/Interception/Chain/Chain.php(63): MagentoFrameworkInterceptionChainChain->invokeNext('WD\WarehousingC...', 'dispatch', Object(WDWarehousingCreditNoteControllerAdminhtmlWarehousingCreditNoteEditInterceptor), Array, 'adminAuthentica...')
#35 /var/www/wd-magento/vendor/magento/module-backend/App/Action/Plugin/Authentication.php(143): MagentoFrameworkInterceptionChainChain->MagentoFrameworkInterceptionChain{closure}(Object(MagentoFrameworkAppRequestHttp))
#36 /var/www/wd-magento/vendor/magento/framework/Interception/Chain/Chain.php(67): MagentoBackendAppActionPluginAuthentication->aroundDispatch(Object(WDWarehousingCreditNoteControllerAdminhtmlWarehousingCreditNoteEditInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#37 /var/www/wd-magento/vendor/magento/framework/Interception/Interceptor.php(138): MagentoFrameworkInterceptionChainChain->invokeNext('WD\WarehousingC...', 'dispatch', Object(WDWarehousingCreditNoteControllerAdminhtmlWarehousingCreditNoteEditInterceptor), Array, 'adminMassaction...')
#38 /var/www/wd-magento/vendor/magento/module-backend/App/Action/Plugin/MassactionKey.php(33): WDWarehousingCreditNoteControllerAdminhtmlWarehousingCreditNoteEditInterceptor->MagentoFrameworkInterception{closure}(Object(MagentoFrameworkAppRequestHttp))
#39 /var/www/wd-magento/vendor/magento/framework/Interception/Interceptor.php(142): MagentoBackendAppActionPluginMassactionKey->aroundDispatch(Object(WDWarehousingCreditNoteControllerAdminhtmlWarehousingCreditNoteEditInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#40 /var/www/wd-magento/var/generation/WD/WarehousingCreditNote/Controller/Adminhtml/WarehousingCreditNote/Edit/Interceptor.php(39): WDWarehousingCreditNoteControllerAdminhtmlWarehousingCreditNoteEditInterceptor->___callPlugins('dispatch', Array, Array)
#41 /var/www/wd-magento/vendor/magento/framework/App/FrontController.php(55): WDWarehousingCreditNoteControllerAdminhtmlWarehousingCreditNoteEditInterceptor->dispatch(Object(MagentoFrameworkAppRequestHttp))
#42 /var/www/wd-magento/vendor/magento/framework/Interception/Interceptor.php(74): MagentoFrameworkAppFrontController->dispatch(Object(MagentoFrameworkAppRequestHttp))
#43 /var/www/wd-magento/vendor/magento/framework/Interception/Chain/Chain.php(70): MagentoFrameworkAppFrontControllerInterceptor->___callParent('dispatch', Array)
#44 /var/www/wd-magento/vendor/magento/framework/Interception/Interceptor.php(138): MagentoFrameworkInterceptionChainChain->invokeNext('Magento\Framewo...', 'dispatch', Object(MagentoFrameworkAppFrontControllerInterceptor), Array, 'install')
#45 /var/www/wd-magento/vendor/magento/framework/Module/Plugin/DbStatusValidator.php(69): MagentoFrameworkAppFrontControllerInterceptor->MagentoFrameworkInterception{closure}(Object(MagentoFrameworkAppRequestHttp))
#46 /var/www/wd-magento/vendor/magento/framework/Interception/Interceptor.php(142): MagentoFrameworkModulePluginDbStatusValidator->aroundDispatch(Object(MagentoFrameworkAppFrontControllerInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#47 /var/www/wd-magento/var/generation/Magento/Framework/App/FrontController/Interceptor.php(26): MagentoFrameworkAppFrontControllerInterceptor->___callPlugins('dispatch', Array, Array)
#48 /var/www/wd-magento/vendor/magento/framework/App/Http.php(135): MagentoFrameworkAppFrontControllerInterceptor->dispatch(Object(MagentoFrameworkAppRequestHttp))
#49 /var/www/wd-magento/vendor/magento/framework/App/Bootstrap.php(258): MagentoFrameworkAppHttp->launch()
#50 /var/www/wd-magento/pub/index.php(37): MagentoFrameworkAppBootstrap->run(Object(MagentoFrameworkAppHttp))
#51 {main}
i know that the cause is WDWarehousingCreditNoteBlockAdminhtmlWarehousingcreditnoteEditForm
should be WDWarehousingCreditNoteBlockAdminhtmlWarehousingCreditNoteEditForm
but i don’t know where to fix that, the namespace of the class itself already correct.
i’ve already tried to run php bin/magento setup:upgrade && php bin/magento setup:di:compile
rm -rf var/generation var/cache var/page_cache var/di
php bin/magento c:c
php bin/magento c:f
but still no luck
any idea?