when i'm generating entities from database first time under symfony2 version 2.07: php app/console generate:doctrine:entities --path=src AcmeDemoBundle i get an error: Fatal error: Call to a member function getNamespacename() on a non- object in ...\vendor\symfony\src\Symfony\Bundle\DoctrineBundle\Mapping \MetadataFactory.php on line 85
i fixed it: from: $metadata->setPath($path); $metadata->setNamespace($r->getNamespacename()); to: $metadata->setPath($path); if (!empty($r)) { $metadata->setNamespace($r->getNamespacename()); } -- 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 developers" group. To post to this group, send email to symfony-devs@googlegroups.com To unsubscribe from this group, send email to symfony-devs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-devs?hl=en