• Resolved bastom

    (@bastom)


    Hi and thanks for a wonderfull plugin! Just what i need.

    A couple days ago I got an error in my admin:
    Notice: Undefined index: separator-gp in /home/degrees/public_html/wp-admin/includes/menu.php on line 209

    I got this error after updating the google-font-manager plugin, but we now found out it wasn’t the fault of that plugin, altho it was the code that wasn’t commented out in that plugin displaying the error. You can see the conversation here.

    I located the ‘separator-gp’ in the gigpress plugin – so i assume thats where the error comes from. Now that i updated the google-font-manager plugin again – the errormsg is gone but not the error. So I thought I would let you know. It’s not holding back any functionality I guess. I’m also using hide-admin bar – so perhaps thats where the conflict comes from? Or….

    http://wordpress.org/plugins/gigpress/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Same problem here. Gigpress 2.2.9.2 (latest) on wp 3.7.1
    Note: this notice is only shown in the network admin (and with wp debug on).

    Found “separator-gp” in two places in gigpress/gigpress.php :

    449: 	$menu[] = array('', 'read', 'separator-gp', '', 'wp-menu-separator');
    ...
    464: 			$new_menu_order[] = 'separator-gp';

    which seem to correspond to the capability of the menu items being added.

    If this is a problem in menu.php please let us know if you’ve reported to WordPress, perhaps there’s a trac #

    p.s. workaround: removing line 449 is a way to remove the notice. this will just kill the menu separator before the Gigpress menu item pf wp-admin/ in the sites where gigpress is active.

    jorgeorpinel

    (@jorgeorpinel)

    Hello again.

    I just want to erport that the latest plugin version (2.3.1) still has this issue.

    Same workaround, but on line 452.

    mrherbivore

    (@mrherbivore)

    I can’t replicate this error. Is this only when using the Network admin, not in a single-site install of WordPress?

    jorgeorpinel

    (@jorgeorpinel)

    Yes.

    mrherbivore

    (@mrherbivore)

    Thanks, just fixed this in 2.3.2.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Notice: Undefined index’ is closed to new replies.