While playing around with SonataUserBundle and FOSUserBundle I quickly found out that I had to remove both of them. Long story short, it seems that one of them is not yet supporting the latest version of the other.


Sadly, when trying to update the doctrine schema with


this pesky error popped up:


After rewinding all config changes made by the installation of those two bundles, the error was still there. So, the first step into finally fixing the problem was to remove these lines from config.yml:

And then, after a lot of forums research, web searching and so on, I found out that SonataUserBundle and FOSUserBundle both added several tables in the database. These always start with fos_* or acl_*  and removing them finally made things work as before.


I used to think it’s all about configs, but apparently there is a reference to this data type in the DB itself. It took me a while to figure this out and I really hope it helps. Cheers!

Need help with your next project?

Contact us

Privacy Preference Center