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

Upgrading to newer version

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


Joined: 25 May 2013
Posts: 4

PostPosted: Mon Aug 31, 2020 12:55 pm    Post subject: Upgrading to newer version Reply with quote

We have an older version of Smarty on our server, although not sure why it says 3.1... Below is what's in the code for a version:

Code:
* @link http://www.smarty.net/
 * @copyright 2008 New Digital Group, Inc.
 * @author Monte Ohrt <monte at ohrt dot com>
 * @author Uwe Tews
 * @author Rodney Rehm
 * @package Smarty
 * @version 3.1-DEV


Can we upgrade to a newer version without affecting our site?
If yes, which version would be recommended for php 7.2 ?

This is the only error that shows when we run the php7mar report:

Code:
* variableInterpolation
 * Line 370: `                                return $this->smarty->registered_plugins[$plugin_type][$tag][0][0]->$function[1]($new_args, $this);`
 * Line 441: `                                return $this->default_handler_plugins[$plugin_type][$tag][0][0]->$function[1]($new_args, $this);`
 * Line 481: `                        return $this->smarty->registered_plugins[Smarty::PLUGIN_COMPILER][$tag][0][0]->$function[1]($args, $this);`


And can we just copy over the Smarty directory?
Thanks for any input....
Back to top
View user's profile Send private message
AnrDaemon
Administrator


Joined: 03 Dec 2012
Posts: 1785

PostPosted: Tue Sep 08, 2020 4:10 pm    Post subject: Reply with quote

Short answer is "yes", you absolutely should upgrade.
How to do so - read the library installation instructions or hire a qualified helping hand.
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