First of all, set $debug = TRUE in app/config/app.php in order to see the full error details.
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.
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.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community