Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.

Smarty: undefined extension class

 
Post new topic   Reply to topic    Smarty Forum Index -> General
View previous topic :: View next topic  
Author Message
krzyszaf
Smarty n00b


Joined: 07 Oct 2019
Posts: 1

PostPosted: Mon Oct 07, 2019 9:20 pm    Post subject: Smarty: undefined extension class Reply with quote

Hi,

I have problem like this:

Fatal error: Uncaught --> Smarty: undefined extension class 'Smarty_Internal_Method_SetPage' <-- thrown in {...}/class/sysplugins/smarty_internal_undefined.php on line 62

Smarty class is parent of my class, I have cache disabled.

Before it I try my app few times and it was ok, now I don't know where I have to look for this. Can sameone try to help me with this?
Back to top
View user's profile Send private message
AnrDaemon
Administrator


Joined: 03 Dec 2012
Posts: 1615

PostPosted: Tue Nov 05, 2019 7:56 pm    Post subject: Reply with quote

Extending Smarty is generally an ill-adwised idea.
Make Smarty a property of your View controller, and refer to it when you want to start actual output.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    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