Problem is still there on 3.9 if you save menus (on top of the admin page):
Notice: Undefined index: fg_perm_noncedata in /wp-content/plugins/featured-galleries/components/metabox.php on line 53
But the menu is saved.
If I want so save a post it gets even worse:
Notice: Undefined index: fg_perm_noncedata in /wp-content/plugins/featured-galleries/components/metabox.php on line 53
Warning: Cannot modify header information - headers already sent by (output started at /wp-content/plugins/featured-galleries/components/metabox.php:53) in /wp-admin/post.php on line 235
Warning: Cannot modify header information - headers already sent by (output started at /wp-content/plugins/featured-galleries/components/metabox.php:53) in /wp-includes/pluggable.php on line 1121
(On a white page, no admin page is shown, you have to go back and reload manually.)
But the post is saved also…
This is a really cool plugin with a great, intuitive UI, but just without these problems … ??
Cheers
Torsten
Also what version of WP, what version of the plugin, what post types are you using it for, (post, page, custom types, etc).
We started with WP 3.8.2/3.8.3 and Plugin 1.1.6, now we are on WP 3.9 and Plugin version 1.2.2. We just use it for 1 CPT (see below).
You have the plugin installed.
You go to Appearance -> Menus
You click Save Menu.
You get a notice near top of screen saying that error.
Yes, that’s right.
Maybe this is important for you. We use this code to just made the metabox available to one CPT.
/**
* Featured gallerys just for CPT
*
* @return array for allowed post types
**/
add_filter( 'fg_post_types', 'post_type_filter_for_featured_gallery', 10 );
function post_type_filter_for_featured_gallery( $posttype_array ) {
return array( 'custom-cpt-name' );
}
If I save a post from this CPT everything is okay. If I try to save a post, a page or a menu, I got the error messages.