Page 1 of 1

Out of nowhere...

Posted: Tue Aug 08, 2023 8:16 pm
by dfgfdgdg
Fatal error: Uncaught --> Smarty: Plugin "blahblah" not callable <-- thrown in /path/to/lib/smarty/sysplugins/smarty_internal_method_registerplugin.php on line 45

Why? And I can't update as well.
$smarty = $obj->_getSmartyObj();
if (isset($smarty->registered_plugins[ $type ][ $name ])) {
throw new SmartyException("Plugin tag \"{$name}\" already registered");
} elseif (!is_callable($callback)) {
throw new SmartyException("Plugin \"{$name}\" not callable");
} else {
$smarty->registered_plugins[ $type ][ $name ] = array($callback, (bool) $cacheable, (array) $cache_attr);
}
return $obj;

Re: Out of nowhere...

Posted: Tue Aug 08, 2023 8:42 pm
by DIGI3
You'll need to provide more information. At the very least your cmsms version, the php version, how we can recreate the error, and what has changed since before the error started occurring.

Re: Out of nowhere...

Posted: Tue Aug 08, 2023 9:02 pm
by dfgfdgdg
Sorry, thought it was logical ; )

2.2.16 to 2.2.17
any PHP - 7.4, 8.1, 8.4.

Re: Out of nowhere...

Posted: Tue Aug 08, 2023 9:23 pm
by dfgfdgdg
OK it went through with PHP 7.1... so basically CMS MS doesn't work with above 7.1 : /

Re: Out of nowhere...

Posted: Tue Aug 08, 2023 11:33 pm
by DIGI3
2.2.18 is working on PHP 8.1, but there's always a chance of a specific server environment, extension combination, etc. causing an issue. Issues generally don't just appear "out of nowhere" though - something has to change to trigger them. We're happy to dig into the error but we need to be able to reproduce it.

Re: Out of nowhere...

Posted: Mon Sep 11, 2023 8:28 am
by tomphantoo
Which plugin(s) caused the reported error?