Bug #79349 [Com]: Unlinked anonymous classes prevent using preloading
Edit report at https://bugs.php.net/bug.php?id=79349&edit=1
ID: 79349
Comment by: alexandrebertrand96 at gmail dot com
Reported by: nicolasgrekas@php.net
Summary: Unlinked anonymous classes prevent using preloading
Status: Closed
Type: Bug
Package: opcache
PHP Version: 7.4.3
Assigned To: nikic
Block user comment: N
Private report: N
New Comment:
I still have this error with the symfony bundle omines/datatables-bundle.
> Uncaught PHP Exception Symfony\Component\ErrorHandler\Error\FatalError: "Error: Anonymous
> class wasn't preloaded" at
> /var/www/app/vendor/omines/datatables-bundle/src/Adapter/Doctrine/ORMAdapter.php line 329
It's here: https://github.com/omines/datatables-bundle/blob/5ccdc1283ff1931c8259796447b8e69f48ea5302/src/Adapter/Doctrine/ORMAdapter.php#L329
I'm using PHP 7.4.13
Previous Comments:
------------------------------------------------------------------------
[2020-03-17 08:30:44] nikic@php.net
This ended up getting fixed by https://github.com/php/php-src/pull/5260.
------------------------------------------------------------------------
[2020-03-11 15:53:25] nikic@php.net
Related To: Bug #79354
------------------------------------------------------------------------
[2020-03-11 15:51:15] nikic@php.net
The following pull request has been associated:
Patch Name: Fix bug #79349: Unlinked anonymous classes prevent using preloading
On GitHub: https://github.com/php/php-src/pull/5257
Patch: https://github.com/php/php-src/pull/5257.patch
------------------------------------------------------------------------
[2020-03-09 17:32:19] cmb@php.net
Related To: Bug #79354
------------------------------------------------------------------------
[2020-03-05 11:19:47] nicolasgrekas@php.net
Maybe all missing symbols could trigger the autoloader before linking happens?
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=79349
--
Edit this bug report at https://bugs.php.net/bug.php?id=79349&edit=1
Thread (9 messages)