Title: Minor bug
Last modified: August 24, 2016

---

# Minor bug

 *  Resolved [Braad](https://wordpress.org/support/users/braad/)
 * (@braad)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/minor-bug-1/)
 * While working with this plugin with WP_DEBUG set to true I am getting these notices:
 *     ```
       Notice: Undefined index: page_info_single in /wp-content/plugins/genesis-post-info-meta/public/class-genesis-post-info-meta-public.php on line 124
   
       Notice: Undefined index: page_meta_single in /wp-content/plugins/genesis-post-info-meta/public/class-genesis-post-info-meta-public.php on line 125
       ```
   
 * In this case I’m not on a standard archive page, I’m on a regular page that happens
   to be outputting posts using the WP Views plugin.
 * The issue seems to be that in the function maybe_remove_post_info_meta in class-
   genesis-post-info-meta-public.php there is a check for the post type which is
   then used to check against the plugin option array, but in my use case the post
   type check returns ‘page’, which then throws the notice when used as part of 
   an array index lookup against the plugin option array.
 * I’m currently fixing this by adding the following extra check to line 118 of 
   the file:
 *     ```
       // Bail if post type is a page.
       if ( 'page' === $post_type ) {
       	return;
       }
       ```
   
 * To support the use case of outputting posts on a standard page, I think it would
   be a good idea to include this check in the next version of the plugin.
 * Other than that, thank you for making a great plugin!
 * [https://wordpress.org/plugins/genesis-post-info-meta/](https://wordpress.org/plugins/genesis-post-info-meta/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Mickey Kay](https://wordpress.org/support/users/mcguive7/)
 * (@mcguive7)
 * [11 years ago](https://wordpress.org/support/topic/minor-bug-1/#post-6143269)
 * Thanks for the heads up – this should be fixed in version 1.0.2.

Viewing 1 replies (of 1 total)

The topic ‘Minor bug’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/genesis-post-info-meta.svg)
 * [Genesis Post Info & Meta](https://wordpress.org/plugins/genesis-post-info-meta/)
 * [Support Threads](https://wordpress.org/support/plugin/genesis-post-info-meta/)
 * [Active Topics](https://wordpress.org/support/plugin/genesis-post-info-meta/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/genesis-post-info-meta/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/genesis-post-info-meta/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Mickey Kay](https://wordpress.org/support/users/mcguive7/)
 * Last activity: [11 years ago](https://wordpress.org/support/topic/minor-bug-1/#post-6143269)
 * Status: resolved