Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


propel:fixtures:load results in fatal error #124

bmeynell opened this Issue · 3 comments

4 participants

php app/console propel:fixtures:load --env=dev
[Propel] You are running the command: propel:fixtures:load  

Use connection named default in dev environment.
No SQL fixtures found.
No XML fixtures found.
Use connection named default in dev environment.
Fatal error: require(): Cannot redeclare class tablemap in /var/www/ on line 56

Call Stack:
    0.0002     651192   1. {main}() /var/www/
    0.0144    3411864   2. Symfony\Component\Console\Application->run() /var/www/
    0.0163    3736880   3. Symfony\Bundle\FrameworkBundle\Console\Application->doRun() /var/www/
    0.0953   17373376   4. Symfony\Component\Console\Application->doRun() /var/www/
    0.0975   17373376   5. Symfony\Component\Console\Command\Command->run() /var/www/
    0.0979   17374928   6. Propel\PropelBundle\Command\FixturesLoadCommand->execute() /var/www/
    0.1001   17530040   7. Propel\PropelBundle\Command\FixturesLoadCommand->loadFixtures() /var/www/
    0.1014   17723152   8. Propel\PropelBundle\DataFixtures\Loader\AbstractDataLoader->load() /var/www/
    0.1014   17723544   9. Propel\PropelBundle\DataFixtures\AbstractDataHandler->loadMapBuilders() /var/www/
    2.2778   27694064  10. Propel\PropelBundle\DataFixtures\AbstractDataHandler->guessFullClassName() /var/www/
    2.2780   27695912  11. class_exists() /var/www/
    2.2780   27696464  12. Symfony\Component\ClassLoader\DebugUniversalClassLoader->loadClass() /var/www/

Do you have installed the vendors of the PropelBundle? If so, remove them from an actual project.


The issue is in the autoloader. This issue can be closed.


Ok, thanks Dustin :)

@willdurand willdurand closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.