In Codeigniter, Twig project to output ALL errors - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: External Resources (https://forum.codeigniter.com/forumdisplay.php?fid=7) +--- Forum: Addins (https://forum.codeigniter.com/forumdisplay.php?fid=13) +--- Thread: In Codeigniter, Twig project to output ALL errors (/showthread.php?tid=65719) |
In Codeigniter, Twig project to output ALL errors - mstdmstd - 07-16-2016 Hello, In Codeigniter 3.1.0-dev, Twig 1.24.0 project if in twig code there is syntax error or not found included file the flow is stopped with error visible. But on some errors , like calling of nonexisting method of component or nonexisting variable there is no error message on screen, the error is ignored. If there is a mode to show ALL errors? twig is included to project as library https://github.com/kenjis/codeigniter-ss-twig: PHP Code: $twig_config = array(); In output of 1st var I see: PHP Code: [debug:protected] => 1 I read docs here : http://twig.sensiolabs.org/doc/api.html and see Quote:The following options are available: Also I read docs on sandbox extension, But looks that is not I need... Thanks ! |