Jump to content

Smarty errors


Recommended Posts

On my site I keep randomly get this error

 

Notice: Undefined index: unifunc in /home/sledirec/public_html/presta/tools/smarty/sysplugins/smarty_internal_templatebase.php on line 281

 

Fatal error: Function name must be a string in /home/sledirec/public_html/presta/tools/smarty/sysplugins/smarty_internal_templatebase.php on line 281

 

Any suggestions, i have checked on line and there are so many suggestions to fix this just do nto know where to start.

 

I have the very latest stable version and running a customer template.

 

Thanks for any help on this

Link to comment
Share on other sites

  • 4 months later...

I was having this exact same issue. I found that when I set the Smarty Cache option to recompile cache as needed, it would return a 500 error on the first page load as it generated the cache. 

On my site I keep randomly get this error

Notice: Undefined index: unifunc in /home/sledirec/public_html/presta/tools/smarty/sysplugins/smarty_internal_templatebase.php on line 281

Fatal error: Function name must be a string in /home/sledirec/public_html/presta/tools/smarty/sysplugins/smarty_internal_templatebase.php on line 281

Any suggestions, i have checked on line and there are so many suggestions to fix this just do nto know where to start.

I have the very latest stable version and running a customer template.

Thanks for any help on this

 

 

The following is a good hint, but there is a more relevant issue in the tracker.

please see the follow, hope it helps

 

http://forge.prestashop.com/browse/PSCFV-4188

 

 

I'm running PS 1.5.3.1 and after searching for quite a while, I found an issue tracker page related to this problem:

http://forge.prestashop.com/browse/PSCFV-10040

 

After modifying my classes/modules/Module.php file to reflect the following commits, the site works perfectly well:

https://github.com/PrestaShop/PrestaShop/commit/242556e176502ec61271a3945e1337917bc88f93

https://github.com/PrestaShop/PrestaShop/commit/ccb3179c1ae04b6bd41d571f0b1f950d6fd49f13

 

I hope that this was helpful to someone, as it took me a while to find this solution.

Link to comment
Share on other sites

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...