Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

Fatal error: Uncaught --> Smarty: Call of unknown method

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> General
View previous topic :: View next topic  
Author Message
zlo
Smarty n00b


Joined: 27 Aug 2014
Posts: 1

PostPosted: Wed Aug 27, 2014 11:48 am    Post subject: Fatal error: Uncaught --> Smarty: Call of unknown method Reply with quote

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
View user's profile Send private message
U.Tews
Administrator


Joined: 22 Nov 2006
Posts: 5068
Location: Hamburg / Germany

PostPosted: Wed Aug 27, 2014 5:49 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> General All times are GMT
Page 1 of 1

 
Jump to:  
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
Protected by Anti-Spam ACP