Support the ongoing development of Laravel.io →
Input Database Validation
Last updated 2 years ago.
0

First of all, set $debug = TRUE in app/config/app.php in order to see the full error details.

Last updated 2 years ago.
0

Thank you that helped in me finding the issue which was the route. It needed to be put to "any" instead of "get". I however ran into a error in saving: Call to undefined method stdClass::update(). I tried changing it to "save()" which gave the same error.

Last updated 2 years ago.
0

I was able to resolve the "update()" error with some help from dragoon from the IRC. This was due to not having the public $fillable as well as needing to use $article = Article::find($id); instead of the function I had made.

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

gwhitcher gwhitcher Joined 10 May 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.