Home › Forums › Bug Reports › Can not save empty text field › Reply To: Can not save empty text field
John, I’ve done as suggested however now I can’t reproduce the issue!
I downgraded PHP from 7 back to 5.6 and attemped the page update again and the blank value is now saving as it should. The post array was as expected, the field was present and empty and that was saved to the database.
I would say the issue is related to PHP somehow, either a setting in php.ini, mod_security rule or perhaps Suhosin (but I don’t think Suhosin was the issue).
Thanks for your help.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
Plugin boilerplates can do some of the heavy lifting during initial development. We look at four options to speed up your plugin creation. https://t.co/ZtMsdBxAHw— Advanced Custom Fields (@wp_acf) June 5, 2023
© 2023 Advanced Custom Fields.