Bug #80741 [NEW]: garbage text "($implicit=uninitialized)" randomly appears within error message
| From: | php4fan at gmail dot com | Date: | Fri, 12 Feb 2021 18:52:42 +0000 |
| Subject: | Bug #80741 [NEW]: garbage text "($implicit=uninitialized)" randomly appears within error message | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-232109@lists.php.net to get a copy of this message | ||
From: php4fan at gmail dot com
Operating system: linux
PHP version: 7.4.15
Package: *General Issues
Bug Type: Bug
Bug description:garbage text "($implicit=uninitialized)" randomly appears within error
message
Description:
------------
Errors logged to the error log file sometimes contain this garbage
string:
$implicit = *uninitialized*
inserted into the error messages at apparently random places.
For example, here a logged error:
[Fri Feb 12 19:26:25.663189 2021] [proxy_fcgi:error] [pid 32445]
[client XX.XX.XX.XX:0] AH01071: Got error 'PHP message: PHP Warning:
Use of undefined constant THIS_SCRIPT - assumed 'THIS_SCRIPT' (this will
throw an Error in a future version of PHP) in
/XXXXX/web/htdocs/vbseo/includes/functions_vbseo_vb.php on line 1128PHP
message: PHP Stack trace:PHP message: PHP 1. {main}()
/XXXXX/web/htdocs/vbpvbseo.php:0PHP message: PHP 2. include()
/XXXXX/web/htdocs/vbpvbseo.php:151PHP message: PHP 3.
vbseo_get_forum_info($implicit = *uninitialized*)
/XXXXX/web/htdocs/vbseo.php:1041'
This is a legitimate error, and the backtrace looks correct, except for
the nonsensical "$implicit = *uninitialized*" which certainly means
something to the person who wrote it but not to anybody else.
In this case above I can still make sense of the error message and of
the backtrace. However this other one:
[Fri Feb 12 19:26:25.663791 2021] [proxy_fcgi:error] [pid 32445] [client
XX.XX.XX.XX:0] AH01071: Got error '($implicit = *uninitialized*)
/XXXXX/web/htdocs/vbseo.php:1041'
The error is just that nonsensical thing followed by the file and line
where the error supposedly happen, but it doesn't tell me what the error
actually is (unless I know how to decypher "$implicit =
*uninitialized*").
Line 1041 of that file is just a function call with no arguments:
vbseo_get_forum_info();
so it makes no sense whatsoever that you get an error message right
there, unless:
- the function does not exist: in which case you should get a sensible
error message like "Call to undefined function"; or
- the error happens inside the function, in which case the error message
would not point to that line where the function is called, but the line
inside the function where the error happens.
--
Edit bug report at https://bugs.php.net/bug.php?id=80741&edit=1
--
Fix committed: https://bugs.php.net/fix.php?id=80741&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=80741&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=80741&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=80741&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=80741&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=80741&r=support
Expected behavior: https://bugs.php.net/fix.php?id=80741&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=80741&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=80741&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=80741&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=80741&r=phptooold
Daylight Savings: https://bugs.php.net/fix.php?id=80741&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=80741&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=80741&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=80741&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=80741&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=80741&r=mysqlcfg