/ Błąd / Magento2 podczas próby dodania nowej integracji od administratora - xml, magento, wyjątek, magento2

Błąd Magento2 przy próbie dodania nowej integracji z admin - xml, magento, exception, magento2

Pracuję nad nową stroną Magentoużywając Magento 2.1.3 i muszę teraz dodać rozszerzenie, ale kiedy idę do systemu-> integracji i klikam „dodaj nową integrację”, pojawia się następujący błąd:

1 exception(s):
Exception #0 (Exception): Notice: Undefined index: title in /home/username/public_html/magento/vendor/magento/module-integration/Helper/Data.php on line 24

Exception #0 (Exception): Notice: Undefined index: title in /home/username/public_html/magento/vendor/magento/module-integration/Helper/Data.php on line 24
#0 /home/username/public_html/magento/vendor/magento/module-integration/Helper/Data.php(24): MagentoFrameworkAppErrorHandler->handler(8, "Undefined index...", "/home/username/...", 24, Array)
#1 /home/username/public_html/magento/vendor/magento/module-integration/Block/Adminhtml/Integration/Edit/Tab/Webapi.php(180): MagentoIntegrationHelperData->mapResources(Array)
#2 /home/username/public_html/magento/vendor/magento/module-integration/view/adminhtml/templates/resourcetree.phtml(40): MagentoIntegrationBlockAdminhtmlIntegrationEditTabWebapi->getTree()
#3 /home/username/public_html/magento/vendor/magento/framework/View/TemplateEngine/Php.php(59): include("/home/username/...")
#4 /home/username/public_html/magento/vendor/magento/framework/View/Element/Template.php(255): MagentoFrameworkViewTemplateEnginePhp->render(Object(MagentoIntegrationBlockAdminhtmlIntegrationEditTabWebapi), "/home/username/...", Array)
#5 /home/username/public_html/magento/vendor/magento/framework/View/Element/Template.php(279): MagentoFrameworkViewElementTemplate->fetchView("/home/username/...")
#6 /home/username/public_html/magento/vendor/magento/module-backend/Block/Template.php(104): MagentoFrameworkViewElementTemplate->_toHtml()
#7 /home/username/public_html/magento/vendor/magento/framework/View/Element/AbstractBlock.php(659): MagentoBackendBlockTemplate->_toHtml()
#8 /home/username/public_html/magento/vendor/magento/module-backend/Block/Widget/Tabs.php(387): MagentoFrameworkViewElementAbstractBlock->toHtml()
#9 /home/username/public_html/magento/vendor/magento/module-backend/view/adminhtml/templates/widget/tabs.phtml(57): MagentoBackendBlockWidgetTabs->getTabContent(Object(MagentoIntegrationBlockAdminhtmlIntegrationEditTabWebapi))
#10 /home/username/public_html/magento/vendor/magento/framework/View/TemplateEngine/Php.php(59): include("/home/username/...")
#11 /home/username/public_html/magento/vendor/magento/framework/View/Element/Template.php(255): MagentoFrameworkViewTemplateEnginePhp->render(Object(MagentoIntegrationBlockAdminhtmlIntegrationEditTabs), "/home/username/...", Array)
#12 /home/username/public_html/magento/vendor/magento/framework/View/Element/Template.php(279): MagentoFrameworkViewElementTemplate->fetchView("/home/username/...")
#13 /home/username/public_html/magento/vendor/magento/module-backend/Block/Template.php(104): MagentoFrameworkViewElementTemplate->_toHtml()
#14 /home/username/public_html/magento/vendor/magento/framework/View/Element/AbstractBlock.php(659): MagentoBackendBlockTemplate->_toHtml()
#15 /home/username/public_html/magento/vendor/magento/framework/View/Layout.php(542): MagentoFrameworkViewElementAbstractBlock->toHtml()
#16 /home/username/public_html/magento/vendor/magento/framework/View/Layout.php(518): MagentoFrameworkViewLayout->_renderBlock("integration_edi...")
#17 /home/username/public_html/magento/vendor/magento/framework/View/Layout.php(472): MagentoFrameworkViewLayout->renderNonCachedElement("integration_edi...")
#18 /home/username/public_html/magento/vendor/magento/framework/View/Layout.php(569): MagentoFrameworkViewLayout->renderElement("integration_edi...")
#19 /home/username/public_html/magento/vendor/magento/framework/View/Layout.php(520): MagentoFrameworkViewLayout->_renderContainer("left")
#20 /home/username/public_html/magento/vendor/magento/framework/View/Layout.php(472): MagentoFrameworkViewLayout->renderNonCachedElement("left")
#21 /home/username/public_html/magento/vendor/magento/framework/View/Layout.php(569): MagentoFrameworkViewLayout->renderElement("left")
#22 /home/username/public_html/magento/vendor/magento/framework/View/Layout.php(520): MagentoFrameworkViewLayout->_renderContainer("side.col")
#23 /home/username/public_html/magento/vendor/magento/framework/View/Layout.php(472): MagentoFrameworkViewLayout->renderNonCachedElement("side.col")
#24 /home/username/public_html/magento/vendor/magento/framework/View/Layout.php(569): MagentoFrameworkViewLayout->renderElement("side.col")
#25 /home/username/public_html/magento/vendor/magento/framework/View/Layout.php(520): MagentoFrameworkViewLayout->_renderContainer("page.main.conta...")
#26 /home/username/public_html/magento/vendor/magento/framework/View/Layout.php(472): MagentoFrameworkViewLayout->renderNonCachedElement("page.main.conta...")
#27 /home/username/public_html/magento/vendor/magento/framework/View/Layout.php(569): MagentoFrameworkViewLayout->renderElement("page.main.conta...")
#28 /home/username/public_html/magento/vendor/magento/framework/View/Layout.php(520): MagentoFrameworkViewLayout->_renderContainer("page.content")
#29 /home/username/public_html/magento/vendor/magento/framework/View/Layout.php(472): MagentoFrameworkViewLayout->renderNonCachedElement("page.content")
#30 /home/username/public_html/magento/vendor/magento/framework/View/Layout.php(569): MagentoFrameworkViewLayout->renderElement("page.content")
#31 /home/username/public_html/magento/vendor/magento/framework/View/Layout.php(520): MagentoFrameworkViewLayout->_renderContainer("page.wrapper")
#32 /home/username/public_html/magento/vendor/magento/framework/View/Layout.php(472): MagentoFrameworkViewLayout->renderNonCachedElement("page.wrapper")
#33 /home/username/public_html/magento/vendor/magento/framework/View/Layout.php(569): MagentoFrameworkViewLayout->renderElement("page.wrapper")
#34 /home/username/public_html/magento/vendor/magento/framework/View/Layout.php(520): MagentoFrameworkViewLayout->_renderContainer("backend.page")
#35 /home/username/public_html/magento/vendor/magento/framework/View/Layout.php(472): MagentoFrameworkViewLayout->renderNonCachedElement("backend.page")
#36 /home/username/public_html/magento/vendor/magento/framework/View/Layout.php(569): MagentoFrameworkViewLayout->renderElement("backend.page")
#37 /home/username/public_html/magento/vendor/magento/framework/View/Layout.php(520): MagentoFrameworkViewLayout->_renderContainer("root")
#38 /home/username/public_html/magento/vendor/magento/framework/View/Layout.php(472): MagentoFrameworkViewLayout->renderNonCachedElement("root")
#39 /home/username/public_html/magento/vendor/magento/framework/View/Layout.php(938): MagentoFrameworkViewLayout->renderElement("root")
#40 /home/username/public_html/magento/var/generation/Magento/Framework/View/Layout/Interceptor.php(37): MagentoFrameworkViewLayout->getOutput()
#41 /home/username/public_html/magento/vendor/magento/framework/View/Result/Page.php(243): MagentoFrameworkViewLayoutInterceptor->getOutput()
#42 /home/username/public_html/magento/vendor/magento/framework/View/Result/Layout.php(164): MagentoFrameworkViewResultPage->render(Object(MagentoFrameworkAppResponseHttpInterceptor))
#43 /home/username/public_html/magento/var/generation/Magento/Backend/Model/View/Result/Page/Interceptor.php(24): MagentoFrameworkViewResultLayout->renderResult(Object(MagentoFrameworkAppResponseHttpInterceptor))
#44 /home/username/public_html/magento/vendor/magento/framework/App/View.php(221): MagentoBackendModelViewResultPageInterceptor->renderResult(Object(MagentoFrameworkAppResponseHttpInterceptor))
#45 /home/username/public_html/magento/vendor/magento/module-integration/Controller/Adminhtml/Integration/NewAction.php(29): MagentoFrameworkAppView->renderLayout()
#46 /home/username/public_html/magento/vendor/magento/framework/App/Action/Action.php(102): MagentoIntegrationControllerAdminhtmlIntegrationNewAction->execute()
#47 /home/username/public_html/magento/vendor/magento/module-backend/App/AbstractAction.php(226): MagentoFrameworkAppActionAction->dispatch(Object(MagentoFrameworkAppRequestHttp))
#48 /home/username/public_html/magento/vendor/magento/framework/Interception/Interceptor.php(74): MagentoBackendAppAbstractAction->dispatch(Object(MagentoFrameworkAppRequestHttp))
#49 /home/username/public_html/magento/vendor/magento/framework/Interception/Chain/Chain.php(70): MagentoIntegrationControllerAdminhtmlIntegrationNewActionInterceptor->___callParent("dispatch", Array)
#50 /home/username/public_html/magento/vendor/magento/framework/Interception/Chain/Chain.php(63): MagentoFrameworkInterceptionChainChain->invokeNext("Magento\Integra...", "dispatch", Object(MagentoIntegrationControllerAdminhtmlIntegrationNewActionInterceptor), Array, "adminAuthentica...")
#51 /home/username/public_html/magento/vendor/magento/module-backend/App/Action/Plugin/Authentication.php(143): MagentoFrameworkInterceptionChainChain->MagentoFrameworkInterceptionChain{closure}(Object(MagentoFrameworkAppRequestHttp))
#52 /home/username/public_html/magento/vendor/magento/framework/Interception/Chain/Chain.php(67): MagentoBackendAppActionPluginAuthentication->aroundDispatch(Object(MagentoIntegrationControllerAdminhtmlIntegrationNewActionInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#53 /home/username/public_html/magento/vendor/magento/framework/Interception/Interceptor.php(138): MagentoFrameworkInterceptionChainChain->invokeNext("Magento\Integra...", "dispatch", Object(MagentoIntegrationControllerAdminhtmlIntegrationNewActionInterceptor), Array, "adminMassaction...")
#54 /home/username/public_html/magento/vendor/magento/module-backend/App/Action/Plugin/MassactionKey.php(33): MagentoIntegrationControllerAdminhtmlIntegrationNewActionInterceptor->MagentoFrameworkInterception{closure}(Object(MagentoFrameworkAppRequestHttp))
#55 /home/username/public_html/magento/vendor/magento/framework/Interception/Interceptor.php(142): MagentoBackendAppActionPluginMassactionKey->aroundDispatch(Object(MagentoIntegrationControllerAdminhtmlIntegrationNewActionInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#56 /home/username/public_html/magento/var/generation/Magento/Integration/Controller/Adminhtml/Integration/NewAction/Interceptor.php(26): MagentoIntegrationControllerAdminhtmlIntegrationNewActionInterceptor->___callPlugins("dispatch", Array, Array)
#57 /home/username/public_html/magento/vendor/magento/framework/App/FrontController.php(55): MagentoIntegrationControllerAdminhtmlIntegrationNewActionInterceptor->dispatch(Object(MagentoFrameworkAppRequestHttp))
#58 /home/username/public_html/magento/vendor/magento/framework/Interception/Interceptor.php(74): MagentoFrameworkAppFrontController->dispatch(Object(MagentoFrameworkAppRequestHttp))
#59 /home/username/public_html/magento/vendor/magento/framework/Interception/Chain/Chain.php(70): MagentoFrameworkAppFrontControllerInterceptor->___callParent("dispatch", Array)
#60 /home/username/public_html/magento/vendor/magento/framework/Interception/Interceptor.php(138): MagentoFrameworkInterceptionChainChain->invokeNext("Magento\Framewo...", "dispatch", Object(MagentoFrameworkAppFrontControllerInterceptor), Array, "install")
#61 /home/username/public_html/magento/vendor/magento/framework/Module/Plugin/DbStatusValidator.php(69): MagentoFrameworkAppFrontControllerInterceptor->MagentoFrameworkInterception{closure}(Object(MagentoFrameworkAppRequestHttp))
#62 /home/username/public_html/magento/vendor/magento/framework/Interception/Interceptor.php(142): MagentoFrameworkModulePluginDbStatusValidator->aroundDispatch(Object(MagentoFrameworkAppFrontControllerInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#63 /home/username/public_html/magento/var/generation/Magento/Framework/App/FrontController/Interceptor.php(26): MagentoFrameworkAppFrontControllerInterceptor->___callPlugins("dispatch", Array, Array)
#64 /home/username/public_html/magento/vendor/magento/framework/App/Http.php(135): MagentoFrameworkAppFrontControllerInterceptor->dispatch(Object(MagentoFrameworkAppRequestHttp))
#65 /home/username/public_html/magento/vendor/magento/framework/App/Bootstrap.php(258): MagentoFrameworkAppHttp->launch()
#66 /home/username/public_html/magento/index.php(39): MagentoFrameworkAppBootstrap->run(Object(MagentoFrameworkAppHttp))
#67 {main}

Nie mogę znaleźć żadnych informacji na temat rozwiązania tego problemu!

Odpowiedzi:

0 dla odpowiedzi № 1

Usunięcie wiersza 24 w /home/username/public_html/magento/vendor/magento/module-integration/Helper/Data.php rozwiązało mój problem!