After import entities of another bundle into a new one (php app
\console doctrine:mapping:import "catalogoBundle"), a number of fatal
errors appeared.

On running the application appears:Fatal error: Call to a member
function getName() on a non-object in C:\xampp\htdocs\Symfony\vendor
\doctrine\lib\Doctrine\ORM\Mapping\Driver\XmlDriver.php on line 54

And on command line:

C:\xampp\htdocs\Symfony>php app\console doctrine:generate:entities --
entity="empresas" "catalogoBundle"

Generating entities for "catalogoBundle"

PHP Fatal error:  Call to a member function getShortName() on a non-
object in C:\xampp\htdocs\Symfony\vendor\symfony\src\Symfony\Bundle
\DoctrineBundle
\Command\GenerateEntitiesDoctrineCommand.php on line 63

Fatal error: Call to a member function getShortName() on a non-object
in C:\xampp\htdocs\Symfony\vendor\symfony\src\Symfony\Bundle
\DoctrineBundle\Comm
and\GenerateEntitiesDoctrineCommand.php on line 63




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