Fails to register plugins in Smarty3
Fatal error: "Plugin 'crmSQL' not callable"SmartyException: "Plugin 'crmSQL' not callable"
This is because, as of 5.70.1 CRM_Core_SmartyCompatibility::register_function
maps this call to
parent::registerPlugin('function', $function, $function, $cacheable, $cache_attrs);
note that it passes $function
in twice. So it thinks crmSQL
is the callable, which it isn't.
Relevant chat
Edited by Rich