vmeretail / multi-tenancy-bundle

A multi tenancy bundle for Symfony 2 apps
25 stars 11 forks source link

Not working with Symfony 3 #41

Closed qweluke closed 7 years ago

qweluke commented 7 years ago

Symfony 3.2 throws this error:

FatalThrowableError in EntityRepository.php line 64: Type error: Argument 2 passed to Doctrine\ORM\EntityRepository::__construct() must be an instance of Doctrine\ORM\Mapping\ClassMetadata, none given, called in /home/luke/wwwdata/nauka/bitbucket/workskedge/var/cache/dev/appDevDebugProjectContainer.php on line 4404

StephenGillCoop commented 7 years ago

Hi @qweluke unfortunately we're not maintaining this, because we've moved to Laravel now.

I'm not sure, but maybe some of the forks have continued support?

qweluke commented 7 years ago

@stevergill thanks for an answer. I think that it would be nice if you add that information to the docs. Regards

StephenGillCoop commented 7 years ago

@qweluke you're right, good point. We'll get that done.

StephenGillCoop commented 7 years ago

@pmartelletti whats the latest Symfony version we support here?

pmartelletti commented 7 years ago

@qweluke we only support until symfony 2. However, I think you can use this fork, that supports Symfony 3:

https://github.com/develth/multi-tenancy-bundle