By reading this forum, I understand that the warning is not an emergency and does not need to be "fixed" immediately, and that the dev team is considering options for all installations. As a smarty-dummy (please bear with me), I am asking this question for my learning: how would I "fix" this sort of thing now?Deprecated: Using unregistered function "count" in a template is deprecated and will be removed in a future release. Use Smarty::registerPlugin to explicitly register a custom modifier. in ... public_html/lib/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 651
For example, I see in the template cssmenu the following:
Does the problem with count go away in smarty5 because count is now a built-in smarty function?<li class="{implode(' ',$liclass)}">
<a{if count($aclass) > 0} class="{implode(' ',$aclass)}"{/if} href="{$node->url}"{if $node->target ne ""} target="{$node->target}"{/if}><span>{$node->menutext}</span></a>
And, if implode or any other particular function is not built into smarty5, could register_function() be used to solve the problem?