Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

bhattji's avatar

Target [Illuminate\Database\Eloquent\Model] is not instantiable

I have the UserResource, which I guess, working all fine sometime before, however I find now I am not abe to create a new User (Target [Illuminate\Database\Eloquent\Model] is not instantiable.)

The EditUser works fine though

How to solve this?

Please help asap

0 likes
1 reply
Tray2's avatar

Show us the code for the one that works, and the one that doesn't.

Please or to participate in this conversation.