Closed laurentvd closed 8 years ago
Any news on this? Is there any way I can help debug this issue?
Hey sorry for the late response.
Quote from the docs:
If you are using an annotation driver, then add the Gedmo (Behavioral) extensions service provider in config/app.php:
LaravelDoctrine\Extensions\GedmoExtensionsServiceProvider::class,
So yes, it's logical you are getting that error when using XML driver. Remove the GedmoSP and you'll be good to go.
Whoops, sorry, my bad. I thought I did read the docs carefully, but clearly I overlooked something :) Oddly enough, I didn't check to see if the extensions still worked. I just assumed I needed the service provider for the extensions to work. Anyway, thanks!
First; great work on the whole Doctrine for Laravel suite. Really like it. I'm not sure if this is an
laravel-doctrine/extensions
orlaravel-doctrine/orm
issue, but when I switch toxml
metadata, I get the following error:Let me know if you can reproduce the error with this information. If I remove the
LaravelDoctrine\Extensions\GedmoExtensionsServiceProvider::class
from myapp.php
or switch back to annotations, the error is gone.