madesst / MadesstDoctrineGenerationBundle

Adds propel-like generated entites

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Undefined Method Exception

smadaman opened this issue · comments

Hi,

I have been using your bundle for quite a while now and it is fantastic!

Though recenlty, and I believe it is after updating some vendors that I get an error now when trying to generate, it is

backing up User.php to User.php~
PHP Fatal error: Call to undefined method Doctrine\ORM\Mapping\ClassMetadata::getUserClassMetadata() in C:\Bitnami\wamp
stack-5.4.35-0\apps\austockphoto\htdocs\vendor\madesst\doctrine-generation-bundle\Madesst\DoctrineGenerationBundle\Comma
nd\GenerateEntitiesDoctrineCommand.php on line 85

[Symfony\Component\Debug\Exception\UndefinedMethodException]
Attempted to call method "getUserClassMetadata" on class "Doctrine\ORM\Mapping\ClassMetadata".

doctrine:generate:entities [--path="..."] [--no-backup] [--propel-style] name

Would you please be able to help me with this and why this might be happening,

Cheers

Hi! Sorry for the long waiting time, I did not think that someone is using this bundle.

Thank you for this issue.
Version amended for normal operation with an updated doctrine already in master.

Thanks very much.

I love this bundle

Cheers

On Wed, Jun 10, 2015 at 1:45 AM Maksim Ustinov notifications@github.com
wrote:

https://github.com/madesst/MadesstDoctrineGenerationBundle/tree/v1.1.0


Reply to this email directly or view it on GitHub
#1 (comment)
.