Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Call to undefined method TomatoPHP\FilamentAccounts\Services\FilamentAccountsServices::registerAccountActions() #6

Closed
ceerker opened this issue Dec 24, 2024 · 3 comments

Comments

@ceerker
Copy link

ceerker commented Dec 24, 2024

Dear filament-wallet Maintainer,

I hope this message finds you well. I am currently using your filament-wallet package in my project and have encountered an issue when using it alongside the "tomatophp/filament-accounts" package version "^2.3".

The problem arises from the fact that the registerAccountActions method has been removed from the FilamentAccountsServices.php class in the "tomatophp/filament-accounts" package. This has caused a "Call to undefined method TomatoPHP\FilamentAccounts\Services\FilamentAccountsServices::registerAccountActions()` error when attempting to use filament-wallet.

I believe this issue could be resolved by either updating the filament-wallet package to accommodate the changes in the "tomatophp/filament-accounts" package or by providing a clear migration path for users who are upgrading from previous versions of "tomatophp/filament-accounts".

Would it be possible for you to consider updating filament-wallet to ensure compatibility with the latest versions of "tomatophp/filament-accounts", or to provide guidance on how to resolve this conflict?

Thank you for your time and consideration. I look forward to your response and appreciate your continued work on filament-wallet.

Best regards,

@laravellously
Copy link

I also encountered this issue. here's how I solved it: Add the following code to your Panel Service Provider eg, AdminPanelProvider

public function boot() { AccountActions::register([ WalletAction::make('wallet') ]); }

@3x1io
Copy link
Member

3x1io commented Feb 8, 2025

fixed on the last version.

@3x1io 3x1io closed this as completed Feb 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants