We are aware of a potentially service impacting issue. Learn more

WordPress won't save no parent assignment or null/blank custom field entries Print

  • 0

If you are running WordPress on Apache and on a version of PHP later than 5.3.x, and experience any of the following issues:

  1. You cannot save the parent of a page from from an existing page .... to "no parent"
  2. You cannot save a custom field value, changing it from a populated value to a blank/null value

In either of the case above, these are typically caused by the SUHOSIN module for PHP.
The following should resolve this 

  1. Edit you php.ini file, adding the following entries after the existing entries for SUHOSIN.

    suhosin.cookie.disallow_nul = Off
    suhosin.get.disallow_nul = Off
    suhosin.post.disallow_nul = Off
    suhosin.request.disallow_nul = Off

  2. Then restart Apache Web Server

  3. Viola, you should now be able to save null values.

Was this answer helpful?

« Back

Powered by WHMCompleteSolution