Open s-hamann opened 4 months ago
Smarty 5 seems very young for the moment, we focus our efforts to Smarty 4 by now.
In that case, I suggest updating the Prerequisite section in the README.md to reflect that users should not currently try running with Smarty >= 5.
It seems that as of version 5, Smarty uses a namespace, which is incompatible with how Self Service Password currently uses Smarty. Trying to access Self Service Password with Smarty 5.3.1 (probably any 5.x version) results in an HTTP status code 500 and the following error logged:
I fixed this locally by either adding
use \Smarty\Smarty;
toindex.php
or instantiating$smarty
asnew \Smarty\Smarty();
. I can't tell if this breaks compatibility with Smarty versions 3 and 4, though.