laravel-theme icon indicating copy to clipboard operation
laravel-theme copied to clipboard

TwigCompiler issue

Open andriansandi opened this issue 8 years ago • 1 comments

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;}}()

andriansandi avatar Sep 24 '16 13:09 andriansandi

Did you ever figure this out?

timramseyjr avatar Apr 27 '19 15:04 timramseyjr