Well this happens because of your redirect
if (auth()->user()->id !== $post->user_id) {
return redirect('/articles')->with('error', 'Unauthorized Page');
}
It seems that the edit page is redirecting you to /articles in my browser. I can also see that in the developers console
Request URL: http://mvpop.co.uk/articles/41/edit
Request Method: GET
Status Code: 302 Found
Location: http://mvpop.co.uk/articles
So I think the user is not the created of that post. Maybe something goes wrong there?
Also it seems that you do send a session value in the form of error to the view, but you never display anything!
Let me know if this helps you out!