cancel
Showing results for 
Search instead for 
Did you mean: 

Notice: Undefined index: id in...

Notice: Undefined index: id in...

Hi,

Having issues with a Magento 2.1.2 system, can no longer access the Stores > Configuration page in admin.

Used to have Smartwave/Porto custom theme installed, was removed along with its extensions (supposedly). Removed relevant files and DB enttries but I feel like this may still be the cause of the issue.

 

There has been an error processing your request

Notice: Undefined index: id in /home/81241-63215.cloudwaysapps.com/zymsbprmdh/public_html/vendor/magento/module-config/Model/Config/Structure/Element/Iterator.php on line 59

 

Error log record number: 703463411148

 

Log contents:

a:4:{i:0;s:173:"Notice: Undefined index: id in /home/81241-63215.cloudwaysapps.com/zymsbprmdh/public_html/vendor/magento/module-config/Model/Config/Structure/Element/Iterator.php on line 59";i:1;s:6554:"#0 /home/81241-63215.cloudwaysapps.com/zymsbprmdh/public_html/vendor/magento/module-config/Model/Config/Structure/Element/Iterator.php(59): Magento\Framework\App\ErrorHandler->handler(8, 'Undefined index...', '/home/81241-632...', 59, Array)
#1 /home/81241-63215.cloudwaysapps.com/zymsbprmdh/public_html/vendor/magento/module-config/Model/Config/Structure.php(92): Magento\Config\Model\Config\Structure\Element\Iterator->setElements(Array, 'default')
#2 /home/81241-63215.cloudwaysapps.com/zymsbprmdh/public_html/vendor/magento/module-config/Model/Config/Structure.php(135): Magento\Config\Model\Config\Structure->getTabs()
#3 /home/81241-63215.cloudwaysapps.com/zymsbprmdh/public_html/vendor/magento/module-config/Controller/Adminhtml/System/AbstractConfig.php(57): Magento\Config\Model\Config\Structure->getFirstSection()
#4 /home/81241-63215.cloudwaysapps.com/zymsbprmdh/public_html/vendor/magento/framework/Interception/Interceptor.php(74): Magento\Config\Controller\Adminhtml\System\AbstractConfig->dispatch(Object(Magento\Framework\App\Request\Http))
#5 /home/81241-63215.cloudwaysapps.com/zymsbprmdh/public_html/vendor/magento/framework/Interception/Chain/Chain.php(70): Magento\Config\Controller\Adminhtml\System\Config\Index\Interceptor->___callParent('dispatch', Array)
#6 /home/81241-63215.cloudwaysapps.com/zymsbprmdh/public_html/vendor/magento/framework/Interception/Chain/Chain.php(63): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\\Config\\...', 'dispatch', Object(Magento\Config\Controller\Adminhtml\System\Config\Index\Interceptor), Array, 'adminAuthentica...')
#7 /home/81241-63215.cloudwaysapps.com/zymsbprmdh/public_html/vendor/magento/module-backend/App/Action/Plugin/Authentication.php(143): Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain\{closure}(Object(Magento\Framework\App\Request\Http))
#8 /home/81241-63215.cloudwaysapps.com/zymsbprmdh/public_html/vendor/magento/framework/Interception/Chain/Chain.php(67): Magento\Backend\App\Action\Plugin\Authentication->aroundDispatch(Object(Magento\Config\Controller\Adminhtml\System\Config\Index\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))
#9 /home/81241-63215.cloudwaysapps.com/zymsbprmdh/public_html/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\\Config\\...', 'dispatch', Object(Magento\Config\Controller\Adminhtml\System\Config\Index\Interceptor), Array, 'adminMassaction...')
#10 /home/81241-63215.cloudwaysapps.com/zymsbprmdh/public_html/vendor/magento/module-backend/App/Action/Plugin/MassactionKey.php(33): Magento\Config\Controller\Adminhtml\System\Config\Index\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Request\Http))
#11 /home/81241-63215.cloudwaysapps.com/zymsbprmdh/public_html/vendor/magento/framework/Interception/Interceptor.php(142): Magento\Backend\App\Action\Plugin\MassactionKey->aroundDispatch(Object(Magento\Config\Controller\Adminhtml\System\Config\Index\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))
#12 /home/81241-63215.cloudwaysapps.com/zymsbprmdh/public_html/var/generation/Magento/Config/Controller/Adminhtml/System/Config/Index/Interceptor.php(26): Magento\Config\Controller\Adminhtml\System\Config\Index\Interceptor->___callPlugins('dispatch', Array, Array)
#13 /home/81241-63215.cloudwaysapps.com/zymsbprmdh/public_html/vendor/magento/framework/App/FrontController.php(55): Magento\Config\Controller\Adminhtml\System\Config\Index\Interceptor->dispatch(Object(Magento\Framework\App\Request\Http))
#14 /home/81241-63215.cloudwaysapps.com/zymsbprmdh/public_html/vendor/magento/framework/Interception/Interceptor.php(74): Magento\Framework\App\FrontController->dispatch(Object(Magento\Framework\App\Request\Http))
#15 /home/81241-63215.cloudwaysapps.com/zymsbprmdh/public_html/vendor/magento/framework/Interception/Chain/Chain.php(70): Magento\Framework\App\FrontController\Interceptor->___callParent('dispatch', Array)
#16 /home/81241-63215.cloudwaysapps.com/zymsbprmdh/public_html/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')
#17 /home/81241-63215.cloudwaysapps.com/zymsbprmdh/public_html/vendor/magento/framework/Module/Plugin/DbStatusValidator.php(69): Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain\{closure}(Object(Magento\Framework\App\Request\Http))
#18 /home/81241-63215.cloudwaysapps.com/zymsbprmdh/public_html/vendor/magento/framework/Interception/Chain/Chain.php(67): Magento\Framework\Module\Plugin\DbStatusValidator->aroundDispatch(Object(Magento\Framework\App\FrontController\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))
#19 /home/81241-63215.cloudwaysapps.com/zymsbprmdh/public_html/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\\Framewo...', 'dispatch', Object(Magento\Framework\App\FrontController\Interceptor), Array, 'infortis_cgen_m...')
#20 /home/81241-63215.cloudwaysapps.com/zymsbprmdh/public_html/app/code/Infortis/Cgen/Plugin/Magento/Framework/App/FrontController.php(32): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Request\Http))
#21 /home/81241-63215.cloudwaysapps.com/zymsbprmdh/public_html/vendor/magento/framework/Interception/Interceptor.php(142): Infortis\Cgen\Plugin\Magento\Framework\App\FrontController->aroundDispatch(Object(Magento\Framework\App\FrontController\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))
#22 /home/81241-63215.cloudwaysapps.com/zymsbprmdh/public_html/var/generation/Magento/Framework/App/FrontController/Interceptor.php(26): Magento\Framework\App\FrontController\Interceptor->___callPlugins('dispatch', Array, Array)
#23 /home/81241-63215.cloudwaysapps.com/zymsbprmdh/public_html/vendor/magento/framework/App/Http.php(135): Magento\Framework\App\FrontController\Interceptor->dispatch(Object(Magento\Framework\App\Request\Http))
#24 /home/81241-63215.cloudwaysapps.com/zymsbprmdh/public_html/vendor/magento/framework/App/Bootstrap.php(258): Magento\Framework\App\Http->launch()
#25 /home/81241-63215.cloudwaysapps.com/zymsbprmdh/public_html/index.php(39): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http))
#26 {main}";s:3:"url";s:105:"/pp-admin/admin/system_config/index/key/dedc11145951aa2737e7f0896e8d733e79e52c69d57687d996278e82dd11295e/";s:11:"script_name";s:10:"/index.php";}

 

Thanks in advance,

2 REPLIES 2

Re: Notice: Undefined index: id in...

Hello Rooksandkings,

 

Please check your system.xml of your custom module. There may tab, section, group and field have the same id or may have null on id attribute.

Please check or let me know if there is any issue.

Re: Notice: Undefined index: id in...

Hi Manish,

Thanks for your reply, I don't have a custom module to check... I understand the concept of there being a duplicate/null somewhere in the xml but where could it be if I've removed the themes files in question?

 

I've checked the core_config_data and eav_attribute tables in the database too and removed any old references.

 

Thanks,