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

Php Fatal Error with smarty 3.1.28

 
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
kanandg
Smarty n00b


Joined: 08 Nov 2016
Posts: 3

PostPosted: Tue Nov 08, 2016 11:01 am    Post subject: Php Fatal Error with smarty 3.1.28 Reply with quote

I am getting Fatal error in PHP randomly with Smarty 3.1.28 Once I clear compiled folder, error is removed. Please help if I need to do some configuration changes

PHP Fatal error: Call to a member function registerSubTemplates() on a non-object in /home/live/new_structure_frontend/Smarty/libs/sysplugins/smarty_template_compiled.php on line 155

PHP Fatal error: Uncaught --> Smarty: template property 'smarty' does not exist. <-- \n thrown in /home/live/new_structure_frontend/Smarty/libs/sysplugins/smarty_internal_template.php on line 364

PHP Fatal error: Cannot call overloaded function for non-object in /home/live/new_structure_frontend/Smarty/libs/sysplugins/smarty_template_resource_base.php on line 129
Back to top
View user's profile Send private message
AnrDaemon
Administrator


Joined: 03 Dec 2012
Posts: 1785

PostPosted: Tue Nov 08, 2016 12:45 pm    Post subject: Reply with quote

Please test with 3.1.30 and dev-master.
But overall, it looks much like you are not using stock Smarty classes, but some cloned ones.
Back to top
View user's profile Send private message
kanandg
Smarty n00b


Joined: 08 Nov 2016
Posts: 3

PostPosted: Thu Nov 10, 2016 12:06 pm    Post subject: Reply with quote

I downloaded it from smarty.net so the classes are all original. If you suggest then I would try upgrading to 3.1.30
Back to top
View user's profile Send private message
AnrDaemon
Administrator


Joined: 03 Dec 2012
Posts: 1785

PostPosted: Thu Nov 10, 2016 12:28 pm    Post subject: Reply with quote

I suggest you test your issue with 3.1.30 and dev-master. It is highly unlikely someone would be looking into an issue that can't be reproduced with current release at least.
Back to top
View user's profile Send private message
kanandg
Smarty n00b


Joined: 08 Nov 2016
Posts: 3

PostPosted: Thu Nov 17, 2016 3:46 am    Post subject: Reply with quote

Hi,
I upgrade Smarty to 3.1.30 and still I get errors randomly like

PHP Fatal error: Cannot call overloaded function for non-object in /home/live/new_structure_frontend/Smarty/libs/sysplugins/smarty_template_resource_base.php on line 128
Back to top
View user's profile Send private message
AnrDaemon
Administrator


Joined: 03 Dec 2012
Posts: 1785

PostPosted: Thu Nov 17, 2016 10:50 pm    Post subject: Reply with quote

A link to the repository with a code reproducing your issue would be wonderful.
Since, apparently, nobody else experiencing your issue.
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