laravel-theme
laravel-theme copied to clipboard
TwigCompiler issue
Hi,
I've created the theme using twig compiler. When i'm running the app, i've got this error:
FatalErrorException in TwigCompiler.php line 94:
Call to undefined function C:32:"SuperClosure\SerializableClosure":487:{a:5:{s:4:"code";s:337:"function ($twig) {
// Example add funciton name "demo".
/*$function = new Twig_SimpleFunction('example', function()
{
$args = func_get_args();
return "Example" . print_r($args, true);
});
$twig->addFunction($function);*/
return $twig;
};";s:7:"context";a:0:{}s:7:"binding";N;s:5:"scope";s:49:"Illuminate\Foundation\Bootstrap\LoadConfiguration";s:8:"isStatic";b:0;}}()
Did you ever figure this out?