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?
Sign in to participate in this thread!
We'd like to thank these amazing companies for supporting us