Skip to content

An error with Magento 2 Admin panel page/Unable to access the admin page

When logging into my admin panel it’s throwing the error below, causing me to be unable to access the admin panel.

1 exception(s):

Exception #0 (InvalidArgumentException): Item with identifier Magefan_Community::elements does not exist

Exception #0 (InvalidArgumentException): Item with identifier Magefan_Community::elements does not exist

#1 MagefanCommunityPluginMagentoBackendModelMenuBuilderPlugin->afterGetResult() called at [vendor/magento/framework/Interception/Interceptor.php:146]
#2 MagentoBackendModelMenuBuilderInterceptor->MagentoFrameworkInterception{closure}() called at [vendor/magento/framework/Interception/Interceptor.php:153]
#3 MagentoBackendModelMenuBuilderInterceptor->___callPlugins() called at [generated/code/Magento/Backend/Model/Menu/Builder/Interceptor.php:23]
#4 MagentoBackendModelMenuBuilderInterceptor->getResult() called at [vendor/magento/module-backend/Model/Menu/Config.php:153]
#5 MagentoBackendModelMenuConfig->_initMenu() called at [vendor/magento/module-backend/Model/Menu/Config.php:116]
#6 MagentoBackendModelMenuConfig->getMenu() called at [vendor/magento/module-backend/Model/Url.php:365]
#7 MagentoBackendModelUrl->_getMenu() called at [vendor/magento/module-backend/Model/Url.php:325]
#8 MagentoBackendModelUrl->getStartupPageUrl() called at [vendor/magento/module-backend/App/AbstractAction.php:187]
#9 MagentoBackendAppAbstractAction->_processUrlKeys() called at [vendor/magento/module-backend/App/Request/BackendValidator.php:175]
#10 MagentoBackendAppRequestBackendValidator->validate() called at [vendor/magento/framework/App/Request/CompositeValidator.php:40]
#11 MagentoFrameworkAppRequestCompositeValidator->validate() called at [vendor/magento/framework/App/FrontController.php:192]
#12 MagentoFrameworkAppFrontController->processRequest() called at [vendor/magento/framework/App/FrontController.php:147]
#13 MagentoFrameworkAppFrontController->dispatch() called at [vendor/magento/framework/Interception/Interceptor.php:58]
#14 MagentoFrameworkAppFrontControllerInterceptor->___callParent() called at [vendor/magento/framework/Interception/Interceptor.php:138]
#15 MagentoFrameworkAppFrontControllerInterceptor->MagentoFrameworkInterception{closure}() called at [vendor/magento/framework/Interception/Interceptor.php:153]
#16 MagentoFrameworkAppFrontControllerInterceptor->___callPlugins() called at [generated/code/Magento/Framework/App/FrontController/Interceptor.php:23]
#17 MagentoFrameworkAppFrontControllerInterceptor->dispatch() called at [vendor/magento/framework/App/Http.php:116]
#18 MagentoFrameworkAppHttp->launch() called at [vendor/magento/framework/App/Bootstrap.php:264]
#19 MagentoFrameworkAppBootstrap->run() called at [pub/index.php:29]

I haven’t changed anything, but other accounts user access, and it began throwing this error. Any assistance would be much appreciated.