Enplated MVC Error Debug v1.0
Time: 2024-01-01 13:30:35
2
Code | Description |
---|---|
1 | E_ERROR |
2 | E_WARNING |
4 | E_PARSE |
8 | E_NOTICE |
16 | E_CORE_ERROR |
32 | E_CORE_WARNING |
64 | E_COMPILE_ERROR |
128 | E_COMPILE_WARNING |
256 | E_USER_ERROR |
512 | E_USER_WARNING |
1024 | E_USER_NOTICE |
2048 | E_STRICT |
4096 | E_RECOVERABLE_ERROR |
8192 | E_DEPRECATED |
16384 | E_USER_DEPRECATED |
30719 | E_ALL |
Undefined variable $foo
/www/html/app/routes/users.php
3
File name: /www/html/app/routes/users.php
1 <?php
2 checkRoute('GET', '/users', function() {
3 if ($foo == "value") {
4 $foo = "value2";
5 }
6
7 $template = processTemplate('users', []);
8 finishRender($template);
9 });
10 ?>
Array ( [APP] => Array ( ... //deleted in this example for security reasons ) [REQUEST] => Array ( [URI] => /users [METHOD] => GET [FOUND] => 1 ) [ERROR] => Array ( [code] => 2 [msg] => Undefined variable $foo [file] => /www/html/app/routes/users.php [line] => 3 ) )
No _SESSION data
Array ( )
Array ( )
Array ( ... //deleted in this example for security reasons )
Array ( )
Array ( )
Array ( ... //deleted in this example for security reasons )