© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
4 replies
malebestia.

Call to undefined method Modules\MyModule\Filament\Resources\QuestionChartResource::getUrl()

Hello everyone,
inside a RelationManager, in my table, I inserted the following custom action:

->actions([
Tables\Actions\EditAction::make(),
Tables\Actions\Action::make('regenImg2')
->label('regenerate2')
->icon('heroicon-o-arrow-path')
->url(fn ($record): string => QuestionChartResource::getUrl('regen-img-2', ['record' => $record, ...self::$route_params])),
])


as per this paragraph,
https://filamentphp.com/docs/3.x/panels/resources/getting-started#generating-urls-to-resource-pages

but it gives me the error
"Call to undefined method Modules\MyModule\Filament\Resources\QuestionChartResource::getUrl()"

suggestions on what I'm doing wrong?

Thanks in advance
Getting started - Panel Builder - Filament
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Call to undefined method Filament\Resources\Pages\PageRegistration::shouldRegisterNavigation()
FilamentFFilament / ❓┊help
3y ago
Call to undefined method Filament\FilamentManager::getFontWeights()
FilamentFFilament / ❓┊help
3y ago
Call to undefined method Filament\Notifications\DatabaseNotification::toArray()
FilamentFFilament / ❓┊help
2y ago
Call to undefined method Staudenmeir
FilamentFFilament / ❓┊help
3y ago