cancel
Showing results for 
Search instead for 
Did you mean: 

Error in admin when installing themes - Invalid scope type ''

Error in admin when installing themes - Invalid scope type ''

Hi, 

 

Hopefully someone can help with this issue. I've searched but can't find anything Smiley Sad. After installing a theme I bought I run:

bin/magento setup:upgrade

bin/magento setup:di:compile

bin/magento setup:static-content:deploy

 

Site looks good but when I try to login to admin I get the follow error: 

1 exception(s):
Exception #0 (InvalidArgumentException): Invalid scope type ''

Exception #0 (InvalidArgumentException): Invalid scope type ''
<pre>#1 Magento\Framework\App\Config\ScopeCodeResolver->resolve(NULL, NULL) called at [vendor/magento/framework/App/Config.php:69]
#2 Magento\Framework\App\Config->getValue('design/theme/the...', NULL, NULL) called at [vendor/magento/framework/App/MutableScopeConfig.php:36]
#3 Magento\Framework\App\MutableScopeConfig->getValue('design/theme/the...', NULL, NULL) called at [generated/code/Magento/Framework/App/ReinitableConfig/Interceptor.php:37]
#4 Magento\Framework\App\ReinitableConfig\Interceptor->getValue('design/theme/the...', NULL, NULL) called at [vendor/magento/module-config/Model/Config.php:700]
#5 Magento\Config\Model\Config->getConfigDataValue('design/theme/the...', NULL, array()) called at [generated/code/Magento/Config/Model/Config/Interceptor.php:76]
#6 Magento\Config\Model\Config\Interceptor->getConfigDataValue('design/theme/the...') called at [app/code/Codazon/ThemeOptions/Backend/Model/Menu/Builder/Plugin.php:35]
#7 Codazon\ThemeOptions\Backend\Model\Menu\Builder\Plugin->getThemeId() called at [app/code/Codazon/ThemeOptions/Backend/Model/Menu/Builder/Plugin.php:62]
#8 Codazon\ThemeOptions\Backend\Model\Menu\Builder\Plugin->afterGetResult(&Magento\Backend\Model\Menu\Builder\Interceptor#0000000040be2ba100000000391d3718#, &Magento\Backend\Model\Menu#0000000040be2edf00000000391d3718#, &Magento\Backend\Model\Menu#0000000040be2edf00000000391d3718#) called at [vendor/magento/framework/Interception/Interceptor.php:146]
#9 Magento\Backend\Model\Menu\Builder\Interceptor->Magento\Framework\Interception\{closure}(&Magento\Backend\Model\Menu#0000000040be2edf00000000391d3718#) called at [vendor/magento/framework/Interception/Interceptor.php:153]
#10 Magento\Backend\Model\Menu\Builder\Interceptor->___callPlugins('getResult', array(&Magento\Backend\Model\Menu#0000000040be2edf00000000391d3718#), array(array('SetupMenuBuilder', 'codazon_backend_...'))) called at [generated/code/Magento/Backend/Model/Menu/Builder/Interceptor.php:39]
#11 Magento\Backend\Model\Menu\Builder\Interceptor->getResult(&Magento\Backend\Model\Menu#0000000040be2edf00000000391d3718#) called at [vendor/magento/module-backend/Model/Menu/Config.php:148]
#12 Magento\Backend\Model\Menu\Config->_initMenu() called at [vendor/magento/module-backend/Model/Menu/Config.php:111]
#13 Magento\Backend\Model\Menu\Config->getMenu() called at [vendor/magento/module-backend/Model/Url.php:365]
#14 Magento\Backend\Model\Url->_getMenu() called at [vendor/magento/module-backend/Model/Url.php:325]
#15 Magento\Backend\Model\Url->getStartupPageUrl() called at [vendor/magento/module-backend/App/AbstractAction.php:298]
#16 Magento\Backend\App\AbstractAction->_processUrlKeys() called at [generated/code/Magento/Backend/Controller/Adminhtml/Index/Index/Interceptor.php:50]
#17 Magento\Backend\Controller\Adminhtml\Index\Index\Interceptor->_processUrlKeys() called at [vendor/magento/module-backend/App/Request/BackendValidator.php:175]
#18 Magento\Backend\App\Request\BackendValidator->validate(&Magento\Framework\App\Request\Http#0000000040be2a0b00000000391d3718#, &Magento\Backend\Controller\Adminhtml\Index\Index\Interceptor#0000000040be2ec700000000391d3718#) called at [vendor/magento/framework/App/Request/CompositeValidator.php:40]
#19 Magento\Framework\App\Request\CompositeValidator->validate(&Magento\Framework\App\Request\Http#0000000040be2a0b00000000391d3718#, &Magento\Backend\Controller\Adminhtml\Index\Index\Interceptor#0000000040be2ec700000000391d3718#) called at [vendor/magento/framework/App/FrontController.php:160]
#20 Magento\Framework\App\FrontController->processRequest(&Magento\Framework\App\Request\Http#0000000040be2a0b00000000391d3718#, &Magento\Backend\Controller\Adminhtml\Index\Index\Interceptor#0000000040be2ec700000000391d3718#) called at [vendor/magento/framework/App/FrontController.php:118]
#21 Magento\Framework\App\FrontController->dispatch(&Magento\Framework\App\Request\Http#0000000040be2a0b00000000391d3718#) called at [vendor/magento/framework/Interception/Interceptor.php:58]
#22 Magento\Framework\App\FrontController\Interceptor->___callParent('dispatch', array(&Magento\Framework\App\Request\Http#0000000040be2a0b00000000391d3718#)) called at [vendor/magento/framework/Interception/Interceptor.php:138]
#23 Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}(&Magento\Framework\App\Request\Http#0000000040be2a0b00000000391d3718#) called at [vendor/magento/framework/Interception/Interceptor.php:153]
#24 Magento\Framework\App\FrontController\Interceptor->___callPlugins('dispatch', array(&Magento\Framework\App\Request\Http#0000000040be2a0b00000000391d3718#), array(array('default_store_se...', 'page_cache_from_...', 'storeCookieValid...', 'install', 'configHash'))) called at [generated/code/Magento/Framework/App/FrontController/Interceptor.php:26]
#25 Magento\Framework\App\FrontController\Interceptor->dispatch(&Magento\Framework\App\Request\Http#0000000040be2a0b00000000391d3718#) called at [vendor/magento/framework/App/Http.php:116]
#26 Magento\Framework\App\Http->launch() called at [generated/code/Magento/Framework/App/Http/Interceptor.php:24]
#27 Magento\Framework\App\Http\Interceptor->launch() called at [vendor/magento/framework/App/Bootstrap.php:261]
#28 Magento\Framework\App\Bootstrap->run(&Magento\Framework\App\Http\Interceptor#0000000040be2a1d00000000391d3718#) called at [index.php:39]
</pre>

I can't figure out what's wrong! 

 

Help please.