Jump to content

Recommended Posts

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites
On 2/17/2019 at 4:21 PM, 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.

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.

Share this post


Link to post
Share on other sites
  • 3 weeks later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More