Drupal 8 Twig isn't working for Debug

Viewed 3914

I have been messing around with Drupal 8 and seen that in the status report it suggested I should add the Twig C Extension, after adding it I begun to get the following error when using Kint in a theme template file.

Warning: file(/Users/jafacakes2011/Sites/site/recipe-hub/vendor/twig/twig/lib/Twig/Environment.php(403) : eval()'d code): failed to open stream: No such file or directory in Drupal\kint\Twig\KintExtension->kint() (line 78 of /Users/jafacakes2011/Sites/site/recipe-hub/modules/contrib/devel/kint/src/Twig/KintExtension.php).

I Installed PHP and Twig using homebrew: brew install php56 php56-twig php56-mcrypt php56-opcache

You can see in the image below that twig is on my php server.

The error lead me to believe that it was a permissions issue, but all permissions seemed ok in the vendor twig folder.

3 Answers
Related