Support » Fixing WordPress » Can't save empty/null values in admin

  • GavinJaynes


    Hi, on a specific server running:

    Apache 2.2.31
    MySQL 5.1.73-cll
    PHP 5.6.15

    I can not save empty fields, it just reverts to what was initially in there. This is the WYSIWYG and other meta fields too. If I replace the data it saves no issues. Just won’t accept empty fields.

    Any suggestions are appreciated.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi, same issue here.

    Me, too. have re-created the problem without any plugins, using default theme, and on both WP 4.4.2 and WP 4.4.1

    WordPress 4.4.2
    PHP Version 5.6.18
    MariaDB 10.1.11
    Apache 2.4

    Same problem.

    Did someone found a solution?

    The solution on my server was found in a Suhosin setting.

    Suhosin is a PHP security system. In order to allow null values, I added some configuration lines to php.ini.

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

    That was it!

    Thank you Barbara, I really appreciated your help.


    Thanks for the fix — is this a relatively new issue? Haven’t noticed this issue in the past with servers running Suhosin…. on prior versions of WordPress.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Can't save empty/null values in admin’ is closed to new replies.