[php-src] Issue #8251: ZEND_FETCH_DIM_W
| From: | hikashop-nicolas | Date: | Mon, 28 Mar 2022 07:27:30 +0000 |
| Subject: | [php-src] Issue #8251: ZEND_FETCH_DIM_W | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-240521@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/8251
Comment Author: hikashop-nicolas
First, as a disclaimer, please note that I know nothing about the PHP engine itself. I use PHP but I
don't know its inner workings.
What I understand from your message is that the error happens when a PHP file is required/included
and something is wrong with the file being required/included. That's exactly what happens here
since line 1381 has an include_once() call.
If what I understand is correct, then it means the warning message indicates the path of the file
where the require/include is done but not the path of the file being required/included (where the
actual problem is). And if so, improving that message in future versions of PHP would help
understand why this is happening.
On a side note, one of the users reporting the issue to us mentioned during the weekend ( https://www.hikashop.com/forum/install-update/903846-update-hikashop-php.html#340449
) that after updating to the latest version of HikaShop, he didn't had the warning anymore. So
I suppose that message came from some code somewhere which wasn't compatible with PHP8, but
that we've modified the code since then ( probably someone else reported an issue with a better
message, on another environment ).