ini_set('display_errors', 1);
Run below commands
php bin/magento deploy:mode:set developer php bin/magento cache:clean php bin/magento cache:flush
After successful migration theme setup not working, setup Magento luma theme not working.
Theme Setup :
My website look like:
Debug.log:
main.ERROR: Unable to load theme by specified key: 'default/theme327k' [] []
Note : theme327k is my magento1 theme.
Hello @Aveeva ,
I assume that, you have migrated the data, then try to setup the theme.
Please run following command:
php bin/magento setup:upgrade php bin/magento setup:di:compile php bin/magento indexer:reindex php bin/magento cache:flush php bin/magento setup:static-content:deploy -f chmod -R 777 var/ pub/ generated/
Also can you please share the link of images as this image will be visible only when approved by moderator.
Hello @Aveeva
Here is the explanation of your issue
https://bssthemes.com/blog/unable-to-load-theme-by-specified-key/
@Binod Yadav After run your all commands back-end & front-end looking blank white page, what i need to do further steps?
Hello ,
Please enable the Error Reporting. In bootstrap.php, there is:
ini_set('display_errors', 1);
Run below commands
php bin/magento deploy:mode:set developer php bin/magento cache:clean php bin/magento cache:flush
@Binod Yadav What is this error mean?
main.DEBUG: cache_invalidate:
Hello @Aveeva ,
As per previously comment, your frontend area is showing blank page, so when you enable the error reporting, then you got actual error in frontend area.
Error :
FYI :
1 exception(s): Exception #0 (LogicException): Unable to load theme by specified key: 'default/theme327k' Exception #0 (LogicException): Unable to load theme by specified key: 'default/theme327k' <pre>#1 Magento\Theme\Model\View\Design->setDesignTheme('default/theme327...', 'frontend') called at [generated\code\Magento\Theme\Model\View\Design\Proxy.php:111] #2 Magento\Theme\Model\View\Design\Proxy->setDesignTheme('default/theme327...') called at [vendor\magento\module-theme\Model\Design.php:143] #3 Magento\Theme\Model\Design->changeDesign(&Magento\Theme\Model\View\Design\Proxy#000000001e916da400000000315f8f72#) called at [vendor\magento\framework\App\Area.php:162] #4 Magento\Framework\App\Area->detectDesign(&Magento\Framework\App\Request\Http#000000001e916f7900000000315f8f72#) called at [vendor\magento\framework\View\DesignLoader.php:56] #5 Magento\Framework\View\DesignLoader->load() called at [vendor\magento\framework\App\Action\Plugin\Design.php:48] #6 Magento\Framework\App\Action\Plugin\Design->beforeDispatch(&Magento\Cms\Controller\Index\Index\Interceptor#000000001e916d3600000000315f8f72#, &Magento\Framework\App\Request\Http#000000001e916f7900000000315f8f72#) called at [vendor\magento\framework\Interception\Interceptor.php:121] #7 Magento\Cms\Controller\Index\Index\Interceptor->Magento\Framework\Interception\{closure}(&Magento\Framework\App\Request\Http#000000001e916f7900000000315f8f72#) called at [vendor\magento\framework\Interception\Interceptor.php:153] #8 Magento\Cms\Controller\Index\Index\Interceptor->___callPlugins('dispatch', array(&Magento\Framework\App\Request\Http#000000001e916f7900000000315f8f72#), array(array('designLoader', 'customerNotifica...', 'catalog_app_acti...', 'tax-app-action-d...', 'weee-app-action-...', 'storeCheck', 'contextPlugin', 'customer-app-act...'))) called at [generated\code\Magento\Cms\Controller\Index\Index\Interceptor.php:39] #9 Magento\Cms\Controller\Index\Index\Interceptor->dispatch(&Magento\Framework\App\Request\Http#000000001e916f7900000000315f8f72#) called at [vendor\magento\framework\App\FrontController.php:159] #10 Magento\Framework\App\FrontController->processRequest(&Magento\Framework\App\Request\Http#000000001e916f7900000000315f8f72#, &Magento\Cms\Controller\Index\Index\Interceptor#000000001e916d3600000000315f8f72#) called at [vendor\magento\framework\App\FrontController.php:99] #11 Magento\Framework\App\FrontController->dispatch(&Magento\Framework\App\Request\Http#000000001e916f7900000000315f8f72#) called at [vendor\magento\framework\Interception\Interceptor.php:58] #12 Magento\Framework\App\FrontController\Interceptor->___callParent('dispatch', array(&Magento\Framework\App\Request\Http#000000001e916f7900000000315f8f72#)) called at [vendor\magento\framework\Interception\Interceptor.php:138] #13 Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}(&Magento\Framework\App\Request\Http#000000001e916f7900000000315f8f72#) called at [vendor\magento\module-store\App\FrontController\Plugin\RequestPreprocessor.php:94] #14 Magento\Store\App\FrontController\Plugin\RequestPreprocessor->aroundDispatch(&Magento\Framework\App\FrontController\Interceptor#000000001e916ede00000000315f8f72#, &Closure#000000001e916ebe00000000315f8f72#, &Magento\Framework\App\Request\Http#000000001e916f7900000000315f8f72#) called at [vendor\magento\framework\Interception\Interceptor.php:135] #15 Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}(&Magento\Framework\App\Request\Http#000000001e916f7900000000315f8f72#) called at [vendor\magento\module-page-cache\Model\App\FrontController\BuiltinPlugin.php:73] #16 Magento\PageCache\Model\App\FrontController\BuiltinPlugin->aroundDispatch(&Magento\Framework\App\FrontController\Interceptor#000000001e916ede00000000315f8f72#, &Closure#000000001e916ebe00000000315f8f72#, &Magento\Framework\App\Request\Http#000000001e916f7900000000315f8f72#) called at [vendor\magento\framework\Interception\Interceptor.php:135] #17 Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}(&Magento\Framework\App\Request\Http#000000001e916f7900000000315f8f72#) called at [vendor\magento\framework\Interception\Interceptor.php:153] #18 Magento\Framework\App\FrontController\Interceptor->___callPlugins('dispatch', array(&Magento\Framework\App\Request\Http#000000001e916f7900000000315f8f72#), NULL) called at [generated\code\Magento\Framework\App\FrontController\Interceptor.php:26] #19 Magento\Framework\App\FrontController\Interceptor->dispatch(&Magento\Framework\App\Request\Http#000000001e916f7900000000315f8f72#) called at [vendor\magento\framework\App\Http.php:137] #20 Magento\Framework\App\Http->launch() called at [generated\code\Magento\Framework\App\Http\Interceptor.php:24] #21 Magento\Framework\App\Http\Interceptor->launch() called at [vendor\magento\framework\App\Bootstrap.php:261] #22 Magento\Framework\App\Bootstrap->run(&Magento\Framework\App\Http\Interceptor#000000001e916f0700000000315f8f72#) called at [index.php:39] </pre>
Note : theme327k is my magento 1 theme.
Hello ,
Basically, when run the Settings migration for migrates stores, websites, and system configuration like shipping, payment, tax settings, etc. Then your theme327k is moved on core_config_data.
bin/magento migrate:settings
Please connect you sql and check the theme value in core_config_data.
select from core_config_data where path = 'design/theme/theme_id'
NOTE :If possible, please send your server credential, you if can't run the sql query.
If i run -> select from core_config_data where path = 'design/theme/theme_id' getting following result, here what i need to check?
'35', 'default', '0', 'design/theme/theme_id', '12', '2020-06-08 21:10:16'