Comments (2)
I had a similar error and fixed it differently:
if (file_exists(base_path('routes/tenant.php'))) {
Route::namespace('')
->group(base_path('routes/tenant.php'));
}
This code is directly copied from the current version of TenantServiceProvider.php
.
The issue arises I think because that file is published on install and doesn't get updated when tenancy
gets updates. I think it changed a while back.
from tenancy.
Yeah, we use Route::namespace(...)->group()
now
tenancy/assets/TenancyServiceProvider.stub.php
Lines 121 to 127 in 72b1b48
from tenancy.
Related Issues (20)
- Subdomain resolver middleware doesn't work with testing/localhost subdomain HOT 1
- $tenant->delete() doesn't delete associated db HOT 4
- tenants:run --tenants option not working HOT 1
- Laravel Passport Database Connection to Tenant Token Issue HOT 1
- Compatibilty issues with spatie/laravel-activitylog HOT 1
- --- HOT 1
- Setting up username and password for db HOT 2
- Route parameter not supported HOT 1
- SQLSTATE[42000]: Syntax error or access violation: 1068 Multiple primary key d efined (Connection: mysql, SQL: alter table `tenants` add primary key (`id`)) HOT 1
- Livewire tmp path HOT 3
- Route for healthcheck HOT 1
- Tenancy()->initialize not working when Telescope installed HOT 1
- InitializeTenancyByPath does not respect route model binding HOT 5
- laravel default locale not working on tenant domains. HOT 1
- Does Tenancy support Laravel 11? HOT 1
- Single-database tenancy: make table index HOT 3
- Add --force option to MigrateFresh HOT 1
- please show , how to use laravel in backend and next.js for forntend HOT 2
- Table migrated in central db instead of tenant db HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tenancy.