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

function call 'register_function' is unknown or deprecated

 
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 -> Smarty 3
View previous topic :: View next topic  
Author Message
orao
Smarty Rookie


Joined: 23 Dec 2009
Posts: 20

PostPosted: Tue Feb 09, 2010 8:15 am    Post subject: function call 'register_function' is unknown or deprecated Reply with quote

Notice: function call 'register_function' is unknown or deprecated. in \libs\sysplugins\smarty_internal_wrapper.php on line 58

Old smarty2 functions in my template class still work, but i get many notices

$this->register_function('poll', 'poll');

function poll($params, $smarty){
return 'foo';
}

What am I doing wrong?
Back to top
View user's profile Send private message
orao
Smarty Rookie


Joined: 23 Dec 2009
Posts: 20

PostPosted: Tue Feb 09, 2010 11:48 am    Post subject: Reply with quote

I got it, I didn't check it before.

http://www.smarty.net/forums/viewtopic.php?t=16807&sid=8b48230d97c007df6548d7a90a81925f
Back to top
View user's profile Send private message
lsag
Smarty n00b


Joined: 15 Jul 2016
Posts: 1

PostPosted: Fri Jul 15, 2016 1:54 pm    Post subject: lack of updates?? Reply with quote

This is one of the reasons that puts me off of Smarty is this lack of updates of official documentation.

In my company we have to still use Smarty, but in personal projects, i'd be out my mind if i did: rather use Mustache or Twig. Blade is also pretty good in Laravel
Back to top
View user's profile Send private message
AnrDaemon
Administrator


Joined: 03 Dec 2012
Posts: 1785

PostPosted: Fri Jul 15, 2016 2:10 pm    Post subject: Re: lack of updates?? Reply with quote

lsag wrote:
This is one of the reasons that puts me off of Smarty is this lack of updates of official documentation.
What? What you're blabbering about? What is official documentation missing?
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 -> Smarty 3 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