Bug #78329 [NEW]: Autoloading broken with 7.4.0beta1
| From: | remi@php.net | Date: | Wed, 24 Jul 2019 07:20:56 +0000 |
| Subject: | Bug #78329 [NEW]: Autoloading broken with 7.4.0beta1 | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-221912@lists.php.net to get a copy of this message | ||
From: remi
Operating system: GNU/Linux
PHP version: 7.4.0alpha3
Package: opcache
Bug Type: Bug
Bug description:Autoloading broken with 7.4.0beta1
Description:
------------
From php-fpm error-log
[24-Jul-2019 07:08:52 UTC] PHP Fatal error: Uncaught Error: Call to
undefined method Fedora\Autoloader\Autoload::addPsr4() in
/usr/share/php/Fedora/Autoloader/autoload.php:18
Stack trace:
#0 /usr/share/glpi/vendor/autoload.php(4): require_once()
#1 /usr/share/glpi/inc/autoload.function.php(346):
require_once('/usr/share/glpi...')
#2 /usr/share/glpi/inc/based_config.php(45):
include_once('/usr/share/glpi...')
#3 /usr/share/glpi/index.php(44): include('/usr/share/glpi...')
#4 {main}
thrown in /usr/share/php/Fedora/Autoloader/autoload.php on line 18
While this file includes needed stuff.
See
https://github.com/php-fedora/autoloader
Here is the file which doesn't work
https://github.com/php-fedora/autoloader/blob/master/src/autoload.php
Issue only there when opcache is enabled.
--
Edit bug report at https://bugs.php.net/bug.php?id=78329&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=78329&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=78329&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=78329&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=78329&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=78329&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=78329&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=78329&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=78329&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=78329&r=support
Expected behavior: https://bugs.php.net/fix.php?id=78329&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=78329&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=78329&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=78329&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=78329&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=78329&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=78329&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=78329&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=78329&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=78329&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=78329&r=mysqlcfg