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

Newly created resource Page fails to load with "InvalidArgumentException View [{{ view }}] not found." #189

Closed
JonathanH-UK opened this issue Mar 12, 2021 · 1 comment
Labels
bug Something isn't working confirmed

Comments

@JonathanH-UK
Copy link

I've spoken briefly to ryangjchandler about this in the Discord channel.
It looks like when the resource scaffold gets built, that it's including an invalid definition of $view in the page template.

Steps to reproduce:

  1. 'artisan make:filament-resource '
  2. Define a basic Form and Table schema in the main Resource php
  3. Try to load the menu item from the Filament Dashboard
  4. Error as per issue subject.

Workaround:
Either comment out the $view in the Pages/List.php file or (presumably) give it a valid custom view to use.

@danharrin danharrin added bug Something isn't working confirmed labels Mar 12, 2021
@danharrin
Copy link
Member

Fixed in v1.5.5.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working confirmed
Projects
None yet
Development

No branches or pull requests

2 participants