|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
musicweb Smarty n00b
Joined: 25 May 2013 Posts: 4
|
Posted: Mon Aug 31, 2020 12:55 pm Post subject: Upgrading to newer version |
|
|
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 |
|
AnrDaemon Administrator
Joined: 03 Dec 2012 Posts: 1785
|
Posted: Tue Sep 08, 2020 4:10 pm Post subject: |
|
|
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 |
|
|
|
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
|