Just wanted to chime in that I’m seeing this too.
I’m seeing this as well with Yoast WordPress SEO Premium on WordPress 4.0.
Also seeing the same, with headers alreay sent messages on publish or update:
Notice: Undefined index: authorship in …/wp-content/plugins/wordpress-seo/inc/class-wpseo-meta.php on line 451
Notice: Undefined index: type in …/wp-content/plugins/wordpress-seo/admin/class-metabox.php on line 694
Notice: Undefined index: authorship in …/wp-content/plugins/wordpress-seo/inc/class-wpseo-meta.php on line 451
Notice: Undefined index: type in …/wp-content/plugins/wordpress-seo/admin/class-metabox.php on line 694
Warning: Cannot modify header information – headers already sent by (output started at …/wp-content/plugins/wordpress-seo/inc/class-wpseo-meta.php:451) in …/wp-admin/post.php on line 233
Warning: Cannot modify header information – headers already sent by (output started at …/wp-content/plugins/wordpress-seo/inc/class-wpseo-meta.php:451) in …/wp-includes/pluggable.php on line 1173
Mine is fixed after I turned off another plugin “Use Google Libraries” — are any of you also using that one?
I don’t know yet why this makes a difference!
I had the same errors as the first poster, but on lines 451 (same) and 476 (different).
Edit: Or not — the WordPress SEO metabox fields appear now, but I do still see the two errors below it.
I’m also getting the same issue with the updated WordPress SEO Version 1.6 on WordPress 4.0.
If I go to add a page or any post type this message appears:
Notice: Undefined index: authorship in /…/wp-content/plugins/wordpress-seo/inc/class-wpseo-meta.php on line 451
Notice: Undefined index: type in /…/wp-content/plugins/wordpress-seo/admin/class-metabox.php on line 694
Very annoying and my client isn’t happy either.
Please advise.
@mwrusnak – I’m not using “Use Google Libraries”
I’ve seen the same notices:
- Undefined index: authorship in wp-content/plugins/wordpress-seo/inc/class-wpseo-meta.php on line 451
- Undefined index: type in wp-content/plugins/wordpress-seo/admin/class-metabox.php on line 694
Fixed turning off “POLYLANG” plugin, but it can’t be the solution. :\
@mwrusnak – and I’m not using “Use Google Libraries”
Confirmed on my sites too: WPSEP 1.6, WP 4.0
Yep, WP 3.9.2… not using any of the two plugins mentioned already in this thread.
All I did to fix this for the time being (until it’s fixed permanently) is comment out line 451 in inc/class-wpseo-meta.php.
This line
$field_defs['authorship']['options']['-'] = sprintf( $field_defs['authorship']['options']['-'], ( ( isset( $options[ 'noauthorship-' . $post_type ] ) && $options[ 'noauthorship-' . $post_type ] === true ) ? __( 'don\'t show', 'wordpress-seo' ) : __( 'show', 'wordpress-seo' ) ) );
I have the same issue! Where is update?
I have the same issue! Where is update?
@jtwebb – thanks for the temporary fix: it works
Albeit they (Yoast) can’t test every possible scenario.
rant
However when I get an email (less than 15 min previously) advising of the rel=author removal and to update to 1.6, to do it and then watch as everything go haywire, I wish they wouldn’t be so quick to release updates…just saying.
/rant
And btw, no I don’t run any of the aforementioned plugins. I use wp as a cms and run 7 plugins, in total.