GeneratorBundle icon indicating copy to clipboard operation
GeneratorBundle copied to clipboard

Exits with "Trying to get property of non-object"

Open jjsmclaughlin opened this issue 6 years ago • 0 comments

Hi,

After invoking php bin/console remg:generate:entity, whatever I type as the name of the entity, I now get:

In ClassMetadataInfo.php line 3265:

Notice: Trying to get property of non-object

And the command exits.

I have used remg generator before with success, but now I get this when trying to use it on any new Symfony 3.4 project. Is this easily fixable? In light of the new entity generation tools in Symfony 4, is remg generator bundle now an abandoned project?

Thanks for any help!

Jamie

jjsmclaughlin avatar Sep 02 '19 15:09 jjsmclaughlin