Closed fouadSalkini closed 1 year ago
The class 'App\Entity\Main\TenantUser' was not found in the chain configured namespaces App\Entity\Tenant
also got the same error while using the tenancy bundle in my standalone app
it seems that doctrine is using the tenant db config instead of the main db config while creating a new tenant.
@RamyHakam any solution ?
Hey @fouadSalkini
Thanks for raising this issues
The attached PR fixes that issue This issue explains You should set the default connection and entity manager in your doctrine config
The class 'App\Entity\Main\TenantUser' was not found in the chain configured namespaces App\Entity\Tenant
also got the same error while using the tenancy bundle in my standalone app
it seems that doctrine is using the tenant db config instead of the main db config while creating a new tenant.
@RamyHakam any solution ?