Target [Illuminate\Database\Eloquent\Model] is not instantiable On Nested Resources.
i have
Trouble Ticket as root resource
, if i click on Analysis action, it could be redirect to Ticket Analysis resource as nested resources
. So far it's been running smoothly, but when i click New Ticket Analysis
i getting error like this Target [Illuminate\Database\Eloquent\Model] is not instantiable.
anyone can help ?
this is my flare error link : https://flareapp.io/share/bP91JDDPFlare
Target [Illuminate\Database\Eloquent\Model] is not instantiable. - The error occurred at http://127.0.0.1:8000/trouble/analysis/22/create
Solution:Jump to solution
thank for your help.. i solved this following to https://laraveldaily.com/post/filament-v3-nested-resources-trait-pages
2 Replies
In all files in:
App\Filament\Resources\TicketAnalysisResource\Pages
Are you calling 'Model' anywhere
You should provide your resource files and model files being uses in the resource.
Solution
thank for your help.. i solved this following to https://laraveldaily.com/post/filament-v3-nested-resources-trait-pages