Skip to content

`Class "Doctrine\Bundle\FixturesBundle\Fixture" not found in prod env #647

Description

@vince83110

Bug Report

Q A
Version Symfony 8.1
Previous Version if the bug is a regression Symfony 8.0

Summary

Since Symfony 8.1 upgrade, I have the issue :

Class "Doctrine\Bundle\FixturesBundle\Fixture" not found.

in prod environment when I clear the cache.

Current behavior

Even if I totally clear the cache :

rm -rf var/cache/
bin/console c:c

 // Clearing the cache for the prod environment with debug false                                                        

In FileClassLocator.php line 64:
                                                             
  Class "Doctrine\Bundle\FixturesBundle\Fixture" not found.  
                                                             
cache:clear [--no-warmup] [--no-optional-warmers]

Expected behavior

I use only the classical way of using Fixtures and default folders without any specific config.

Before making a reproductible example, I would like to know if other people are touched ?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions