Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TwigCompiler issue #129

Open
andriansandi opened this issue Sep 24, 2016 · 1 comment
Open

TwigCompiler issue #129

andriansandi opened this issue Sep 24, 2016 · 1 comment

Comments

@andriansandi
Copy link

andriansandi commented Sep 24, 2016

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;}}()
@timramseyjr
Copy link

Did you ever figure this out?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants