Hallo!
Ich kann mich, nachdem ich die Entwickleroptionen wie Systemlinks --> Ja angewendet habe, nicht mehr ins Backend einloggen.
Frontend läuft - aber das Backend zeigt folgenden Fehler an:
TypeError: Argument 1 passed to Magento\Backend\Model\Menu::add() must be an instance of Magento\Backend\Model\Menu\Item, null given, called in /var/www/x1/html/app/code/Aitoc/Core/Plugin/BackendMenu/Builder.php on line 163 and defined in /var/www/x1/html/vendor/magento/module-backend/Model/Menu.php:77 Stack trace: #0 /var/www/x1/html/app/code/Aitoc/Core/Plugin/BackendMenu/Builder.php(163): Magento\Backend\Model\Menu->add() #1 /var/www/x1/html/app/code/Aitoc/Core/Plugin/BackendMenu/Builder.php(119): Aitoc\Core\Plugin\BackendMenu\Builder->render() #2 /var/www/x1/html/app/code/Aitoc/Core/Plugin/BackendMenu/Builder.php(91): Aitoc\Core\Plugin\BackendMenu\Builder->buildMenu() #3 /var/www/x1/html/vendor/magento/framework/Interception/Interceptor.php(146): Aitoc\Core\Plugin\BackendMenu\Builder->afterGetResult() #4 /var/www/x1/html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Backend\Model\Menu\Builder\Interceptor->Magento\Framework\Interception\{closure}() #5 /var/www/x1/html/generated/code/Magento/Backend/Model/Menu/Builder/Interceptor.php(23): Magento\Backend\Model\Menu\Builder\Interceptor->___callPlugins() #6 /var/www/x1/html/vendor/magento/module-backend/Model/Menu/Config.php(153): Magento\Backend\Model\Menu\Builder\Interceptor->getResult() #7 /var/www/x1/html/vendor/magento/module-backend/Model/Menu/Config.php(116): Magento\Backend\Model\Menu\Config->_initMenu() #8 /var/www/x1/html/vendor/magento/module-backend/Model/Url.php(365): Magento\Backend\Model\Menu\Config->getMenu() #9 /var/www/x1/html/vendor/magento/module-backend/Model/Url.php(325): Magento\Backend\Model\Url->_getMenu() #10 /var/www/x1/html/app/code/Printq/X1/App/Action/Plugin/Authentication.php(228): Magento\Backend\Model\Url->getStartupPageUrl() #11 /var/www/x1/html/app/code/Printq/X1/App/Action/Plugin/Authentication.php(158): Printq\X1\App\Action\Plugin\Authentication->_redirectIfNeededAfterLogin() #12 /var/www/x1/html/app/code/Printq/X1/App/Action/Plugin/Authentication.php(125): Printq\X1\App\Action\Plugin\Authentication->_processNotLoggedInUser() #13 /var/www/x1/html/vendor/magento/framework/Interception/Interceptor.php(135): Printq\X1\App\Action\Plugin\Authentication->aroundDispatch() #14 /var/www/x1/html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Backend\Controller\Adminhtml\Index\Index\Interceptor->Magento\Framework\Interception\{closure}() #15 /var/www/x1/html/generated/code/Magento/Backend/Controller/Adminhtml/Index/Index/Interceptor.php(32): Magento\Backend\Controller\Adminhtml\Index\Index\Interceptor->___callPlugins() #16 /var/www/x1/html/vendor/magento/framework/App/FrontController.php(245): Magento\Backend\Controller\Adminhtml\Index\Index\Interceptor->dispatch() #17 /var/www/x1/html/vendor/magento/framework/App/FrontController.php(212): Magento\Framework\App\FrontController->getActionResponse() #18 /var/www/x1/html/vendor/magento/framework/App/FrontController.php(147): Magento\Framework\App\FrontController->processRequest() #19 /var/www/x1/html/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\App\FrontController->dispatch() #20 /var/www/x1/html/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\App\FrontController\Interceptor->___callParent() #21 /var/www/x1/html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}() #22 /var/www/x1/html/generated/code/Magento/Framework/App/FrontController/Interceptor.php(23): Magento\Framework\App\FrontController\Interceptor->___callPlugins() #23 /var/www/x1/html/vendor/magento/framework/App/Http.php(116): Magento\Framework\App\FrontController\Interceptor->dispatch() #24 /var/www/x1/html/vendor/magento/framework/App/Bootstrap.php(264): Magento\Framework\App\Http->launch() #25 /var/www/x1/html/pub/index.php(29): Magento\Framework\App\Bootstrap->run() #26 {main}
Ich habe schon das System neu compiliert - aber keine Änderung:
rm -rf generated/ var/view_preprocessed/ var/composer_home/cache/ var/cache/ var/page_cache/ php bin/magento maintenance:enable php bin/magento setup:upgrade php bin/magento setup:di:compile php bin/magento setup:static-content:deploy -f php bin/magento maintenance:disable php bin/magento cache:flush
Jemand eine Idee?