|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
zlo Smarty n00b
Joined: 27 Aug 2014 Posts: 1
|
Posted: Wed Aug 27, 2014 11:48 am Post subject: Fatal error: Uncaught --> Smarty: Call of unknown method |
|
|
I upgraded from Prestashop 1.4 to 1.6 using 1_click-upgrade module, and after logging-in again I get this error:
Fatal error: Uncaught --> Smarty: Call of unknown method 'clear_compiled_tpl'. <-- thrown in /---/tools/smarty/sysplugins/smarty_internal_templatebase.php on line 858
Please, can somebody help me? |
|
Back to top |
|
U.Tews Administrator
Joined: 22 Nov 2006 Posts: 5068 Location: Hamburg / Germany
|
Posted: Wed Aug 27, 2014 5:49 pm Post subject: |
|
|
It looks like that Prestashop 1.6 is now unsing Smarty 3 instead of Smarty 2.
In Smarty 3 some function name of the API have changed.
clear_compiled_tpl() is now clearCompiledTemplate()
Check the Smarty 3 README file or documentation for the new API.
The old Smarty 2 API can also be made available by instancing the SmartyBC class (SmartyBC.class.php) instead of the Smarty class. |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|