F
Filament13mo ago
wottavm

Page that extends RegisterTenant gives error.

I am following the docs from the following page to enable tenants within filament. ( https://filamentphp.com/docs/3.x/panels/tenancy#adding-a-tenant-registration-page ) Currenly when I created a new user and I am redirected to the RegisterTeam page which extends the RegisterTenant page I am getting the following error. The error is very logical but, I am uncertain how to add that function. This error comes from the index.blade.php from a clean filament install. If this is a bug I will create a ticket on GH.
Method App\Filament\App\Pages\RegisterTeam::getCachedSubNavigation does not exist.
Method App\Filament\App\Pages\RegisterTeam::getCachedSubNavigation does not exist.
Solution:
Messed it up by myself. The class had a property $view which was overriding the view property on the RegisterTenant class. Note for others: When creating a page using artisan make:filament-page for pages like this remove the view property to check if you get the expected result....
Jump to solution
1 Reply
Solution
wottavm
wottavm13mo ago
Messed it up by myself. The class had a property $view which was overriding the view property on the RegisterTenant class. Note for others: When creating a page using artisan make:filament-page for pages like this remove the view property to check if you get the expected result.
Want results from more Discord servers?
Add your server