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

function call 'register_function' is unknown or deprecated

 
Post new topic   Reply to topic    Smarty Forum Index -> Smarty 3
View previous topic :: View next topic  
Author Message
orao
Smarty Rookie


Joined: 23 Dec 2009
Posts: 18

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?
_________________
orao javi se
Back to top
View user's profile Send private message
orao
Smarty Rookie


Joined: 23 Dec 2009
Posts: 18

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
_________________
orao javi se
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: 1530

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:   
Post new topic   Reply to topic    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