Hello,

I'm getting the following output when trying to execute
doctrine:schema:update console command (doctrine:schema:create works
fine).
Any hints on if it's a DoctrineBundle issue or I need to tweak some
settings locally?

D:\netbeans-projects\myproject>d:\wamp\bin\php\php5.3.5\php app
\console doctrine:schema:update
PHP Fatal error:  Call to undefined method Symfony\Bundle
\DoctrineBundle\Command\DoctrineCommand::setApplicationEntityManager()
in D:\netbeans-projects\myproject\vendor\symfony\src\Symfony\Bundle
\DoctrineBundle\Command\UpdateSchemaDoctrineCommand.php on line 50
PHP Stack trace:
PHP   1. {main}() D:\netbeans-projects\myproject\app\console:0
PHP   2. Symfony\Component\Console\Application->run() D:\netbeans-
projects\myproject\app\console:16
PHP   3. Symfony\Bundle\FrameworkBundle\Console\Application->doRun() D:
\netbeans-projects\myproject\vendor\symfony\src\Symfony\Component
\Console\Application.php:119
PHP   4. Symfony\Component\Console\Application->doRun() D:\netbeans-
projects\myproject\vendor\symfony\src\Symfony\Bundle\FrameworkBundle
\Console\Application.php:75
PHP   5. Symfony\Component\Console\Command\Command->run() D:\netbeans-
projects\myproject\vendor\symfony\src\Symfony\Component\Console
\Application.php:193
PHP   6. Symfony\Bundle\DoctrineBundle\Command
\UpdateSchemaDoctrineCommand->execute() D:\netbeans-projects\myproject
\vendor\symfony\src\Symfony\Component\Console\Command\Command.php:188

Fatal error: Call to undefined method Symfony\Bundle\DoctrineBundle
\Command\DoctrineCommand::setApplicationEntityManager() in D:\netbeans-
projects\myproject\vendor\symfony\src\Symfony\Bundle\DoctrineBundle
\Command\UpdateSchemaDoctrineCommand.php on line 50

Call Stack:
    0.0004     327576   1. {main}() D:\netbeans-projects\myproject\app
\console:0
    0.0269    2416152   2. Symfony\Component\Console\Application-
>run() D:\netbeans-projects\myproject\app\console:16
    0.0317    2613256   3. Symfony\Bundle\FrameworkBundle\Console
\Application->doRun() D:\netbeans-projects\myproject\vendor\symfony\src
\Symfony\Component\Console\Application.php:119
    0.5628    5606976   4. Symfony\Component\Console\Application-
>doRun() D:\netbeans-projects\myproject\vendor\symfony\src\Symfony
\Bundle\FrameworkBundle\Console\Application.php:75
    0.5647    5607008   5. Symfony\Component\Console\Command\Command-
>run() D:\netbeans-projects\myproject\vendor\symfony\src\Symfony
\Component\Console\Application.php:193
    0.5654    5607328   6. Symfony\Bundle\DoctrineBundle\Command
\UpdateSchemaDoctrineCommand->execute() D:\netbeans-projects\myproject
\vendor\symfony\src\Symfony\Component\Console\Command\Command.php:188

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to