Try taking this line of code out, and it should work fine: protected $morphClass = 'product'; Or ch...
You can add it to your .env file, and access it like this: env('YOUR_CUSTOM_FIELD') Or, you can crea...
Do you not want select * to happen on every query or do you want a where clause to happen on every q...
Are you using any javascript at all to intercept the click? Do you have any middleware applied to it...
Your problem is this part: 'required|name',. There is no such thing as a "name" validation...
The Laravel portal for problem solving, knowledge sharing and community building.