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

BadMethodCallException Method App\Filament\Resources\PageResource::register does not exist. at vendor/laravel/framework/src/Illuminate/Macroable/Traits/Macroable.php:115 111▕ */ 112▕ public function __call($method, $parameters) 113▕ { 114▕ if (! static::hasMacro($method)) { ➜ 115▕ throw new BadMethodCallException(sprintf( 116▕ 'Method %s::%s does not exist.', static::class, $method 117▕ )); 118▕ } 119▕ i Bad Method Call: Did you mean App\Filament\Resources\PageResource::registerRoutes() ? +7 vendor frames 8 artisan:35 Illuminate\Foundation\Console\Kernel::handle() Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 1 #88

Closed
curtisdelicata opened this issue Jun 10, 2024 · 2 comments
Labels

Comments

@curtisdelicata
Copy link
Contributor

curtisdelicata commented Jun 10, 2024

No description provided.

Copy link
Contributor

sweep-ai bot commented Jun 10, 2024

Sweeping

0%

Actions

  • ↻ Restart Sweep

❌ Unable to Complete PR

Thank you for reporting this issue. To help resolve the error with the missing register method in the PageResource class, could you please provide some additional details? Specifically:

  1. Can you confirm if the method that should be called is actually registerRoutes instead of register? The error message suggests this might be the case.

  2. If registerRoutes is the intended method, could you point me to the code snippet or file where register is being called incorrectly? I'll need to locate that to fix the method name.

  3. If register is the correct method name, could you provide some details on what that method is supposed to do? I'll need that information to implement the missing method properly.

Once I have those details, I'll be better equipped to resolve this issue. Please let me know if you need any clarification or have additional information to provide.

Report a bug.


Tip

To recreate the pull request, edit the issue title or description.

This is an automated message generated by Sweep AI.

@curtisdelicata
Copy link
Contributor Author

Fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant