Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7623231
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T04:39:17+00:00 2026-05-31T04:39:17+00:00

I have a big problem with the fixtures bundle which I can’t resolve. I

  • 0

I have a big problem with the fixtures bundle which I can’t resolve. I
follow the steps as they are meant to be followed, adding the lines to
the deps file, installing them, registering them in the autoload and
appkernel.

When I try to run even only app/console, it breaks with:

Fatal error: Class 'Doctrine\Bundle\DoctrineBundle\Command\DoctrineCommand'
not found in /var/www/.../bundles/Doctrine/Bundle/FixturesBundle/
Command/LoadDataFixturesDoctrineCommand.php on line 40

Which seems right because I don’t have a DoctrineBundle directory
under Doctrine\Bundle, only the DoctrineFixturesBundle.
If I change that line to Symfony\Bundle\DoctrineBundle\... it works
perfectly, because that class resides under that namespace actually.

Of course I can’t leave it that way.
I searched through the documentation, issues, everything, but it seems
that noone has this same issue, so I must be missing some obvious
point here.

Any ideas?

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T04:39:18+00:00Added an answer on May 31, 2026 at 4:39 am

    Not long ago, all Doctrine bundles moved to the Doctrine organizaton. This causes some confusion based on which repository and branch you are using.

    If you’re using Symfony 2.0.x, then your deps should look something like this:

    [DoctrineFixturesBundle]
        git=http://github.com/doctrine/DoctrineFixturesBundle.git
        target=bundles/Symfony/Bundle/DoctrineFixturesBundle
        version=origin/2.0
    

    Notice the target/namespace is actually Symfony\Bundle\DoctrineFixturesBundle.


    However, you shouldn’t have any problems using the latest DoctrineFixturesBundle with Symfony 2.0.x – as long as you upgrade the rest of the Doctrine dependencies also. You can use this in your deps instead:

    [doctrine-common]
        git=http://github.com/doctrine/common.git
        version=2.2.0
    
    [doctrine-dbal]
        git=http://github.com/doctrine/dbal.git
        version=2.2.1
    
    [doctrine]
        git=http://github.com/doctrine/doctrine2.git
        version=2.2.0
    
    [doctrine-fixtures]
        git=http://github.com/doctrine/data-fixtures.git
    
    [DoctrineFixturesBundle]
        git=http://github.com/doctrine/DoctrineFixturesBundle.git
        target=bundles/Doctrine/Bundle/FixturesBundle
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a big problem to resolve and I don't know how to resolve
I have a big problem with my web site ( you can see here
I have big problem. I have 100000 rows in my database(sqlite). I can't reduce
I have a big problem, and I hope you can help me. I'm porting
I have a big problem I hope some one can help me with it.
I have big problem when I am trying to deploy my app over clickonce.
I have a big problem. I want to extract text from html table that
I have a (big) problem that all of you that work with Webforms might
I have a big problem dealing with data I try to download in my
I have an big problem with an SQL Statement in Oracle. I want to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.