Hi team
I was updating Piwigo core files for Smarty3, then I get an error I can't solve
http://planete-flop.fr/trunk_smarty3_er … e_64.patch
Trying to get property of non-object in E:\Program Files\EasyPHP\www\SITE\sandbox\pwg_test\piwigo_trunk\include\smarty\libs\sysplugins\smarty_internal_templatebase.php on line 64
If anyone has time, it would great to take a look at this plz
Have a good day
Offline
just one thing : I would like we try to not modify Template methods signature, one of the interest of this class is having our own interface with Smarty, and update it without breaking compatibility
in particular, leave Template::get_template_vars
function &get_template_vars($name=null) { return $this->smarty->getTemplateVars( $name ); }
Offline
yes you're perfectly right
That was a too aggressive search/replace
Offline
just updated the patch to correct what you said
Offline
Bump?
Offline
flop25 wrote:
Bump?
because of your initial error ? (can't really help without a call stack or something ...)
Offline