Closed
Description
Hi, we use Mage 2.0.2 and a commercial theme.
After theme upload we:
- setup:upgrade
- setup:static-content:deploy de_DE (with splendids German Pack)
- cache:flush
The outcome is a frontend exception error. Error log contains the following:
a:4:{i:0;s:42:"Unable to load theme by specified key: '5'";i:1;s:11704:"#0 /home/ccsammelfiguren/public_html/stage/vendor/magento/module-theme/Model/View/Design.php(147): Magento\Framework\View\Design\Theme\FlyweightFactory->create('5', 'frontend')
1 /home/ccsammelfiguren/public_html/stage/var/generation/Magento/Theme/Model/View/Design/Proxy.php(111): Magento\Theme\Model\View\Design->setDesignTheme('5', 'frontend')
2 /home/ccsammelfiguren/public_html/stage/vendor/magento/module-cms/Helper/Page.php(148): Magento\Theme\Model\View\Design\Proxy->setDesignTheme('5')
3 /home/ccsammelfiguren/public_html/stage/vendor/magento/module-cms/Controller/Index/Index.php(43): Magento\Cms\Helper\Page->prepareResultPage(Object(Magento\Cms\Controller\Index\Index\Interceptor), 'home')
4 /home/ccsammelfiguren/public_html/stage/var/generation/Magento/Cms/Controller/Index/Index/Interceptor.php(24): Magento\Cms\Controller\Index\Index->execute(NULL)
5 /home/ccsammelfiguren/public_html/stage/vendor/magento/framework/App/Action/Action.php(102): Magento\Cms\Controller\Index\Index\Interceptor->execute()
6 [internal function]: Magento\Framework\App\Action\Action->dispatch(Object(Magento\Framework\App\Request\Http))
7 /home/ccsammelfiguren/public_html/stage/vendor/magento/framework/Interception/Interceptor.php(74): call_user_func_array(Array, Array)
8 /home/ccsammelfiguren/public_html/stage/vendor/magento/framework/Interception/Chain/Chain.php(70): Magento\Cms\Controller\Index\Index\Interceptor->___callParent('dispatch', Array)
9 /home/ccsammelfiguren/public_html/stage/vendor/magento/framework/Interception/Chain/Chain.php(63): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\Cms\Con...', 'dispatch', Object(Magento\Cms\Controller\Index\Index\Interceptor), Array, 'designLoader')
10 /home/ccsammelfiguren/public_html/stage/vendor/magento/framework/App/Action/Plugin/Design.php(39): Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain{closure}(Object(Magento\Framework\App\Request\Http))
11 [internal function]: Magento\Framework\App\Action\Plugin\Design->aroundDispatch(Object(Magento\Cms\Controller\Index\Index\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))
12 /home/ccsammelfiguren/public_html/stage/vendor/magento/framework/Interception/Chain/Chain.php(67): call_user_func_array(Array, Array)
13 /home/ccsammelfiguren/public_html/stage/vendor/magento/framework/Interception/Chain/Chain.php(63): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\Cms\Con...', 'dispatch', Object(Magento\Cms\Controller\Index\Index\Interceptor), Array, 'contextPlugin')
14 /home/ccsammelfiguren/public_html/stage/vendor/magento/module-store/App/Action/Plugin/Context.php(98): Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain{closure}(Object(Magento\Framework\App\Request\Http))
15 [internal function]: Magento\Store\App\Action\Plugin\Context->aroundDispatch(Object(Magento\Cms\Controller\Index\Index\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))
16 /home/ccsammelfiguren/public_html/stage/vendor/magento/framework/Interception/Chain/Chain.php(67): call_user_func_array(Array, Array)
17 /home/ccsammelfiguren/public_html/stage/vendor/magento/framework/Interception/Chain/Chain.php(63): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\Cms\Con...', 'dispatch', Object(Magento\Cms\Controller\Index\Index\Interceptor), Array, 'customer-app-ac...')
18 /home/ccsammelfiguren/public_html/stage/vendor/magento/module-customer/Model/App/Action/ContextPlugin.php(61): Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain{closure}(Object(Magento\Framework\App\Request\Http))
19 [internal function]: Magento\Customer\Model\App\Action\ContextPlugin->aroundDispatch(Object(Magento\Cms\Controller\Index\Index\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))
20 /home/ccsammelfiguren/public_html/stage/vendor/magento/framework/Interception/Chain/Chain.php(67): call_user_func_array(Array, Array)
21 /home/ccsammelfiguren/public_html/stage/vendor/magento/framework/Interception/Chain/Chain.php(63): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\Cms\Con...', 'dispatch', Object(Magento\Cms\Controller\Index\Index\Interceptor), Array, 'storeCheck')
22 /home/ccsammelfiguren/public_html/stage/vendor/magento/module-store/App/Action/Plugin/StoreCheck.php(44): Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain{closure}(Object(Magento\Framework\App\Request\Http))
23 [internal function]: Magento\Store\App\Action\Plugin\StoreCheck->aroundDispatch(Object(Magento\Cms\Controller\Index\Index\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))
24 /home/ccsammelfiguren/public_html/stage/vendor/magento/framework/Interception/Chain/Chain.php(67): call_user_func_array(Array, Array)
25 /home/ccsammelfiguren/public_html/stage/vendor/magento/framework/Interception/Chain/Chain.php(63): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\Cms\Con...', 'dispatch', Object(Magento\Cms\Controller\Index\Index\Interceptor), Array, 'weee-app-action...')
26 /home/ccsammelfiguren/public_html/stage/vendor/magento/module-weee/Model/App/Action/ContextPlugin.php(112): Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain{closure}(Object(Magento\Framework\App\Request\Http))
27 [internal function]: Magento\Weee\Model\App\Action\ContextPlugin->aroundDispatch(Object(Magento\Cms\Controller\Index\Index\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))
28 /home/ccsammelfiguren/public_html/stage/vendor/magento/framework/Interception/Chain/Chain.php(67): call_user_func_array(Array, Array)
29 /home/ccsammelfiguren/public_html/stage/vendor/magento/framework/Interception/Interceptor.php(136): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\Cms\Con...', 'dispatch', Object(Magento\Cms\Controller\Index\Index\Interceptor), Array, 'tax-app-action-...')
30 /home/ccsammelfiguren/public_html/stage/vendor/magento/module-tax/Model/App/Action/ContextPlugin.php(91): Magento\Cms\Controller\Index\Index\Interceptor->Magento\Framework\Interception{closure}(Object(Magento\Framework\App\Request\Http))
31 [internal function]: Magento\Tax\Model\App\Action\ContextPlugin->aroundDispatch(Object(Magento\Cms\Controller\Index\Index\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))
32 /home/ccsammelfiguren/public_html/stage/vendor/magento/framework/Interception/Interceptor.php(140): call_user_func_array(Array, Array)
33 /home/ccsammelfiguren/public_html/stage/var/generation/Magento/Cms/Controller/Index/Index/Interceptor.php(39): Magento\Cms\Controller\Index\Index\Interceptor->___callPlugins('dispatch', Array, Array)
34 /home/ccsammelfiguren/public_html/stage/vendor/magento/framework/App/FrontController.php(55): Magento\Cms\Controller\Index\Index\Interceptor->dispatch(Object(Magento\Framework\App\Request\Http))
35 [internal function]: Magento\Framework\App\FrontController->dispatch(Object(Magento\Framework\App\Request\Http))
36 /home/ccsammelfiguren/public_html/stage/vendor/magento/framework/Interception/Interceptor.php(74): call_user_func_array(Array, Array)
37 /home/ccsammelfiguren/public_html/stage/vendor/magento/framework/Interception/Chain/Chain.php(70): Magento\Framework\App\FrontController\Interceptor->___callParent('dispatch', Array)
38 /home/ccsammelfiguren/public_html/stage/vendor/magento/framework/Interception/Chain/Chain.php(63): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\Framewo...', 'dispatch', Object(Magento\Framework\App\FrontController\Interceptor), Array, 'requestPreproce...')
39 /home/ccsammelfiguren/public_html/stage/vendor/magento/module-store/App/FrontController/Plugin/RequestPreprocessor.php(89): Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain{closure}(Object(Magento\Framework\App\Request\Http))
40 [internal function]: Magento\Store\App\FrontController\Plugin\RequestPreprocessor->aroundDispatch(Object(Magento\Framework\App\FrontController\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))
41 /home/ccsammelfiguren/public_html/stage/vendor/magento/framework/Interception/Chain/Chain.php(67): call_user_func_array(Array, Array)
42 /home/ccsammelfiguren/public_html/stage/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')
43 /home/ccsammelfiguren/public_html/stage/vendor/magento/framework/Module/Plugin/DbStatusValidator.php(69): Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain{closure}(Object(Magento\Framework\App\Request\Http))
44 [internal function]: Magento\Framework\Module\Plugin\DbStatusValidator->aroundDispatch(Object(Magento\Framework\App\FrontController\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))
45 /home/ccsammelfiguren/public_html/stage/vendor/magento/framework/Interception/Chain/Chain.php(67): call_user_func_array(Array, Array)
46 /home/ccsammelfiguren/public_html/stage/vendor/magento/framework/Interception/Chain/Chain.php(63): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\Framewo...', 'dispatch', Object(Magento\Framework\App\FrontController\Interceptor), Array, 'front-controlle...')
47 /home/ccsammelfiguren/public_html/stage/vendor/magento/module-page-cache/Model/App/FrontController/VarnishPlugin.php(55): Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain{closure}(Object(Magento\Framework\App\Request\Http))
48 [internal function]: Magento\PageCache\Model\App\FrontController\VarnishPlugin->aroundDispatch(Object(Magento\Framework\App\FrontController\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))
49 /home/ccsammelfiguren/public_html/stage/vendor/magento/framework/Interception/Chain/Chain.php(67): call_user_func_array(Array, Array)
50 /home/ccsammelfiguren/public_html/stage/vendor/magento/framework/Interception/Interceptor.php(136): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\Framewo...', 'dispatch', Object(Magento\Framework\App\FrontController\Interceptor), Array, 'front-controlle...')
51 /home/ccsammelfiguren/public_html/stage/vendor/magento/module-page-cache/Model/App/FrontController/BuiltinPlugin.php(73): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception{closure}(Object(Magento\Framework\App\Request\Http))
52 [internal function]: Magento\PageCache\Model\App\FrontController\BuiltinPlugin->aroundDispatch(Object(Magento\Framework\App\FrontController\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))
53 /home/ccsammelfiguren/public_html/stage/vendor/magento/framework/Interception/Interceptor.php(140): call_user_func_array(Array, Array)
54 /home/ccsammelfiguren/public_html/stage/var/generation/Magento/Framework/App/FrontController/Interceptor.php(26): Magento\Framework\App\FrontController\Interceptor->___callPlugins('dispatch', Array, Array)
55 /home/ccsammelfiguren/public_html/stage/vendor/magento/framework/App/Http.php(115): Magento\Framework\App\FrontController\Interceptor->dispatch(Object(Magento\Framework\App\Request\Http))
56 /home/ccsammelfiguren/public_html/stage/vendor/magento/framework/App/Bootstrap.php(258): Magento\Framework\App\Http->launch()
57 /home/ccsammelfiguren/public_html/stage/index.php(39): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http))
58 {main}";s:3:"url";s:1:"/";s:11:"script_name";s:10:"/index.php";}
We tried to delete vendor and use composer update, but that has not fixed it.
Any one else have had this problem/bug? How to fix it?