SettleR Posted September 29, 2020 Share Posted September 29, 2020 Hi, Anyone know how to solve this error i get? in smarty_internal_templatebase.php line 177 at Smarty_Internal_TemplateBase->_execute(null, null, 'layouts/layout-full-width.tpl', null, 0)in smarty_internal_templatebase.php line 116 at Smarty_Internal_TemplateBase->fetch(null, null, 'layouts/layout-full-width.tpl', null, false, true, false)in SmartyDev.php line 40 at SmartyDev->fetch(null, null, 'layouts/layout-full-width.tpl')in FrontController.php line 683 at FrontControllerCore->smartyOutputContent(null)in FrontController.php line 667 at FrontControllerCore->display()in Controller.php line 312 at ControllerCore->run()in Dispatcher.php line 515 at DispatcherCore->dispatch()in index.php line 28 Link to comment Share on other sites More sharing options...
SettleR Posted September 30, 2020 Author Share Posted September 30, 2020 Anyone? Link to comment Share on other sites More sharing options...
SettleR Posted October 5, 2020 Author Share Posted October 5, 2020 I have the default template. Anyone? Link to comment Share on other sites More sharing options...
elementChaosu Posted January 9 Share Posted January 9 if this is an issue in in custom module controller try add this: $this->template = 'module:modulename/views/templates/front/view.tpl'; into controller constructor, and create empty view.tpl on that path. I think this is because when controller is initiated it needs some to have some value for this->template, because display() function in frontController throws exception, when var is empty Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now