• Foogallery version: 1.0.1
    PHP version: 5.6.25

    When I turn on WP_DEBUG, I get an error message reading:
    Notice Undefined offset: 3 in …/plugins/foogallery/includes/admin/class-menu.php on line 63

    This is the relevant code:

    if ( current_user_can( 'activate_plugins' ) ) {
    
    	add_submenu_page( $parent_slug, $menu_labels[3]['page_title'], $menu_labels[3]['menu_title'], $capability, 'foogallery-systeminfo', array( $this, 'foogallery_systeminfo' ) );
    
    }

    This doesn’t seem to be causing any visible issues as far as I can tell – just not sure why it’s popping up.

    • This topic was modified 8 years, 2 months ago by lunacodes.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Notice Undefined offset: 3 in /foogallery/includes/admin/class-menu.php’ is closed to new replies.