Skip to content

PHP Fatal error: Uncaught ReflectionException #39649

Closed
@Justman100

Description

@Justman100

Preconditions and environment

  • Magento version: HEAD (directly from GitHub repo)
  • PHP: 8.2.27

Steps to reproduce

mkdir magento
cd magento
git init
git pull https://github.com/magento/magento2
bun i --no-save
composer install

Expected result

The homepage

Actual result

PHP message: PHP Fatal error: Uncaught ReflectionException: Class "Magento\Framework\App\ResourceConnection\Proxy" does not exist in <store_path>/store/lib/internal/Magento/Framework/Code/Reader/ClassReader.php:34\nStack trace:\n#0 <store_path>/store/lib/internal/Magento/Framework/Code/Reader/ClassReader.php(34): ReflectionClass->__construct()\n#1 <store_path>/store/lib/internal/Magento/Framework/ObjectManager/Definition/Runtime.php(50): Magento\Framework\Code\Reader\ClassReader->getConstructor()\n#2 <store_path>/store/lib/internal/Magento/Framework/ObjectManager/Factory/Dynamic/Developer.php(48): Magento\Framework\ObjectManager\Definition\Runtime->getParameters()\n#3 <store_path>/store/lib/internal/Magento/Framework/ObjectManager/ObjectManager.php(73): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create()\n#4 <store_path>/store/lib/internal/Magento/Framework/ObjectManager/Factory/AbstractFactory.php(170): Magento\Framework\ObjectManager\ObjectManager->get()\n#5 <store_path>/store/lib/internal/Magento/Framewor...

Additional information

No response

Release note

No response

Triage and priority

  • Severity: S0 - Affects critical data or functionality and leaves users without workaround.
  • Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
  • Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
  • Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
  • Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.

Metadata

Metadata

Assignees

Labels

Issue: needs updateAdditional information is require, waiting for responseReported on 2.4.xIndicates original Magento version for the Issue report.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions