guesswhatiforgot Posted February 13, 2019 Share Posted February 13, 2019 After installing Smart Blog v3.0.0 on our prestashop 1.7.4.0 installation with default theme, our front page is now returning an error 500. Every other page is fine. Uninstalling the module and clearing the cache does not clear problem either, and I am unsure what to do after searching the forums for a solution. This is what Debug mode returns, (1/1) SmartyException Source: Missing name in smarty_template_source.php line 167 at Smarty_Template_Source::load(object(SmartyDevTemplate)) in smarty_internal_template.php line 160 at Smarty_Internal_Template->__construct(null, object(SmartyDev), null, null, null, null, null) in Smarty.class.php line 955 at Smarty->createTemplate(null, null, null, object(Smarty_Data)) in Module.php line 2302 at ModuleCore->getCurrentSubTemplate(null, null, null) in Module.php line 2347 at ModuleCore->isCached('modules/smartbloghomelatestnews/views/templates/front/smartblog_latest_news.tpl') in smartbloghomelatestnews.php line 50 at smartbloghomelatestnews->smartbloghomelatestnewsHookDisplayHome(array('cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 2)) in smartbloghomelatestnews.php line 62 at smartbloghomelatestnews->hookDisplayHome(array('cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 2)) in Hook.php line 924 at HookCore::coreCallHook(object(smartbloghomelatestnews), 'hookdisplayHome', array('cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 2)) in Hook.php line 328 at HookCore::callHookOn(object(smartbloghomelatestnews), 'displayHome', array('cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 2)) in Hook.php line 860 at HookCore::exec('displayHome') in IndexController.php line 39 at IndexControllerCore->initContent() in Controller.php line 255 at ControllerCore->run() in Dispatcher.php line 428 at DispatcherCore->dispatch() in index.php line 28 And this is what our server error_log is returning; [Wed Feb 13 14:22:05.417859 2019] [fcgid:warn] [pid 29273:tid 139633732081408] [client 92.8.251.143:37006] mod_fcgid: stderr: PHP Fatal error: Uncaught --> Smarty: Source: Missing name <-- [Wed Feb 13 14:22:05.417891 2019] [fcgid:warn] [pid 29273:tid 139633732081408] [client 92.8.251.143:37006] mod_fcgid: stderr: thrown in /var/www/vhosts/******/******/vendor/smarty/smarty/libs/sysplugins/smarty_template_source.php on line 167 Link to comment Share on other sites More sharing options...
joseantgv Posted February 13, 2019 Share Posted February 13, 2019 If you uninstall module and clear cache should fix the issue, if don't you could rename module folder and clear cache. Force compilation. About the error, please check about smartbloghomelatestnews.php line 50 Link to comment Share on other sites More sharing options...
JBW Posted February 17, 2019 Share Posted February 17, 2019 Smartblog is still hooked to displayHome. Must be something wrong with the uninstallation. Try to unhook it from Design->Positions, but as @joseantgv said make sure you remove all artefacts of this from your server, the files seem to be still there. Link to comment Share on other sites More sharing options...
Mr.Andrew Posted February 21, 2019 Share Posted February 21, 2019 On 2/17/2019 at 9:21 AM, JBW said: Smartblog is still hooked to displayHome. Must be something wrong with the uninstallation. Try to unhook it from Design->Positions, but as @joseantgv said make sure you remove all artefacts of this from your server, the files seem to be still there. Expand maybe your module don't see file: /modules/smartbloghomelatestnews/views/templates/front/smartblog_latest_news.tpl Or /themes/[your-theme]/modules/smartbloghomelatestnews/views/templates/front/smartblog_latest_news.tpl You must sure, this file is exist. And then you open file: smartbloghomelatestnews.php You can try remove all Cache. Link to comment Share on other sites More sharing options...
guesswhatiforgot Posted March 12, 2019 Author Share Posted March 12, 2019 Thanks, clearing the cache and deleting the module folders solved the issue! Thank you! 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