Hello @3hmdsh
Do you get any 404 error if you open the page on your hosting environment? In the past I had a problem like yours that was created because a missing 404 that resulted in a Laravel page that generated a new csrf token.
Ps, I have updated your post to have a more readable code blocks, besides that I think you post a lot for your question but I understand that it is because you don't know where to search.
thank you tvbeek for responding . No i didn't see any 404 error . sorry for that but i don't know where to search . Could the error be caused by HTTPS?
If you form is on http and you post to https or the other way around it can be a problem that the session is not known. (Also if there is a redirect on the request)
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community