Unable to save posts, headers already sent #747

benfreke opened this Issue Mar 12, 2014 · 2 comments


None yet

2 participants


WP 3.8.1
WPSEO 1.5.2

Notice: Undefined index: meta-robots-noindex in /home/lnemettr/public_html/wp-content/plugins/wordpress-seo/inc/class-wpseo-meta.php on line 423

Because it is unset on line 421. Moving the order of these removes the notice.

There is a second notice appearing as well, Notice: Undefined index: type in /home/lnemettr/public_html/wp-content/plugins/wordpress-seo/admin/class-metabox.php on line 667
but that disappears when the first error is fixed.

How to repeat:
in wp-config.php, set WP_DEBUG to true
In Settings -> Reading, check "Discourage search engines from indexing this site"
Edit an existing page
Click update

jrfnl commented Mar 12, 2014

@benfreke Thank you for reporting. This should be fixed with pull request #752.

@jrfnl jrfnl added the bug label Mar 12, 2014
jrfnl commented Mar 12, 2014

Closing as pull request is now merged in master.

@jrfnl jrfnl closed this Mar 12, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment