Trying to remove theme












0















We've had endless headaches with a theme we purchased when we first launched our site so we are trying to finally migrate away from it, but it's not letting go easily.



Whenever I am trying to begin with the products, switching them off the default theme. But when I switch it off the Cleversoft Novetty and try to use something like Magento Blank or Magento Luma, Cleversoft is still throwing errors.



Can anyone point me in the right direction on how I can quick-fix something like this?



The current error I'm getting seems to be something injected in the page header, but I'm not entirely certain why it's throwing an error as I would assume it could still find what it needs in the theme files. (some dependency in sub/page theme content through bad compartmentalizing of code?)



The error I get when I switch a product to blank is:



1 exception(s):
Exception #0 (MagentoFrameworkExceptionValidatorException): Invalid template file: 'Magento_Customer::account/link/authorization_mobile.phtml' in module: 'CleverSoft_Base' block's name: 'authorization-link-mobile'

Exception #0 (MagentoFrameworkExceptionValidatorException): Invalid template file: 'Magento_Customer::account/link/authorization_mobile.phtml' in module: 'CleverSoft_Base' block's name: 'authorization-link-mobile'
#0 /srv/magento/vendor/magento/framework/View/Element/Template.php(300): MagentoFrameworkViewElementTemplate->fetchView(false)
#1 /srv/magento/vendor/magento/framework/View/Element/Html/Link.php(101): MagentoFrameworkViewElementTemplate->_toHtml()
#2 /srv/magento/vendor/magento/framework/View/Element/AbstractBlock.php(667): MagentoFrameworkViewElementHtmlLink->_toHtml()
#3 /srv/magento/vendor/magento/framework/View/Layout.php(558): MagentoFrameworkViewElementAbstractBlock->toHtml()
#4 /srv/magento/vendor/magento/framework/View/Layout.php(534): MagentoFrameworkViewLayout->_renderBlock('authorization-l...')
#5 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(58): MagentoFrameworkViewLayout->renderNonCachedElement('authorization-l...')
#6 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(138): MagentoFrameworkViewLayoutInterceptor->___callParent('renderNonCached...', Array)
#7 /srv/magento/vendor/mage2pro/core/Framework/Plugin/View/Layout.php(166): MagentoFrameworkViewLayoutInterceptor->MagentoFrameworkInterception{closure}('authorization-l...')
#8 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(135): DfFrameworkPluginViewLayout->aroundRenderNonCachedElement(Object(MagentoFrameworkViewLayoutInterceptor), Object(Closure), 'authorization-l...')
#9 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(153): MagentoFrameworkViewLayoutInterceptor->MagentoFrameworkInterception{closure}('authorization-l...')
#10 /srv/magento/generated/code/Magento/Framework/View/Layout/Interceptor.php(39): MagentoFrameworkViewLayoutInterceptor->___callPlugins('renderNonCached...', Array, NULL)
#11 /srv/magento/vendor/magento/framework/View/Layout.php(489): MagentoFrameworkViewLayoutInterceptor->renderNonCachedElement('authorization-l...')
#12 /srv/magento/vendor/magento/framework/View/Element/Html/Links.php(62): MagentoFrameworkViewLayout->renderElement('authorization-l...')
#13 /srv/magento/vendor/magento/framework/View/Element/Html/Links.php(82): MagentoFrameworkViewElementHtmlLinks->renderLink(Object(CleverSoftBaseBlockAuthorizationLinkInterceptor))
#14 /srv/magento/vendor/magento/framework/View/Element/AbstractBlock.php(667): MagentoFrameworkViewElementHtmlLinks->_toHtml()
#15 /srv/magento/vendor/magento/framework/View/Layout.php(558): MagentoFrameworkViewElementAbstractBlock->toHtml()
#16 /srv/magento/vendor/magento/framework/View/Layout.php(534): MagentoFrameworkViewLayout->_renderBlock('header.links.mo...')
#17 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(58): MagentoFrameworkViewLayout->renderNonCachedElement('header.links.mo...')
#18 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(138): MagentoFrameworkViewLayoutInterceptor->___callParent('renderNonCached...', Array)
#19 /srv/magento/vendor/mage2pro/core/Framework/Plugin/View/Layout.php(166): MagentoFrameworkViewLayoutInterceptor->MagentoFrameworkInterception{closure}('header.links.mo...')
#20 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(135): DfFrameworkPluginViewLayout->aroundRenderNonCachedElement(Object(MagentoFrameworkViewLayoutInterceptor), Object(Closure), 'header.links.mo...')
#21 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(153): MagentoFrameworkViewLayoutInterceptor->MagentoFrameworkInterception{closure}('header.links.mo...')
#22 /srv/magento/generated/code/Magento/Framework/View/Layout/Interceptor.php(39): MagentoFrameworkViewLayoutInterceptor->___callPlugins('renderNonCached...', Array, NULL)
#23 /srv/magento/vendor/magento/framework/View/Layout.php(489): MagentoFrameworkViewLayoutInterceptor->renderNonCachedElement('header.links.mo...')
#24 /srv/magento/vendor/magento/framework/View/Element/AbstractBlock.php(511): MagentoFrameworkViewLayout->renderElement('header.links.mo...', true)
#25 /srv/magento/vendor/magento/module-theme/view/frontend/templates/html/container.phtml(10): MagentoFrameworkViewElementAbstractBlock->getChildHtml()
#26 /srv/magento/vendor/magento/framework/View/TemplateEngine/Php.php(59): include('/srv/magento/ve...')
#27 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(58): MagentoFrameworkViewTemplateEnginePhp->render(Object(MagentoFrameworkViewElementTemplateInterceptor), '/srv/magento/ve...', Array)
#28 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(138): MagentoFrameworkViewTemplateEnginePhpInterceptor->___callParent('render', Array)
#29 /srv/magento/vendor/mage2pro/core/Framework/Plugin/View/TemplateEngineInterface.php(21): MagentoFrameworkViewTemplateEnginePhpInterceptor->MagentoFrameworkInterception{closure}(Object(MagentoFrameworkViewElementTemplateInterceptor), '/srv/magento/ve...', Array)
#30 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(135): DfFrameworkPluginViewTemplateEngineInterface->aroundRender(Object(MagentoFrameworkViewTemplateEnginePhpInterceptor), Object(Closure), Object(MagentoFrameworkViewElementTemplateInterceptor), '/srv/magento/ve...', Array)
#31 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(153): MagentoFrameworkViewTemplateEnginePhpInterceptor->MagentoFrameworkInterception{closure}(Object(MagentoFrameworkViewElementTemplateInterceptor), '/srv/magento/ve...', Array)
#32 /srv/magento/generated/code/Magento/Framework/View/TemplateEngine/Php/Interceptor.php(26): MagentoFrameworkViewTemplateEnginePhpInterceptor->___callPlugins('render', Array, NULL)
#33 /srv/magento/vendor/magento/framework/View/Element/Template.php(270): MagentoFrameworkViewTemplateEnginePhpInterceptor->render(Object(MagentoFrameworkViewElementTemplateInterceptor), '/srv/magento/ve...', Array)
#34 /srv/magento/vendor/magento/framework/View/Element/Template.php(300): MagentoFrameworkViewElementTemplate->fetchView('/srv/magento/ve...')
#35 /srv/magento/vendor/magento/framework/View/Element/AbstractBlock.php(667): MagentoFrameworkViewElementTemplate->_toHtml()
#36 /srv/magento/vendor/magento/framework/View/Layout.php(558): MagentoFrameworkViewElementAbstractBlock->toHtml()
#37 /srv/magento/vendor/magento/framework/View/Layout.php(534): MagentoFrameworkViewLayout->_renderBlock('store.menu')
#38 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(58): MagentoFrameworkViewLayout->renderNonCachedElement('store.menu')
#39 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(138): MagentoFrameworkViewLayoutInterceptor->___callParent('renderNonCached...', Array)
#40 /srv/magento/vendor/mage2pro/core/Framework/Plugin/View/Layout.php(166): MagentoFrameworkViewLayoutInterceptor->MagentoFrameworkInterception{closure}('store.menu')
#41 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(135): DfFrameworkPluginViewLayout->aroundRenderNonCachedElement(Object(MagentoFrameworkViewLayoutInterceptor), Object(Closure), 'store.menu')
#42 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(153): MagentoFrameworkViewLayoutInterceptor->MagentoFrameworkInterception{closure}('store.menu')
#43 /srv/magento/generated/code/Magento/Framework/View/Layout/Interceptor.php(39): MagentoFrameworkViewLayoutInterceptor->___callPlugins('renderNonCached...', Array, NULL)
#44 /srv/magento/vendor/magento/framework/View/Layout.php(489): MagentoFrameworkViewLayoutInterceptor->renderNonCachedElement('store.menu')
#45 /srv/magento/vendor/magento/module-theme/view/frontend/templates/html/sections.phtml(26): MagentoFrameworkViewLayout->renderElement('store.menu')
#46 /srv/magento/vendor/magento/framework/View/TemplateEngine/Php.php(59): include('/srv/magento/ve...')
#47 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(58): MagentoFrameworkViewTemplateEnginePhp->render(Object(MagentoFrameworkViewElementTemplateInterceptor), '/srv/magento/ve...', Array)
#48 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(138): MagentoFrameworkViewTemplateEnginePhpInterceptor->___callParent('render', Array)
#49 /srv/magento/vendor/mage2pro/core/Framework/Plugin/View/TemplateEngineInterface.php(21): MagentoFrameworkViewTemplateEnginePhpInterceptor->MagentoFrameworkInterception{closure}(Object(MagentoFrameworkViewElementTemplateInterceptor), '/srv/magento/ve...', Array)
#50 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(135): DfFrameworkPluginViewTemplateEngineInterface->aroundRender(Object(MagentoFrameworkViewTemplateEnginePhpInterceptor), Object(Closure), Object(MagentoFrameworkViewElementTemplateInterceptor), '/srv/magento/ve...', Array)
#51 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(153): MagentoFrameworkViewTemplateEnginePhpInterceptor->MagentoFrameworkInterception{closure}(Object(MagentoFrameworkViewElementTemplateInterceptor), '/srv/magento/ve...', Array)
#52 /srv/magento/generated/code/Magento/Framework/View/TemplateEngine/Php/Interceptor.php(26): MagentoFrameworkViewTemplateEnginePhpInterceptor->___callPlugins('render', Array, NULL)
#53 /srv/magento/vendor/magento/framework/View/Element/Template.php(270): MagentoFrameworkViewTemplateEnginePhpInterceptor->render(Object(MagentoFrameworkViewElementTemplateInterceptor), '/srv/magento/ve...', Array)
#54 /srv/magento/vendor/magento/framework/View/Element/Template.php(300): MagentoFrameworkViewElementTemplate->fetchView('/srv/magento/ve...')
#55 /srv/magento/vendor/magento/framework/View/Element/AbstractBlock.php(667): MagentoFrameworkViewElementTemplate->_toHtml()
#56 /srv/magento/vendor/magento/framework/View/Layout.php(558): MagentoFrameworkViewElementAbstractBlock->toHtml()
#57 /srv/magento/vendor/magento/framework/View/Layout.php(534): MagentoFrameworkViewLayout->_renderBlock('navigation.sect...')
#58 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(58): MagentoFrameworkViewLayout->renderNonCachedElement('navigation.sect...')
#59 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(138): MagentoFrameworkViewLayoutInterceptor->___callParent('renderNonCached...', Array)
#60 /srv/magento/vendor/mage2pro/core/Framework/Plugin/View/Layout.php(166): MagentoFrameworkViewLayoutInterceptor->MagentoFrameworkInterception{closure}('navigation.sect...')
#61 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(135): DfFrameworkPluginViewLayout->aroundRenderNonCachedElement(Object(MagentoFrameworkViewLayoutInterceptor), Object(Closure), 'navigation.sect...')
#62 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(153): MagentoFrameworkViewLayoutInterceptor->MagentoFrameworkInterception{closure}('navigation.sect...')
#63 /srv/magento/generated/code/Magento/Framework/View/Layout/Interceptor.php(39): MagentoFrameworkViewLayoutInterceptor->___callPlugins('renderNonCached...', Array, NULL)
#64 /srv/magento/vendor/magento/framework/View/Layout.php(489): MagentoFrameworkViewLayoutInterceptor->renderNonCachedElement('navigation.sect...')
#65 /srv/magento/vendor/magento/framework/View/Layout.php(585): MagentoFrameworkViewLayout->renderElement('navigation.sect...')
#66 /srv/magento/vendor/magento/framework/View/Layout.php(536): MagentoFrameworkViewLayout->_renderContainer('page.top')
#67 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(58): MagentoFrameworkViewLayout->renderNonCachedElement('page.top')
#68 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(138): MagentoFrameworkViewLayoutInterceptor->___callParent('renderNonCached...', Array)
#69 /srv/magento/vendor/mage2pro/core/Framework/Plugin/View/Layout.php(166): MagentoFrameworkViewLayoutInterceptor->MagentoFrameworkInterception{closure}('page.top')
#70 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(135): DfFrameworkPluginViewLayout->aroundRenderNonCachedElement(Object(MagentoFrameworkViewLayoutInterceptor), Object(Closure), 'page.top')
#71 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(153): MagentoFrameworkViewLayoutInterceptor->MagentoFrameworkInterception{closure}('page.top')
#72 /srv/magento/generated/code/Magento/Framework/View/Layout/Interceptor.php(39): MagentoFrameworkViewLayoutInterceptor->___callPlugins('renderNonCached...', Array, NULL)
#73 /srv/magento/vendor/magento/framework/View/Layout.php(489): MagentoFrameworkViewLayoutInterceptor->renderNonCachedElement('page.top')
#74 /srv/magento/vendor/magento/framework/View/Layout.php(585): MagentoFrameworkViewLayout->renderElement('page.top')
#75 /srv/magento/vendor/magento/framework/View/Layout.php(536): MagentoFrameworkViewLayout->_renderContainer('page.wrapper')
#76 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(58): MagentoFrameworkViewLayout->renderNonCachedElement('page.wrapper')
#77 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(138): MagentoFrameworkViewLayoutInterceptor->___callParent('renderNonCached...', Array)
#78 /srv/magento/vendor/mage2pro/core/Framework/Plugin/View/Layout.php(166): MagentoFrameworkViewLayoutInterceptor->MagentoFrameworkInterception{closure}('page.wrapper')
#79 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(135): DfFrameworkPluginViewLayout->aroundRenderNonCachedElement(Object(MagentoFrameworkViewLayoutInterceptor), Object(Closure), 'page.wrapper')
#80 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(153): MagentoFrameworkViewLayoutInterceptor->MagentoFrameworkInterception{closure}('page.wrapper')
#81 /srv/magento/generated/code/Magento/Framework/View/Layout/Interceptor.php(39): MagentoFrameworkViewLayoutInterceptor->___callPlugins('renderNonCached...', Array, NULL)
#82 /srv/magento/vendor/magento/framework/View/Layout.php(489): MagentoFrameworkViewLayoutInterceptor->renderNonCachedElement('page.wrapper')
#83 /srv/magento/vendor/magento/framework/View/Layout.php(585): MagentoFrameworkViewLayout->renderElement('page.wrapper')
#84 /srv/magento/vendor/magento/framework/View/Layout.php(536): MagentoFrameworkViewLayout->_renderContainer('root')
#85 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(58): MagentoFrameworkViewLayout->renderNonCachedElement('root')
#86 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(138): MagentoFrameworkViewLayoutInterceptor->___callParent('renderNonCached...', Array)
#87 /srv/magento/vendor/mage2pro/core/Framework/Plugin/View/Layout.php(166): MagentoFrameworkViewLayoutInterceptor->MagentoFrameworkInterception{closure}('root')
#88 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(135): DfFrameworkPluginViewLayout->aroundRenderNonCachedElement(Object(MagentoFrameworkViewLayoutInterceptor), Object(Closure), 'root')
#89 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(153): MagentoFrameworkViewLayoutInterceptor->MagentoFrameworkInterception{closure}('root')
#90 /srv/magento/generated/code/Magento/Framework/View/Layout/Interceptor.php(39): MagentoFrameworkViewLayoutInterceptor->___callPlugins('renderNonCached...', Array, NULL)
#91 /srv/magento/vendor/magento/framework/View/Layout.php(489): MagentoFrameworkViewLayoutInterceptor->renderNonCachedElement('root')
#92 /srv/magento/vendor/magento/framework/View/Layout.php(954): MagentoFrameworkViewLayout->renderElement('root')
#93 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(58): MagentoFrameworkViewLayout->getOutput()
#94 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(138): MagentoFrameworkViewLayoutInterceptor->___callParent('getOutput', Array)
#95 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(153): MagentoFrameworkViewLayoutInterceptor->MagentoFrameworkInterception{closure}()
#96 /srv/magento/generated/code/Magento/Framework/View/Layout/Interceptor.php(52): MagentoFrameworkViewLayoutInterceptor->___callPlugins('getOutput', Array, Array)
#97 /srv/magento/vendor/magento/framework/View/Result/Page.php(257): MagentoFrameworkViewLayoutInterceptor->getOutput()
#98 /srv/magento/vendor/magento/framework/View/Result/Layout.php(170): MagentoFrameworkViewResultPage->render(Object(MagentoFrameworkAppResponseHttpInterceptor))
#99 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(58): MagentoFrameworkViewResultLayout->renderResult(Object(MagentoFrameworkAppResponseHttpInterceptor))
#100 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(138): MagentoFrameworkViewResultPageInterceptor->___callParent('renderResult', Array)
#101 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(153): MagentoFrameworkViewResultPageInterceptor->MagentoFrameworkInterception{closure}(Object(MagentoFrameworkAppResponseHttpInterceptor))
#102 /srv/magento/generated/code/Magento/Framework/View/Result/Page/Interceptor.php(26): MagentoFrameworkViewResultPageInterceptor->___callPlugins('renderResult', Array, Array)
#103 /srv/magento/vendor/magento/framework/App/Http.php(139): MagentoFrameworkViewResultPageInterceptor->renderResult(Object(MagentoFrameworkAppResponseHttpInterceptor))
#104 /srv/magento/vendor/magento/framework/App/Bootstrap.php(256): MagentoFrameworkAppHttp->launch()
#105 /srv/magento/index.php(39): MagentoFrameworkAppBootstrap->run(Object(MagentoFrameworkAppHttpInterceptor))
#106 {main}


Can I just create an override theme template in my custom code that is empty with the same filename? Or is there a better way to address crap-code like this?



Presumably, when we are finished changing over and completely styling a custom theme, it will no longer be an issue as we can convert the whole site's default to the new theme. But that's going to be a lengthy process and I would prefer to do it gradually, migrating content off one piece at a time then thoroughly testing the site again after removing the old theme dependencies to make sure everything still works when finished.










share|improve this question























  • I think you're getting this error on product detail page, it would be helpful if you can post theme's catalog_product_view.xml or the xml related to the page where you're getting the error.

    – Vivek Kumar
    5 hours ago











  • If cleversoft has a custom module for its admin configuration try to start on disabling it before doing a theme switch.

    – magefms
    4 hours ago
















0















We've had endless headaches with a theme we purchased when we first launched our site so we are trying to finally migrate away from it, but it's not letting go easily.



Whenever I am trying to begin with the products, switching them off the default theme. But when I switch it off the Cleversoft Novetty and try to use something like Magento Blank or Magento Luma, Cleversoft is still throwing errors.



Can anyone point me in the right direction on how I can quick-fix something like this?



The current error I'm getting seems to be something injected in the page header, but I'm not entirely certain why it's throwing an error as I would assume it could still find what it needs in the theme files. (some dependency in sub/page theme content through bad compartmentalizing of code?)



The error I get when I switch a product to blank is:



1 exception(s):
Exception #0 (MagentoFrameworkExceptionValidatorException): Invalid template file: 'Magento_Customer::account/link/authorization_mobile.phtml' in module: 'CleverSoft_Base' block's name: 'authorization-link-mobile'

Exception #0 (MagentoFrameworkExceptionValidatorException): Invalid template file: 'Magento_Customer::account/link/authorization_mobile.phtml' in module: 'CleverSoft_Base' block's name: 'authorization-link-mobile'
#0 /srv/magento/vendor/magento/framework/View/Element/Template.php(300): MagentoFrameworkViewElementTemplate->fetchView(false)
#1 /srv/magento/vendor/magento/framework/View/Element/Html/Link.php(101): MagentoFrameworkViewElementTemplate->_toHtml()
#2 /srv/magento/vendor/magento/framework/View/Element/AbstractBlock.php(667): MagentoFrameworkViewElementHtmlLink->_toHtml()
#3 /srv/magento/vendor/magento/framework/View/Layout.php(558): MagentoFrameworkViewElementAbstractBlock->toHtml()
#4 /srv/magento/vendor/magento/framework/View/Layout.php(534): MagentoFrameworkViewLayout->_renderBlock('authorization-l...')
#5 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(58): MagentoFrameworkViewLayout->renderNonCachedElement('authorization-l...')
#6 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(138): MagentoFrameworkViewLayoutInterceptor->___callParent('renderNonCached...', Array)
#7 /srv/magento/vendor/mage2pro/core/Framework/Plugin/View/Layout.php(166): MagentoFrameworkViewLayoutInterceptor->MagentoFrameworkInterception{closure}('authorization-l...')
#8 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(135): DfFrameworkPluginViewLayout->aroundRenderNonCachedElement(Object(MagentoFrameworkViewLayoutInterceptor), Object(Closure), 'authorization-l...')
#9 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(153): MagentoFrameworkViewLayoutInterceptor->MagentoFrameworkInterception{closure}('authorization-l...')
#10 /srv/magento/generated/code/Magento/Framework/View/Layout/Interceptor.php(39): MagentoFrameworkViewLayoutInterceptor->___callPlugins('renderNonCached...', Array, NULL)
#11 /srv/magento/vendor/magento/framework/View/Layout.php(489): MagentoFrameworkViewLayoutInterceptor->renderNonCachedElement('authorization-l...')
#12 /srv/magento/vendor/magento/framework/View/Element/Html/Links.php(62): MagentoFrameworkViewLayout->renderElement('authorization-l...')
#13 /srv/magento/vendor/magento/framework/View/Element/Html/Links.php(82): MagentoFrameworkViewElementHtmlLinks->renderLink(Object(CleverSoftBaseBlockAuthorizationLinkInterceptor))
#14 /srv/magento/vendor/magento/framework/View/Element/AbstractBlock.php(667): MagentoFrameworkViewElementHtmlLinks->_toHtml()
#15 /srv/magento/vendor/magento/framework/View/Layout.php(558): MagentoFrameworkViewElementAbstractBlock->toHtml()
#16 /srv/magento/vendor/magento/framework/View/Layout.php(534): MagentoFrameworkViewLayout->_renderBlock('header.links.mo...')
#17 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(58): MagentoFrameworkViewLayout->renderNonCachedElement('header.links.mo...')
#18 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(138): MagentoFrameworkViewLayoutInterceptor->___callParent('renderNonCached...', Array)
#19 /srv/magento/vendor/mage2pro/core/Framework/Plugin/View/Layout.php(166): MagentoFrameworkViewLayoutInterceptor->MagentoFrameworkInterception{closure}('header.links.mo...')
#20 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(135): DfFrameworkPluginViewLayout->aroundRenderNonCachedElement(Object(MagentoFrameworkViewLayoutInterceptor), Object(Closure), 'header.links.mo...')
#21 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(153): MagentoFrameworkViewLayoutInterceptor->MagentoFrameworkInterception{closure}('header.links.mo...')
#22 /srv/magento/generated/code/Magento/Framework/View/Layout/Interceptor.php(39): MagentoFrameworkViewLayoutInterceptor->___callPlugins('renderNonCached...', Array, NULL)
#23 /srv/magento/vendor/magento/framework/View/Layout.php(489): MagentoFrameworkViewLayoutInterceptor->renderNonCachedElement('header.links.mo...')
#24 /srv/magento/vendor/magento/framework/View/Element/AbstractBlock.php(511): MagentoFrameworkViewLayout->renderElement('header.links.mo...', true)
#25 /srv/magento/vendor/magento/module-theme/view/frontend/templates/html/container.phtml(10): MagentoFrameworkViewElementAbstractBlock->getChildHtml()
#26 /srv/magento/vendor/magento/framework/View/TemplateEngine/Php.php(59): include('/srv/magento/ve...')
#27 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(58): MagentoFrameworkViewTemplateEnginePhp->render(Object(MagentoFrameworkViewElementTemplateInterceptor), '/srv/magento/ve...', Array)
#28 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(138): MagentoFrameworkViewTemplateEnginePhpInterceptor->___callParent('render', Array)
#29 /srv/magento/vendor/mage2pro/core/Framework/Plugin/View/TemplateEngineInterface.php(21): MagentoFrameworkViewTemplateEnginePhpInterceptor->MagentoFrameworkInterception{closure}(Object(MagentoFrameworkViewElementTemplateInterceptor), '/srv/magento/ve...', Array)
#30 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(135): DfFrameworkPluginViewTemplateEngineInterface->aroundRender(Object(MagentoFrameworkViewTemplateEnginePhpInterceptor), Object(Closure), Object(MagentoFrameworkViewElementTemplateInterceptor), '/srv/magento/ve...', Array)
#31 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(153): MagentoFrameworkViewTemplateEnginePhpInterceptor->MagentoFrameworkInterception{closure}(Object(MagentoFrameworkViewElementTemplateInterceptor), '/srv/magento/ve...', Array)
#32 /srv/magento/generated/code/Magento/Framework/View/TemplateEngine/Php/Interceptor.php(26): MagentoFrameworkViewTemplateEnginePhpInterceptor->___callPlugins('render', Array, NULL)
#33 /srv/magento/vendor/magento/framework/View/Element/Template.php(270): MagentoFrameworkViewTemplateEnginePhpInterceptor->render(Object(MagentoFrameworkViewElementTemplateInterceptor), '/srv/magento/ve...', Array)
#34 /srv/magento/vendor/magento/framework/View/Element/Template.php(300): MagentoFrameworkViewElementTemplate->fetchView('/srv/magento/ve...')
#35 /srv/magento/vendor/magento/framework/View/Element/AbstractBlock.php(667): MagentoFrameworkViewElementTemplate->_toHtml()
#36 /srv/magento/vendor/magento/framework/View/Layout.php(558): MagentoFrameworkViewElementAbstractBlock->toHtml()
#37 /srv/magento/vendor/magento/framework/View/Layout.php(534): MagentoFrameworkViewLayout->_renderBlock('store.menu')
#38 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(58): MagentoFrameworkViewLayout->renderNonCachedElement('store.menu')
#39 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(138): MagentoFrameworkViewLayoutInterceptor->___callParent('renderNonCached...', Array)
#40 /srv/magento/vendor/mage2pro/core/Framework/Plugin/View/Layout.php(166): MagentoFrameworkViewLayoutInterceptor->MagentoFrameworkInterception{closure}('store.menu')
#41 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(135): DfFrameworkPluginViewLayout->aroundRenderNonCachedElement(Object(MagentoFrameworkViewLayoutInterceptor), Object(Closure), 'store.menu')
#42 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(153): MagentoFrameworkViewLayoutInterceptor->MagentoFrameworkInterception{closure}('store.menu')
#43 /srv/magento/generated/code/Magento/Framework/View/Layout/Interceptor.php(39): MagentoFrameworkViewLayoutInterceptor->___callPlugins('renderNonCached...', Array, NULL)
#44 /srv/magento/vendor/magento/framework/View/Layout.php(489): MagentoFrameworkViewLayoutInterceptor->renderNonCachedElement('store.menu')
#45 /srv/magento/vendor/magento/module-theme/view/frontend/templates/html/sections.phtml(26): MagentoFrameworkViewLayout->renderElement('store.menu')
#46 /srv/magento/vendor/magento/framework/View/TemplateEngine/Php.php(59): include('/srv/magento/ve...')
#47 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(58): MagentoFrameworkViewTemplateEnginePhp->render(Object(MagentoFrameworkViewElementTemplateInterceptor), '/srv/magento/ve...', Array)
#48 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(138): MagentoFrameworkViewTemplateEnginePhpInterceptor->___callParent('render', Array)
#49 /srv/magento/vendor/mage2pro/core/Framework/Plugin/View/TemplateEngineInterface.php(21): MagentoFrameworkViewTemplateEnginePhpInterceptor->MagentoFrameworkInterception{closure}(Object(MagentoFrameworkViewElementTemplateInterceptor), '/srv/magento/ve...', Array)
#50 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(135): DfFrameworkPluginViewTemplateEngineInterface->aroundRender(Object(MagentoFrameworkViewTemplateEnginePhpInterceptor), Object(Closure), Object(MagentoFrameworkViewElementTemplateInterceptor), '/srv/magento/ve...', Array)
#51 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(153): MagentoFrameworkViewTemplateEnginePhpInterceptor->MagentoFrameworkInterception{closure}(Object(MagentoFrameworkViewElementTemplateInterceptor), '/srv/magento/ve...', Array)
#52 /srv/magento/generated/code/Magento/Framework/View/TemplateEngine/Php/Interceptor.php(26): MagentoFrameworkViewTemplateEnginePhpInterceptor->___callPlugins('render', Array, NULL)
#53 /srv/magento/vendor/magento/framework/View/Element/Template.php(270): MagentoFrameworkViewTemplateEnginePhpInterceptor->render(Object(MagentoFrameworkViewElementTemplateInterceptor), '/srv/magento/ve...', Array)
#54 /srv/magento/vendor/magento/framework/View/Element/Template.php(300): MagentoFrameworkViewElementTemplate->fetchView('/srv/magento/ve...')
#55 /srv/magento/vendor/magento/framework/View/Element/AbstractBlock.php(667): MagentoFrameworkViewElementTemplate->_toHtml()
#56 /srv/magento/vendor/magento/framework/View/Layout.php(558): MagentoFrameworkViewElementAbstractBlock->toHtml()
#57 /srv/magento/vendor/magento/framework/View/Layout.php(534): MagentoFrameworkViewLayout->_renderBlock('navigation.sect...')
#58 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(58): MagentoFrameworkViewLayout->renderNonCachedElement('navigation.sect...')
#59 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(138): MagentoFrameworkViewLayoutInterceptor->___callParent('renderNonCached...', Array)
#60 /srv/magento/vendor/mage2pro/core/Framework/Plugin/View/Layout.php(166): MagentoFrameworkViewLayoutInterceptor->MagentoFrameworkInterception{closure}('navigation.sect...')
#61 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(135): DfFrameworkPluginViewLayout->aroundRenderNonCachedElement(Object(MagentoFrameworkViewLayoutInterceptor), Object(Closure), 'navigation.sect...')
#62 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(153): MagentoFrameworkViewLayoutInterceptor->MagentoFrameworkInterception{closure}('navigation.sect...')
#63 /srv/magento/generated/code/Magento/Framework/View/Layout/Interceptor.php(39): MagentoFrameworkViewLayoutInterceptor->___callPlugins('renderNonCached...', Array, NULL)
#64 /srv/magento/vendor/magento/framework/View/Layout.php(489): MagentoFrameworkViewLayoutInterceptor->renderNonCachedElement('navigation.sect...')
#65 /srv/magento/vendor/magento/framework/View/Layout.php(585): MagentoFrameworkViewLayout->renderElement('navigation.sect...')
#66 /srv/magento/vendor/magento/framework/View/Layout.php(536): MagentoFrameworkViewLayout->_renderContainer('page.top')
#67 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(58): MagentoFrameworkViewLayout->renderNonCachedElement('page.top')
#68 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(138): MagentoFrameworkViewLayoutInterceptor->___callParent('renderNonCached...', Array)
#69 /srv/magento/vendor/mage2pro/core/Framework/Plugin/View/Layout.php(166): MagentoFrameworkViewLayoutInterceptor->MagentoFrameworkInterception{closure}('page.top')
#70 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(135): DfFrameworkPluginViewLayout->aroundRenderNonCachedElement(Object(MagentoFrameworkViewLayoutInterceptor), Object(Closure), 'page.top')
#71 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(153): MagentoFrameworkViewLayoutInterceptor->MagentoFrameworkInterception{closure}('page.top')
#72 /srv/magento/generated/code/Magento/Framework/View/Layout/Interceptor.php(39): MagentoFrameworkViewLayoutInterceptor->___callPlugins('renderNonCached...', Array, NULL)
#73 /srv/magento/vendor/magento/framework/View/Layout.php(489): MagentoFrameworkViewLayoutInterceptor->renderNonCachedElement('page.top')
#74 /srv/magento/vendor/magento/framework/View/Layout.php(585): MagentoFrameworkViewLayout->renderElement('page.top')
#75 /srv/magento/vendor/magento/framework/View/Layout.php(536): MagentoFrameworkViewLayout->_renderContainer('page.wrapper')
#76 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(58): MagentoFrameworkViewLayout->renderNonCachedElement('page.wrapper')
#77 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(138): MagentoFrameworkViewLayoutInterceptor->___callParent('renderNonCached...', Array)
#78 /srv/magento/vendor/mage2pro/core/Framework/Plugin/View/Layout.php(166): MagentoFrameworkViewLayoutInterceptor->MagentoFrameworkInterception{closure}('page.wrapper')
#79 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(135): DfFrameworkPluginViewLayout->aroundRenderNonCachedElement(Object(MagentoFrameworkViewLayoutInterceptor), Object(Closure), 'page.wrapper')
#80 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(153): MagentoFrameworkViewLayoutInterceptor->MagentoFrameworkInterception{closure}('page.wrapper')
#81 /srv/magento/generated/code/Magento/Framework/View/Layout/Interceptor.php(39): MagentoFrameworkViewLayoutInterceptor->___callPlugins('renderNonCached...', Array, NULL)
#82 /srv/magento/vendor/magento/framework/View/Layout.php(489): MagentoFrameworkViewLayoutInterceptor->renderNonCachedElement('page.wrapper')
#83 /srv/magento/vendor/magento/framework/View/Layout.php(585): MagentoFrameworkViewLayout->renderElement('page.wrapper')
#84 /srv/magento/vendor/magento/framework/View/Layout.php(536): MagentoFrameworkViewLayout->_renderContainer('root')
#85 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(58): MagentoFrameworkViewLayout->renderNonCachedElement('root')
#86 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(138): MagentoFrameworkViewLayoutInterceptor->___callParent('renderNonCached...', Array)
#87 /srv/magento/vendor/mage2pro/core/Framework/Plugin/View/Layout.php(166): MagentoFrameworkViewLayoutInterceptor->MagentoFrameworkInterception{closure}('root')
#88 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(135): DfFrameworkPluginViewLayout->aroundRenderNonCachedElement(Object(MagentoFrameworkViewLayoutInterceptor), Object(Closure), 'root')
#89 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(153): MagentoFrameworkViewLayoutInterceptor->MagentoFrameworkInterception{closure}('root')
#90 /srv/magento/generated/code/Magento/Framework/View/Layout/Interceptor.php(39): MagentoFrameworkViewLayoutInterceptor->___callPlugins('renderNonCached...', Array, NULL)
#91 /srv/magento/vendor/magento/framework/View/Layout.php(489): MagentoFrameworkViewLayoutInterceptor->renderNonCachedElement('root')
#92 /srv/magento/vendor/magento/framework/View/Layout.php(954): MagentoFrameworkViewLayout->renderElement('root')
#93 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(58): MagentoFrameworkViewLayout->getOutput()
#94 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(138): MagentoFrameworkViewLayoutInterceptor->___callParent('getOutput', Array)
#95 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(153): MagentoFrameworkViewLayoutInterceptor->MagentoFrameworkInterception{closure}()
#96 /srv/magento/generated/code/Magento/Framework/View/Layout/Interceptor.php(52): MagentoFrameworkViewLayoutInterceptor->___callPlugins('getOutput', Array, Array)
#97 /srv/magento/vendor/magento/framework/View/Result/Page.php(257): MagentoFrameworkViewLayoutInterceptor->getOutput()
#98 /srv/magento/vendor/magento/framework/View/Result/Layout.php(170): MagentoFrameworkViewResultPage->render(Object(MagentoFrameworkAppResponseHttpInterceptor))
#99 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(58): MagentoFrameworkViewResultLayout->renderResult(Object(MagentoFrameworkAppResponseHttpInterceptor))
#100 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(138): MagentoFrameworkViewResultPageInterceptor->___callParent('renderResult', Array)
#101 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(153): MagentoFrameworkViewResultPageInterceptor->MagentoFrameworkInterception{closure}(Object(MagentoFrameworkAppResponseHttpInterceptor))
#102 /srv/magento/generated/code/Magento/Framework/View/Result/Page/Interceptor.php(26): MagentoFrameworkViewResultPageInterceptor->___callPlugins('renderResult', Array, Array)
#103 /srv/magento/vendor/magento/framework/App/Http.php(139): MagentoFrameworkViewResultPageInterceptor->renderResult(Object(MagentoFrameworkAppResponseHttpInterceptor))
#104 /srv/magento/vendor/magento/framework/App/Bootstrap.php(256): MagentoFrameworkAppHttp->launch()
#105 /srv/magento/index.php(39): MagentoFrameworkAppBootstrap->run(Object(MagentoFrameworkAppHttpInterceptor))
#106 {main}


Can I just create an override theme template in my custom code that is empty with the same filename? Or is there a better way to address crap-code like this?



Presumably, when we are finished changing over and completely styling a custom theme, it will no longer be an issue as we can convert the whole site's default to the new theme. But that's going to be a lengthy process and I would prefer to do it gradually, migrating content off one piece at a time then thoroughly testing the site again after removing the old theme dependencies to make sure everything still works when finished.










share|improve this question























  • I think you're getting this error on product detail page, it would be helpful if you can post theme's catalog_product_view.xml or the xml related to the page where you're getting the error.

    – Vivek Kumar
    5 hours ago











  • If cleversoft has a custom module for its admin configuration try to start on disabling it before doing a theme switch.

    – magefms
    4 hours ago














0












0








0








We've had endless headaches with a theme we purchased when we first launched our site so we are trying to finally migrate away from it, but it's not letting go easily.



Whenever I am trying to begin with the products, switching them off the default theme. But when I switch it off the Cleversoft Novetty and try to use something like Magento Blank or Magento Luma, Cleversoft is still throwing errors.



Can anyone point me in the right direction on how I can quick-fix something like this?



The current error I'm getting seems to be something injected in the page header, but I'm not entirely certain why it's throwing an error as I would assume it could still find what it needs in the theme files. (some dependency in sub/page theme content through bad compartmentalizing of code?)



The error I get when I switch a product to blank is:



1 exception(s):
Exception #0 (MagentoFrameworkExceptionValidatorException): Invalid template file: 'Magento_Customer::account/link/authorization_mobile.phtml' in module: 'CleverSoft_Base' block's name: 'authorization-link-mobile'

Exception #0 (MagentoFrameworkExceptionValidatorException): Invalid template file: 'Magento_Customer::account/link/authorization_mobile.phtml' in module: 'CleverSoft_Base' block's name: 'authorization-link-mobile'
#0 /srv/magento/vendor/magento/framework/View/Element/Template.php(300): MagentoFrameworkViewElementTemplate->fetchView(false)
#1 /srv/magento/vendor/magento/framework/View/Element/Html/Link.php(101): MagentoFrameworkViewElementTemplate->_toHtml()
#2 /srv/magento/vendor/magento/framework/View/Element/AbstractBlock.php(667): MagentoFrameworkViewElementHtmlLink->_toHtml()
#3 /srv/magento/vendor/magento/framework/View/Layout.php(558): MagentoFrameworkViewElementAbstractBlock->toHtml()
#4 /srv/magento/vendor/magento/framework/View/Layout.php(534): MagentoFrameworkViewLayout->_renderBlock('authorization-l...')
#5 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(58): MagentoFrameworkViewLayout->renderNonCachedElement('authorization-l...')
#6 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(138): MagentoFrameworkViewLayoutInterceptor->___callParent('renderNonCached...', Array)
#7 /srv/magento/vendor/mage2pro/core/Framework/Plugin/View/Layout.php(166): MagentoFrameworkViewLayoutInterceptor->MagentoFrameworkInterception{closure}('authorization-l...')
#8 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(135): DfFrameworkPluginViewLayout->aroundRenderNonCachedElement(Object(MagentoFrameworkViewLayoutInterceptor), Object(Closure), 'authorization-l...')
#9 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(153): MagentoFrameworkViewLayoutInterceptor->MagentoFrameworkInterception{closure}('authorization-l...')
#10 /srv/magento/generated/code/Magento/Framework/View/Layout/Interceptor.php(39): MagentoFrameworkViewLayoutInterceptor->___callPlugins('renderNonCached...', Array, NULL)
#11 /srv/magento/vendor/magento/framework/View/Layout.php(489): MagentoFrameworkViewLayoutInterceptor->renderNonCachedElement('authorization-l...')
#12 /srv/magento/vendor/magento/framework/View/Element/Html/Links.php(62): MagentoFrameworkViewLayout->renderElement('authorization-l...')
#13 /srv/magento/vendor/magento/framework/View/Element/Html/Links.php(82): MagentoFrameworkViewElementHtmlLinks->renderLink(Object(CleverSoftBaseBlockAuthorizationLinkInterceptor))
#14 /srv/magento/vendor/magento/framework/View/Element/AbstractBlock.php(667): MagentoFrameworkViewElementHtmlLinks->_toHtml()
#15 /srv/magento/vendor/magento/framework/View/Layout.php(558): MagentoFrameworkViewElementAbstractBlock->toHtml()
#16 /srv/magento/vendor/magento/framework/View/Layout.php(534): MagentoFrameworkViewLayout->_renderBlock('header.links.mo...')
#17 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(58): MagentoFrameworkViewLayout->renderNonCachedElement('header.links.mo...')
#18 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(138): MagentoFrameworkViewLayoutInterceptor->___callParent('renderNonCached...', Array)
#19 /srv/magento/vendor/mage2pro/core/Framework/Plugin/View/Layout.php(166): MagentoFrameworkViewLayoutInterceptor->MagentoFrameworkInterception{closure}('header.links.mo...')
#20 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(135): DfFrameworkPluginViewLayout->aroundRenderNonCachedElement(Object(MagentoFrameworkViewLayoutInterceptor), Object(Closure), 'header.links.mo...')
#21 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(153): MagentoFrameworkViewLayoutInterceptor->MagentoFrameworkInterception{closure}('header.links.mo...')
#22 /srv/magento/generated/code/Magento/Framework/View/Layout/Interceptor.php(39): MagentoFrameworkViewLayoutInterceptor->___callPlugins('renderNonCached...', Array, NULL)
#23 /srv/magento/vendor/magento/framework/View/Layout.php(489): MagentoFrameworkViewLayoutInterceptor->renderNonCachedElement('header.links.mo...')
#24 /srv/magento/vendor/magento/framework/View/Element/AbstractBlock.php(511): MagentoFrameworkViewLayout->renderElement('header.links.mo...', true)
#25 /srv/magento/vendor/magento/module-theme/view/frontend/templates/html/container.phtml(10): MagentoFrameworkViewElementAbstractBlock->getChildHtml()
#26 /srv/magento/vendor/magento/framework/View/TemplateEngine/Php.php(59): include('/srv/magento/ve...')
#27 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(58): MagentoFrameworkViewTemplateEnginePhp->render(Object(MagentoFrameworkViewElementTemplateInterceptor), '/srv/magento/ve...', Array)
#28 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(138): MagentoFrameworkViewTemplateEnginePhpInterceptor->___callParent('render', Array)
#29 /srv/magento/vendor/mage2pro/core/Framework/Plugin/View/TemplateEngineInterface.php(21): MagentoFrameworkViewTemplateEnginePhpInterceptor->MagentoFrameworkInterception{closure}(Object(MagentoFrameworkViewElementTemplateInterceptor), '/srv/magento/ve...', Array)
#30 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(135): DfFrameworkPluginViewTemplateEngineInterface->aroundRender(Object(MagentoFrameworkViewTemplateEnginePhpInterceptor), Object(Closure), Object(MagentoFrameworkViewElementTemplateInterceptor), '/srv/magento/ve...', Array)
#31 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(153): MagentoFrameworkViewTemplateEnginePhpInterceptor->MagentoFrameworkInterception{closure}(Object(MagentoFrameworkViewElementTemplateInterceptor), '/srv/magento/ve...', Array)
#32 /srv/magento/generated/code/Magento/Framework/View/TemplateEngine/Php/Interceptor.php(26): MagentoFrameworkViewTemplateEnginePhpInterceptor->___callPlugins('render', Array, NULL)
#33 /srv/magento/vendor/magento/framework/View/Element/Template.php(270): MagentoFrameworkViewTemplateEnginePhpInterceptor->render(Object(MagentoFrameworkViewElementTemplateInterceptor), '/srv/magento/ve...', Array)
#34 /srv/magento/vendor/magento/framework/View/Element/Template.php(300): MagentoFrameworkViewElementTemplate->fetchView('/srv/magento/ve...')
#35 /srv/magento/vendor/magento/framework/View/Element/AbstractBlock.php(667): MagentoFrameworkViewElementTemplate->_toHtml()
#36 /srv/magento/vendor/magento/framework/View/Layout.php(558): MagentoFrameworkViewElementAbstractBlock->toHtml()
#37 /srv/magento/vendor/magento/framework/View/Layout.php(534): MagentoFrameworkViewLayout->_renderBlock('store.menu')
#38 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(58): MagentoFrameworkViewLayout->renderNonCachedElement('store.menu')
#39 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(138): MagentoFrameworkViewLayoutInterceptor->___callParent('renderNonCached...', Array)
#40 /srv/magento/vendor/mage2pro/core/Framework/Plugin/View/Layout.php(166): MagentoFrameworkViewLayoutInterceptor->MagentoFrameworkInterception{closure}('store.menu')
#41 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(135): DfFrameworkPluginViewLayout->aroundRenderNonCachedElement(Object(MagentoFrameworkViewLayoutInterceptor), Object(Closure), 'store.menu')
#42 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(153): MagentoFrameworkViewLayoutInterceptor->MagentoFrameworkInterception{closure}('store.menu')
#43 /srv/magento/generated/code/Magento/Framework/View/Layout/Interceptor.php(39): MagentoFrameworkViewLayoutInterceptor->___callPlugins('renderNonCached...', Array, NULL)
#44 /srv/magento/vendor/magento/framework/View/Layout.php(489): MagentoFrameworkViewLayoutInterceptor->renderNonCachedElement('store.menu')
#45 /srv/magento/vendor/magento/module-theme/view/frontend/templates/html/sections.phtml(26): MagentoFrameworkViewLayout->renderElement('store.menu')
#46 /srv/magento/vendor/magento/framework/View/TemplateEngine/Php.php(59): include('/srv/magento/ve...')
#47 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(58): MagentoFrameworkViewTemplateEnginePhp->render(Object(MagentoFrameworkViewElementTemplateInterceptor), '/srv/magento/ve...', Array)
#48 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(138): MagentoFrameworkViewTemplateEnginePhpInterceptor->___callParent('render', Array)
#49 /srv/magento/vendor/mage2pro/core/Framework/Plugin/View/TemplateEngineInterface.php(21): MagentoFrameworkViewTemplateEnginePhpInterceptor->MagentoFrameworkInterception{closure}(Object(MagentoFrameworkViewElementTemplateInterceptor), '/srv/magento/ve...', Array)
#50 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(135): DfFrameworkPluginViewTemplateEngineInterface->aroundRender(Object(MagentoFrameworkViewTemplateEnginePhpInterceptor), Object(Closure), Object(MagentoFrameworkViewElementTemplateInterceptor), '/srv/magento/ve...', Array)
#51 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(153): MagentoFrameworkViewTemplateEnginePhpInterceptor->MagentoFrameworkInterception{closure}(Object(MagentoFrameworkViewElementTemplateInterceptor), '/srv/magento/ve...', Array)
#52 /srv/magento/generated/code/Magento/Framework/View/TemplateEngine/Php/Interceptor.php(26): MagentoFrameworkViewTemplateEnginePhpInterceptor->___callPlugins('render', Array, NULL)
#53 /srv/magento/vendor/magento/framework/View/Element/Template.php(270): MagentoFrameworkViewTemplateEnginePhpInterceptor->render(Object(MagentoFrameworkViewElementTemplateInterceptor), '/srv/magento/ve...', Array)
#54 /srv/magento/vendor/magento/framework/View/Element/Template.php(300): MagentoFrameworkViewElementTemplate->fetchView('/srv/magento/ve...')
#55 /srv/magento/vendor/magento/framework/View/Element/AbstractBlock.php(667): MagentoFrameworkViewElementTemplate->_toHtml()
#56 /srv/magento/vendor/magento/framework/View/Layout.php(558): MagentoFrameworkViewElementAbstractBlock->toHtml()
#57 /srv/magento/vendor/magento/framework/View/Layout.php(534): MagentoFrameworkViewLayout->_renderBlock('navigation.sect...')
#58 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(58): MagentoFrameworkViewLayout->renderNonCachedElement('navigation.sect...')
#59 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(138): MagentoFrameworkViewLayoutInterceptor->___callParent('renderNonCached...', Array)
#60 /srv/magento/vendor/mage2pro/core/Framework/Plugin/View/Layout.php(166): MagentoFrameworkViewLayoutInterceptor->MagentoFrameworkInterception{closure}('navigation.sect...')
#61 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(135): DfFrameworkPluginViewLayout->aroundRenderNonCachedElement(Object(MagentoFrameworkViewLayoutInterceptor), Object(Closure), 'navigation.sect...')
#62 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(153): MagentoFrameworkViewLayoutInterceptor->MagentoFrameworkInterception{closure}('navigation.sect...')
#63 /srv/magento/generated/code/Magento/Framework/View/Layout/Interceptor.php(39): MagentoFrameworkViewLayoutInterceptor->___callPlugins('renderNonCached...', Array, NULL)
#64 /srv/magento/vendor/magento/framework/View/Layout.php(489): MagentoFrameworkViewLayoutInterceptor->renderNonCachedElement('navigation.sect...')
#65 /srv/magento/vendor/magento/framework/View/Layout.php(585): MagentoFrameworkViewLayout->renderElement('navigation.sect...')
#66 /srv/magento/vendor/magento/framework/View/Layout.php(536): MagentoFrameworkViewLayout->_renderContainer('page.top')
#67 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(58): MagentoFrameworkViewLayout->renderNonCachedElement('page.top')
#68 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(138): MagentoFrameworkViewLayoutInterceptor->___callParent('renderNonCached...', Array)
#69 /srv/magento/vendor/mage2pro/core/Framework/Plugin/View/Layout.php(166): MagentoFrameworkViewLayoutInterceptor->MagentoFrameworkInterception{closure}('page.top')
#70 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(135): DfFrameworkPluginViewLayout->aroundRenderNonCachedElement(Object(MagentoFrameworkViewLayoutInterceptor), Object(Closure), 'page.top')
#71 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(153): MagentoFrameworkViewLayoutInterceptor->MagentoFrameworkInterception{closure}('page.top')
#72 /srv/magento/generated/code/Magento/Framework/View/Layout/Interceptor.php(39): MagentoFrameworkViewLayoutInterceptor->___callPlugins('renderNonCached...', Array, NULL)
#73 /srv/magento/vendor/magento/framework/View/Layout.php(489): MagentoFrameworkViewLayoutInterceptor->renderNonCachedElement('page.top')
#74 /srv/magento/vendor/magento/framework/View/Layout.php(585): MagentoFrameworkViewLayout->renderElement('page.top')
#75 /srv/magento/vendor/magento/framework/View/Layout.php(536): MagentoFrameworkViewLayout->_renderContainer('page.wrapper')
#76 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(58): MagentoFrameworkViewLayout->renderNonCachedElement('page.wrapper')
#77 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(138): MagentoFrameworkViewLayoutInterceptor->___callParent('renderNonCached...', Array)
#78 /srv/magento/vendor/mage2pro/core/Framework/Plugin/View/Layout.php(166): MagentoFrameworkViewLayoutInterceptor->MagentoFrameworkInterception{closure}('page.wrapper')
#79 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(135): DfFrameworkPluginViewLayout->aroundRenderNonCachedElement(Object(MagentoFrameworkViewLayoutInterceptor), Object(Closure), 'page.wrapper')
#80 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(153): MagentoFrameworkViewLayoutInterceptor->MagentoFrameworkInterception{closure}('page.wrapper')
#81 /srv/magento/generated/code/Magento/Framework/View/Layout/Interceptor.php(39): MagentoFrameworkViewLayoutInterceptor->___callPlugins('renderNonCached...', Array, NULL)
#82 /srv/magento/vendor/magento/framework/View/Layout.php(489): MagentoFrameworkViewLayoutInterceptor->renderNonCachedElement('page.wrapper')
#83 /srv/magento/vendor/magento/framework/View/Layout.php(585): MagentoFrameworkViewLayout->renderElement('page.wrapper')
#84 /srv/magento/vendor/magento/framework/View/Layout.php(536): MagentoFrameworkViewLayout->_renderContainer('root')
#85 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(58): MagentoFrameworkViewLayout->renderNonCachedElement('root')
#86 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(138): MagentoFrameworkViewLayoutInterceptor->___callParent('renderNonCached...', Array)
#87 /srv/magento/vendor/mage2pro/core/Framework/Plugin/View/Layout.php(166): MagentoFrameworkViewLayoutInterceptor->MagentoFrameworkInterception{closure}('root')
#88 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(135): DfFrameworkPluginViewLayout->aroundRenderNonCachedElement(Object(MagentoFrameworkViewLayoutInterceptor), Object(Closure), 'root')
#89 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(153): MagentoFrameworkViewLayoutInterceptor->MagentoFrameworkInterception{closure}('root')
#90 /srv/magento/generated/code/Magento/Framework/View/Layout/Interceptor.php(39): MagentoFrameworkViewLayoutInterceptor->___callPlugins('renderNonCached...', Array, NULL)
#91 /srv/magento/vendor/magento/framework/View/Layout.php(489): MagentoFrameworkViewLayoutInterceptor->renderNonCachedElement('root')
#92 /srv/magento/vendor/magento/framework/View/Layout.php(954): MagentoFrameworkViewLayout->renderElement('root')
#93 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(58): MagentoFrameworkViewLayout->getOutput()
#94 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(138): MagentoFrameworkViewLayoutInterceptor->___callParent('getOutput', Array)
#95 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(153): MagentoFrameworkViewLayoutInterceptor->MagentoFrameworkInterception{closure}()
#96 /srv/magento/generated/code/Magento/Framework/View/Layout/Interceptor.php(52): MagentoFrameworkViewLayoutInterceptor->___callPlugins('getOutput', Array, Array)
#97 /srv/magento/vendor/magento/framework/View/Result/Page.php(257): MagentoFrameworkViewLayoutInterceptor->getOutput()
#98 /srv/magento/vendor/magento/framework/View/Result/Layout.php(170): MagentoFrameworkViewResultPage->render(Object(MagentoFrameworkAppResponseHttpInterceptor))
#99 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(58): MagentoFrameworkViewResultLayout->renderResult(Object(MagentoFrameworkAppResponseHttpInterceptor))
#100 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(138): MagentoFrameworkViewResultPageInterceptor->___callParent('renderResult', Array)
#101 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(153): MagentoFrameworkViewResultPageInterceptor->MagentoFrameworkInterception{closure}(Object(MagentoFrameworkAppResponseHttpInterceptor))
#102 /srv/magento/generated/code/Magento/Framework/View/Result/Page/Interceptor.php(26): MagentoFrameworkViewResultPageInterceptor->___callPlugins('renderResult', Array, Array)
#103 /srv/magento/vendor/magento/framework/App/Http.php(139): MagentoFrameworkViewResultPageInterceptor->renderResult(Object(MagentoFrameworkAppResponseHttpInterceptor))
#104 /srv/magento/vendor/magento/framework/App/Bootstrap.php(256): MagentoFrameworkAppHttp->launch()
#105 /srv/magento/index.php(39): MagentoFrameworkAppBootstrap->run(Object(MagentoFrameworkAppHttpInterceptor))
#106 {main}


Can I just create an override theme template in my custom code that is empty with the same filename? Or is there a better way to address crap-code like this?



Presumably, when we are finished changing over and completely styling a custom theme, it will no longer be an issue as we can convert the whole site's default to the new theme. But that's going to be a lengthy process and I would prefer to do it gradually, migrating content off one piece at a time then thoroughly testing the site again after removing the old theme dependencies to make sure everything still works when finished.










share|improve this question














We've had endless headaches with a theme we purchased when we first launched our site so we are trying to finally migrate away from it, but it's not letting go easily.



Whenever I am trying to begin with the products, switching them off the default theme. But when I switch it off the Cleversoft Novetty and try to use something like Magento Blank or Magento Luma, Cleversoft is still throwing errors.



Can anyone point me in the right direction on how I can quick-fix something like this?



The current error I'm getting seems to be something injected in the page header, but I'm not entirely certain why it's throwing an error as I would assume it could still find what it needs in the theme files. (some dependency in sub/page theme content through bad compartmentalizing of code?)



The error I get when I switch a product to blank is:



1 exception(s):
Exception #0 (MagentoFrameworkExceptionValidatorException): Invalid template file: 'Magento_Customer::account/link/authorization_mobile.phtml' in module: 'CleverSoft_Base' block's name: 'authorization-link-mobile'

Exception #0 (MagentoFrameworkExceptionValidatorException): Invalid template file: 'Magento_Customer::account/link/authorization_mobile.phtml' in module: 'CleverSoft_Base' block's name: 'authorization-link-mobile'
#0 /srv/magento/vendor/magento/framework/View/Element/Template.php(300): MagentoFrameworkViewElementTemplate->fetchView(false)
#1 /srv/magento/vendor/magento/framework/View/Element/Html/Link.php(101): MagentoFrameworkViewElementTemplate->_toHtml()
#2 /srv/magento/vendor/magento/framework/View/Element/AbstractBlock.php(667): MagentoFrameworkViewElementHtmlLink->_toHtml()
#3 /srv/magento/vendor/magento/framework/View/Layout.php(558): MagentoFrameworkViewElementAbstractBlock->toHtml()
#4 /srv/magento/vendor/magento/framework/View/Layout.php(534): MagentoFrameworkViewLayout->_renderBlock('authorization-l...')
#5 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(58): MagentoFrameworkViewLayout->renderNonCachedElement('authorization-l...')
#6 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(138): MagentoFrameworkViewLayoutInterceptor->___callParent('renderNonCached...', Array)
#7 /srv/magento/vendor/mage2pro/core/Framework/Plugin/View/Layout.php(166): MagentoFrameworkViewLayoutInterceptor->MagentoFrameworkInterception{closure}('authorization-l...')
#8 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(135): DfFrameworkPluginViewLayout->aroundRenderNonCachedElement(Object(MagentoFrameworkViewLayoutInterceptor), Object(Closure), 'authorization-l...')
#9 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(153): MagentoFrameworkViewLayoutInterceptor->MagentoFrameworkInterception{closure}('authorization-l...')
#10 /srv/magento/generated/code/Magento/Framework/View/Layout/Interceptor.php(39): MagentoFrameworkViewLayoutInterceptor->___callPlugins('renderNonCached...', Array, NULL)
#11 /srv/magento/vendor/magento/framework/View/Layout.php(489): MagentoFrameworkViewLayoutInterceptor->renderNonCachedElement('authorization-l...')
#12 /srv/magento/vendor/magento/framework/View/Element/Html/Links.php(62): MagentoFrameworkViewLayout->renderElement('authorization-l...')
#13 /srv/magento/vendor/magento/framework/View/Element/Html/Links.php(82): MagentoFrameworkViewElementHtmlLinks->renderLink(Object(CleverSoftBaseBlockAuthorizationLinkInterceptor))
#14 /srv/magento/vendor/magento/framework/View/Element/AbstractBlock.php(667): MagentoFrameworkViewElementHtmlLinks->_toHtml()
#15 /srv/magento/vendor/magento/framework/View/Layout.php(558): MagentoFrameworkViewElementAbstractBlock->toHtml()
#16 /srv/magento/vendor/magento/framework/View/Layout.php(534): MagentoFrameworkViewLayout->_renderBlock('header.links.mo...')
#17 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(58): MagentoFrameworkViewLayout->renderNonCachedElement('header.links.mo...')
#18 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(138): MagentoFrameworkViewLayoutInterceptor->___callParent('renderNonCached...', Array)
#19 /srv/magento/vendor/mage2pro/core/Framework/Plugin/View/Layout.php(166): MagentoFrameworkViewLayoutInterceptor->MagentoFrameworkInterception{closure}('header.links.mo...')
#20 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(135): DfFrameworkPluginViewLayout->aroundRenderNonCachedElement(Object(MagentoFrameworkViewLayoutInterceptor), Object(Closure), 'header.links.mo...')
#21 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(153): MagentoFrameworkViewLayoutInterceptor->MagentoFrameworkInterception{closure}('header.links.mo...')
#22 /srv/magento/generated/code/Magento/Framework/View/Layout/Interceptor.php(39): MagentoFrameworkViewLayoutInterceptor->___callPlugins('renderNonCached...', Array, NULL)
#23 /srv/magento/vendor/magento/framework/View/Layout.php(489): MagentoFrameworkViewLayoutInterceptor->renderNonCachedElement('header.links.mo...')
#24 /srv/magento/vendor/magento/framework/View/Element/AbstractBlock.php(511): MagentoFrameworkViewLayout->renderElement('header.links.mo...', true)
#25 /srv/magento/vendor/magento/module-theme/view/frontend/templates/html/container.phtml(10): MagentoFrameworkViewElementAbstractBlock->getChildHtml()
#26 /srv/magento/vendor/magento/framework/View/TemplateEngine/Php.php(59): include('/srv/magento/ve...')
#27 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(58): MagentoFrameworkViewTemplateEnginePhp->render(Object(MagentoFrameworkViewElementTemplateInterceptor), '/srv/magento/ve...', Array)
#28 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(138): MagentoFrameworkViewTemplateEnginePhpInterceptor->___callParent('render', Array)
#29 /srv/magento/vendor/mage2pro/core/Framework/Plugin/View/TemplateEngineInterface.php(21): MagentoFrameworkViewTemplateEnginePhpInterceptor->MagentoFrameworkInterception{closure}(Object(MagentoFrameworkViewElementTemplateInterceptor), '/srv/magento/ve...', Array)
#30 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(135): DfFrameworkPluginViewTemplateEngineInterface->aroundRender(Object(MagentoFrameworkViewTemplateEnginePhpInterceptor), Object(Closure), Object(MagentoFrameworkViewElementTemplateInterceptor), '/srv/magento/ve...', Array)
#31 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(153): MagentoFrameworkViewTemplateEnginePhpInterceptor->MagentoFrameworkInterception{closure}(Object(MagentoFrameworkViewElementTemplateInterceptor), '/srv/magento/ve...', Array)
#32 /srv/magento/generated/code/Magento/Framework/View/TemplateEngine/Php/Interceptor.php(26): MagentoFrameworkViewTemplateEnginePhpInterceptor->___callPlugins('render', Array, NULL)
#33 /srv/magento/vendor/magento/framework/View/Element/Template.php(270): MagentoFrameworkViewTemplateEnginePhpInterceptor->render(Object(MagentoFrameworkViewElementTemplateInterceptor), '/srv/magento/ve...', Array)
#34 /srv/magento/vendor/magento/framework/View/Element/Template.php(300): MagentoFrameworkViewElementTemplate->fetchView('/srv/magento/ve...')
#35 /srv/magento/vendor/magento/framework/View/Element/AbstractBlock.php(667): MagentoFrameworkViewElementTemplate->_toHtml()
#36 /srv/magento/vendor/magento/framework/View/Layout.php(558): MagentoFrameworkViewElementAbstractBlock->toHtml()
#37 /srv/magento/vendor/magento/framework/View/Layout.php(534): MagentoFrameworkViewLayout->_renderBlock('store.menu')
#38 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(58): MagentoFrameworkViewLayout->renderNonCachedElement('store.menu')
#39 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(138): MagentoFrameworkViewLayoutInterceptor->___callParent('renderNonCached...', Array)
#40 /srv/magento/vendor/mage2pro/core/Framework/Plugin/View/Layout.php(166): MagentoFrameworkViewLayoutInterceptor->MagentoFrameworkInterception{closure}('store.menu')
#41 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(135): DfFrameworkPluginViewLayout->aroundRenderNonCachedElement(Object(MagentoFrameworkViewLayoutInterceptor), Object(Closure), 'store.menu')
#42 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(153): MagentoFrameworkViewLayoutInterceptor->MagentoFrameworkInterception{closure}('store.menu')
#43 /srv/magento/generated/code/Magento/Framework/View/Layout/Interceptor.php(39): MagentoFrameworkViewLayoutInterceptor->___callPlugins('renderNonCached...', Array, NULL)
#44 /srv/magento/vendor/magento/framework/View/Layout.php(489): MagentoFrameworkViewLayoutInterceptor->renderNonCachedElement('store.menu')
#45 /srv/magento/vendor/magento/module-theme/view/frontend/templates/html/sections.phtml(26): MagentoFrameworkViewLayout->renderElement('store.menu')
#46 /srv/magento/vendor/magento/framework/View/TemplateEngine/Php.php(59): include('/srv/magento/ve...')
#47 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(58): MagentoFrameworkViewTemplateEnginePhp->render(Object(MagentoFrameworkViewElementTemplateInterceptor), '/srv/magento/ve...', Array)
#48 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(138): MagentoFrameworkViewTemplateEnginePhpInterceptor->___callParent('render', Array)
#49 /srv/magento/vendor/mage2pro/core/Framework/Plugin/View/TemplateEngineInterface.php(21): MagentoFrameworkViewTemplateEnginePhpInterceptor->MagentoFrameworkInterception{closure}(Object(MagentoFrameworkViewElementTemplateInterceptor), '/srv/magento/ve...', Array)
#50 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(135): DfFrameworkPluginViewTemplateEngineInterface->aroundRender(Object(MagentoFrameworkViewTemplateEnginePhpInterceptor), Object(Closure), Object(MagentoFrameworkViewElementTemplateInterceptor), '/srv/magento/ve...', Array)
#51 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(153): MagentoFrameworkViewTemplateEnginePhpInterceptor->MagentoFrameworkInterception{closure}(Object(MagentoFrameworkViewElementTemplateInterceptor), '/srv/magento/ve...', Array)
#52 /srv/magento/generated/code/Magento/Framework/View/TemplateEngine/Php/Interceptor.php(26): MagentoFrameworkViewTemplateEnginePhpInterceptor->___callPlugins('render', Array, NULL)
#53 /srv/magento/vendor/magento/framework/View/Element/Template.php(270): MagentoFrameworkViewTemplateEnginePhpInterceptor->render(Object(MagentoFrameworkViewElementTemplateInterceptor), '/srv/magento/ve...', Array)
#54 /srv/magento/vendor/magento/framework/View/Element/Template.php(300): MagentoFrameworkViewElementTemplate->fetchView('/srv/magento/ve...')
#55 /srv/magento/vendor/magento/framework/View/Element/AbstractBlock.php(667): MagentoFrameworkViewElementTemplate->_toHtml()
#56 /srv/magento/vendor/magento/framework/View/Layout.php(558): MagentoFrameworkViewElementAbstractBlock->toHtml()
#57 /srv/magento/vendor/magento/framework/View/Layout.php(534): MagentoFrameworkViewLayout->_renderBlock('navigation.sect...')
#58 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(58): MagentoFrameworkViewLayout->renderNonCachedElement('navigation.sect...')
#59 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(138): MagentoFrameworkViewLayoutInterceptor->___callParent('renderNonCached...', Array)
#60 /srv/magento/vendor/mage2pro/core/Framework/Plugin/View/Layout.php(166): MagentoFrameworkViewLayoutInterceptor->MagentoFrameworkInterception{closure}('navigation.sect...')
#61 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(135): DfFrameworkPluginViewLayout->aroundRenderNonCachedElement(Object(MagentoFrameworkViewLayoutInterceptor), Object(Closure), 'navigation.sect...')
#62 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(153): MagentoFrameworkViewLayoutInterceptor->MagentoFrameworkInterception{closure}('navigation.sect...')
#63 /srv/magento/generated/code/Magento/Framework/View/Layout/Interceptor.php(39): MagentoFrameworkViewLayoutInterceptor->___callPlugins('renderNonCached...', Array, NULL)
#64 /srv/magento/vendor/magento/framework/View/Layout.php(489): MagentoFrameworkViewLayoutInterceptor->renderNonCachedElement('navigation.sect...')
#65 /srv/magento/vendor/magento/framework/View/Layout.php(585): MagentoFrameworkViewLayout->renderElement('navigation.sect...')
#66 /srv/magento/vendor/magento/framework/View/Layout.php(536): MagentoFrameworkViewLayout->_renderContainer('page.top')
#67 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(58): MagentoFrameworkViewLayout->renderNonCachedElement('page.top')
#68 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(138): MagentoFrameworkViewLayoutInterceptor->___callParent('renderNonCached...', Array)
#69 /srv/magento/vendor/mage2pro/core/Framework/Plugin/View/Layout.php(166): MagentoFrameworkViewLayoutInterceptor->MagentoFrameworkInterception{closure}('page.top')
#70 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(135): DfFrameworkPluginViewLayout->aroundRenderNonCachedElement(Object(MagentoFrameworkViewLayoutInterceptor), Object(Closure), 'page.top')
#71 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(153): MagentoFrameworkViewLayoutInterceptor->MagentoFrameworkInterception{closure}('page.top')
#72 /srv/magento/generated/code/Magento/Framework/View/Layout/Interceptor.php(39): MagentoFrameworkViewLayoutInterceptor->___callPlugins('renderNonCached...', Array, NULL)
#73 /srv/magento/vendor/magento/framework/View/Layout.php(489): MagentoFrameworkViewLayoutInterceptor->renderNonCachedElement('page.top')
#74 /srv/magento/vendor/magento/framework/View/Layout.php(585): MagentoFrameworkViewLayout->renderElement('page.top')
#75 /srv/magento/vendor/magento/framework/View/Layout.php(536): MagentoFrameworkViewLayout->_renderContainer('page.wrapper')
#76 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(58): MagentoFrameworkViewLayout->renderNonCachedElement('page.wrapper')
#77 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(138): MagentoFrameworkViewLayoutInterceptor->___callParent('renderNonCached...', Array)
#78 /srv/magento/vendor/mage2pro/core/Framework/Plugin/View/Layout.php(166): MagentoFrameworkViewLayoutInterceptor->MagentoFrameworkInterception{closure}('page.wrapper')
#79 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(135): DfFrameworkPluginViewLayout->aroundRenderNonCachedElement(Object(MagentoFrameworkViewLayoutInterceptor), Object(Closure), 'page.wrapper')
#80 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(153): MagentoFrameworkViewLayoutInterceptor->MagentoFrameworkInterception{closure}('page.wrapper')
#81 /srv/magento/generated/code/Magento/Framework/View/Layout/Interceptor.php(39): MagentoFrameworkViewLayoutInterceptor->___callPlugins('renderNonCached...', Array, NULL)
#82 /srv/magento/vendor/magento/framework/View/Layout.php(489): MagentoFrameworkViewLayoutInterceptor->renderNonCachedElement('page.wrapper')
#83 /srv/magento/vendor/magento/framework/View/Layout.php(585): MagentoFrameworkViewLayout->renderElement('page.wrapper')
#84 /srv/magento/vendor/magento/framework/View/Layout.php(536): MagentoFrameworkViewLayout->_renderContainer('root')
#85 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(58): MagentoFrameworkViewLayout->renderNonCachedElement('root')
#86 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(138): MagentoFrameworkViewLayoutInterceptor->___callParent('renderNonCached...', Array)
#87 /srv/magento/vendor/mage2pro/core/Framework/Plugin/View/Layout.php(166): MagentoFrameworkViewLayoutInterceptor->MagentoFrameworkInterception{closure}('root')
#88 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(135): DfFrameworkPluginViewLayout->aroundRenderNonCachedElement(Object(MagentoFrameworkViewLayoutInterceptor), Object(Closure), 'root')
#89 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(153): MagentoFrameworkViewLayoutInterceptor->MagentoFrameworkInterception{closure}('root')
#90 /srv/magento/generated/code/Magento/Framework/View/Layout/Interceptor.php(39): MagentoFrameworkViewLayoutInterceptor->___callPlugins('renderNonCached...', Array, NULL)
#91 /srv/magento/vendor/magento/framework/View/Layout.php(489): MagentoFrameworkViewLayoutInterceptor->renderNonCachedElement('root')
#92 /srv/magento/vendor/magento/framework/View/Layout.php(954): MagentoFrameworkViewLayout->renderElement('root')
#93 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(58): MagentoFrameworkViewLayout->getOutput()
#94 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(138): MagentoFrameworkViewLayoutInterceptor->___callParent('getOutput', Array)
#95 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(153): MagentoFrameworkViewLayoutInterceptor->MagentoFrameworkInterception{closure}()
#96 /srv/magento/generated/code/Magento/Framework/View/Layout/Interceptor.php(52): MagentoFrameworkViewLayoutInterceptor->___callPlugins('getOutput', Array, Array)
#97 /srv/magento/vendor/magento/framework/View/Result/Page.php(257): MagentoFrameworkViewLayoutInterceptor->getOutput()
#98 /srv/magento/vendor/magento/framework/View/Result/Layout.php(170): MagentoFrameworkViewResultPage->render(Object(MagentoFrameworkAppResponseHttpInterceptor))
#99 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(58): MagentoFrameworkViewResultLayout->renderResult(Object(MagentoFrameworkAppResponseHttpInterceptor))
#100 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(138): MagentoFrameworkViewResultPageInterceptor->___callParent('renderResult', Array)
#101 /srv/magento/vendor/magento/framework/Interception/Interceptor.php(153): MagentoFrameworkViewResultPageInterceptor->MagentoFrameworkInterception{closure}(Object(MagentoFrameworkAppResponseHttpInterceptor))
#102 /srv/magento/generated/code/Magento/Framework/View/Result/Page/Interceptor.php(26): MagentoFrameworkViewResultPageInterceptor->___callPlugins('renderResult', Array, Array)
#103 /srv/magento/vendor/magento/framework/App/Http.php(139): MagentoFrameworkViewResultPageInterceptor->renderResult(Object(MagentoFrameworkAppResponseHttpInterceptor))
#104 /srv/magento/vendor/magento/framework/App/Bootstrap.php(256): MagentoFrameworkAppHttp->launch()
#105 /srv/magento/index.php(39): MagentoFrameworkAppBootstrap->run(Object(MagentoFrameworkAppHttpInterceptor))
#106 {main}


Can I just create an override theme template in my custom code that is empty with the same filename? Or is there a better way to address crap-code like this?



Presumably, when we are finished changing over and completely styling a custom theme, it will no longer be an issue as we can convert the whole site's default to the new theme. But that's going to be a lengthy process and I would prefer to do it gradually, migrating content off one piece at a time then thoroughly testing the site again after removing the old theme dependencies to make sure everything still works when finished.







magento2 theme exception dependency






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked 6 hours ago









ScottScott

1689




1689













  • I think you're getting this error on product detail page, it would be helpful if you can post theme's catalog_product_view.xml or the xml related to the page where you're getting the error.

    – Vivek Kumar
    5 hours ago











  • If cleversoft has a custom module for its admin configuration try to start on disabling it before doing a theme switch.

    – magefms
    4 hours ago



















  • I think you're getting this error on product detail page, it would be helpful if you can post theme's catalog_product_view.xml or the xml related to the page where you're getting the error.

    – Vivek Kumar
    5 hours ago











  • If cleversoft has a custom module for its admin configuration try to start on disabling it before doing a theme switch.

    – magefms
    4 hours ago

















I think you're getting this error on product detail page, it would be helpful if you can post theme's catalog_product_view.xml or the xml related to the page where you're getting the error.

– Vivek Kumar
5 hours ago





I think you're getting this error on product detail page, it would be helpful if you can post theme's catalog_product_view.xml or the xml related to the page where you're getting the error.

– Vivek Kumar
5 hours ago













If cleversoft has a custom module for its admin configuration try to start on disabling it before doing a theme switch.

– magefms
4 hours ago





If cleversoft has a custom module for its admin configuration try to start on disabling it before doing a theme switch.

– magefms
4 hours ago










0






active

oldest

votes











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "479"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f261027%2ftrying-to-remove-theme%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Magento Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f261027%2ftrying-to-remove-theme%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Polycentropodidae

Magento 2 Error message: Invalid state change requested

Paulmy