Comments (3)
Can you test the following patch?
diff --git a/vendor/stancl/tenancy/src/Vite.php b/vendor/stancl/tenancy/src/Vite.php
index 1464e3a3..91ab9aad 100644
--- a/vendor/stancl/tenancy/src/Vite.php
+++ b/vendor/stancl/tenancy/src/Vite.php
@@ -15,6 +15,9 @@ class Vite extends BaseVite // todo move to a different directory in v4
*/
protected function assetPath($path, $secure = null)
{
- return $this->assetPathResolver ? ($this->assetPathResolver)($path, $secure) : global_asset($path);
+ // In Laravel 9, the property doesn't exist.
+ return (isset($this->assetPathResolver) && $this->assetPathResolver)
+ ? ($this->assetPathResolver)($path, $secure)
+ : global_asset($path);
}
}
from tenancy.
The above patch does fix the issue within Laravel 9.
from tenancy.
Thanks for the confirmation, tagging a release now.
from tenancy.
Related Issues (20)
- Undefined constant RedisCluster::OPT_PREFIX HOT 5
- With laravel breeze and react ,Inertia.js not working after installing the package HOT 1
- Wrong domain url when on queue HOT 2
- Jestream Laravel Tenacy HOT 5
- InitializeTenancyByPath with livewire within tenant context throws exception HOT 8
- Make runForMultiple yield the callbacks return HOT 5
- Sugestion new Middleware
- Pass tenant to handle when using TenantAwareCommand trait HOT 2
- Route helper in job doesn't use tenant context domain HOT 5
- Tenancy is not working for Livewire HOT 4
- Nested sub domain HOT 3
- Could Not Switch tenants when using Aritsan command HOT 1
- laravel 10 support HOT 1
- LOG.warning tenantIdColumn is deprecated HOT 1
- PostgreSQL Tenant Database Not Automatically Created During Tenant Creation
- Call to a member function getTenantKey() on null HOT 2
- Using RedisTenancyBoostrapper causes problems with queue worker
- Issue with Invalidating Tenant Cache when Redis Data Separation is Enabled
- Create Tenant will trigger Tenancy bootstrappers HOT 1
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.