Le 05/04/2011 21:22, seven seven a écrit :
Hi again !

Well everything worked great till I tried to run *php app/console doctrine:schema:create* and it gives the following error:

*$ ../../php/php.exe app/console doctrine:schema:create*
*PHP Catchable fatal error: Argument 1 passed to Gedmo\Mapping\MappedEventSubscr* *iber::loadMetadataForObjectClass() must be an instance of Doctrine\Common\Persis* *tence\ObjectManager, instance of Doctrine\ORM\EntityManager given, called in C:\*
*xampp\htdocs\mcchipdkr\vendor\gedmo-doctrine-extensions\lib\Gedmo\Timestampable\*
*TimestampableListener.php on line 44 and defined in C:\xampp\htdocs\mcchipdkr\ve* *ndor\gedmo-doctrine-extensions\lib\Gedmo\Mapping\MappedEventSubscriber.php on li*
*ne 124*
*
*
*Catchable fatal error: Argument 1 passed to Gedmo\Mapping\MappedEventSubscriber:* *:loadMetadataForObjectClass() must be an instance of Doctrine\Common\Persistence* *\ObjectManager, instance of Doctrine\ORM\EntityManager given, called in C:\xampp*
*\htdocs\mcchipdkr\vendor\gedmo-doctrine-extensions\lib\Gedmo\Timestampable\Times*
*tampableListener.php on line 44 and defined in C:\xampp\htdocs\mcchipdkr\vendor\* *gedmo-doctrine-extensions\lib\Gedmo\Mapping\MappedEventSubscriber.php on line 12*
*4*

Seems that I did a mistake in my Entity , annotations ? or is something related to doctrine-common ?
Read the README file of DoctrineExtensions: you need to use the master branch of Doctrine\common is you want to use the master branch of the extensions. If you prefer using the 2.0 release, use the 2.0.x branch of the DoctrineExtensions repository. Note that this branch will likely not receive new features anymore.

--
Christophe | Stof

--
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