I have an Apache running standalone (for debugging). PHP is correctly configured, since I can run scripts and perform debugging using XDEBUG and DBG. The problem is with some log lines, with the following view:
[Fri Jan 17 15:59:47.021403 2025] [php7:notice] [pid 8440:tid 1344]
[client 127.0.0.1:49807] PHP Fatal error: Uncaught Error: Call to
undefined function Funcoes\competencias() in D:\Programas
PHP\gedesranking\gedesranking\administracao.php:12\nStack
trace:\n#0 {main}\n thrown in D:\Programas
PHP\gedesranking\gedesranking\administracao.php on line 12,
referer: http://localhost/gedesranking/
The [php7:notice]
tag tells me that this is something less serious than a “warning”, but the error message shows a fatal error! In fact, this error prevents the script from running and the server returns a status of 500, so why is the error in the log being marked with [php7:notice]
, shouldn’t it be [php7:error]
or something similar?