Exceptions are made by hands , some times they are not clear at all.
Today i faced one of this “Twig_Cache_Null” that was meanless.
After Several inspections i found solution:
Empty and readable cache folder is not exists. You need to create at “config” described:
- new Twig_Environment($loader, array(
- ‘cache’ => ‘cache/twig’,
- ‘debug’ => …,
- )
Happy coding.