Open
Description
in vendor/smarty/smarty/src/Smarty.php class_exists (line 752)
* @api Smarty::registerPlugin() */ public function registerPlugin($type, $name, $callback, $cacheable = true) { if (isset($this->registered_plugins[$type][$name])) { throw new Exception("Plugin tag '{$name}' already registered"); } elseif (!is_callable($callback) && !class_exists($callback)) { throw new Exception("Plugin '{$name}' not callable"); } else { $this->registered_plugins[$type][$name] = [$callback, (bool)$cacheable]; } return $this;
HTTP 500 Internal Server Error:
class_exists(): Argument #1 ($class) must be of type string, array given
Metadata
Metadata
Assignees
Labels
No labels