-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: AutoloaderRegistry::getAutoloader returns array #26479
Comments
Hi @lbajsarowicz. Thank you for your report.
Please make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, please, add a comment to the issue:
For more details, please, review the Magento Contributor Assistant documentation. @lbajsarowicz do you confirm that you were able to reproduce the issue on vanilla Magento instance following steps to reproduce?
|
… instead of passing the error to higher levels
Hi @lbajsarowicz. Thank you for your report. The fix will be available with the upcoming 2.4.0 release. |
Preconditions (*)
magento/magento2
repository (without changes)Steps to reproduce (*)
Expected result (*)
Actual result (*)
Error: Call to a member function findFile() on array
(/var/www/html/lib/internal/Magento/Framework/Code/Generator/DefinedClasses.php:59
)Comments
Actual source of issue is in:
\Magento\Framework\Autoload\AutoloaderRegistry::getAutoloader
magento2/lib/internal/Magento/Framework/Autoload/AutoloaderRegistry.php
Lines 37 to 44 in a31f4a3
For some cases just
composer dump-autoload
helps, but it's not always the case.The text was updated successfully, but these errors were encountered: