You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fatal error: Uncaught exception 'RuntimeException' with message 'Helper `TwigExtensions` not found.' in /home/razielgn/dev/php/dreamboard/li3_test_sprint/libraries/lithium/template/view/Renderer.php:308
Stack trace:
#0 /home/razielgn/dev/php/dreamboard/li3_test_sprint/libraries/li3_twig/template/view/adapter/Twig.php(120): lithium\template\view\Renderer->helper('TwigExtensions')
#1 /home/razielgn/dev/php/dreamboard/li3_test_sprint/libraries/lithium/core/Object.php(93): li3_twig\template\view\adapter\Twig->_init()
#2 /home/razielgn/dev/php/dreamboard/li3_test_sprint/libraries/lithium/template/view/Renderer.php(172): lithium\core\Object->__construct(Array)
#3 /home/razielgn/dev/php/dreamboard/li3_test_sprint/libraries/li3_twig/template/view/adapter/Twig.php(80): lithium\template\view\Renderer->__construct(Array)
#4 /home/razielgn/dev/php/dreamboard/li3_test_sprint/libraries/lithium/core/Libraries.php(628): li3_twig\template\view\adapter\Twig->__construct(Array)
#5 /home/razielgn/dev/php/dreamboard/li3_test_sprint/libraries/ in /home/razielgn/dev/php/dreamboard/li3_test_sprint/libraries/lithium/template/view/Renderer.php on line 308
The text was updated successfully, but these errors were encountered:
This is expected if you enable 'extensions' in the library's config. By default I think the repo has 'extensions' => array('TwigExtensions'). Just erase this option from your library.php and you should be fine.
On a side note, this option makes it possible to create custom Twig extensions (filters, tests, etc...). The plugin will look for them in your helper directory.
Stack trace:
The text was updated successfully, but these errors were encountered: