Hi, I recently encountered a problem with my application.
I have a form method post sending data to my controller. Is was recognized as isPost but post() itself was empty. $_POST was empty as well. Another post action in my applications works and the only difference is ‘enctype’ =>‘multipart/form-data’
After I added this one to my other form, it suddenly works.
Anybody has any idea why this is the case?
Were there any file uploading fields?
No, just data, no file uploads, only text fields.
The weird thing is, that I am pretty sure, it worked at some time in the past when I coded the update … weird
Now it is getting really funny. I thought it is just this form. I checked my website and actually my complete website is no longer working with post forms. No $_POST is available when I don’t set the multipart enctype? I am confused… I needed to adjust all forms. No update on that website for weeks … weird