Closed m-ober closed 1 year ago
Might be problem with case sensitivity. Does it work when you change the registerPlugin line as follows?
$smarty->registerPlugin(Smarty::PLUGIN_FUNCTION, 'customtag', [Functions::class, 'customTag']);
Yes, with this change it's working again. But that would require a lot of refactoring in all templates...
No worries, we'll fix this. Should be easy! Thank you for your bug report.
This should output "Test" but gives the following error in Smarty 5 / dev-master. Working with latest 4.x version.