On Panels, features and/or views moduels I allwas get following:
Notice: Undefined index: node/add/user-profile-comment in page_manager_node_edit_menu_alter()
It's minor because it's very rare to call such fileds on those modules.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

matej.lehotsky’s picture

Problem is in hook_menu_alter where menu path is unset. It should be like this:

function user_profile_comments_menu_alter(&$items) {
  if (!empty($items['node/add/user-profile-comment'])) {
    $items['node/add/user-profile-comment']['type'] = MENU_CONTEXT_NONE;
    $items['node/add/user-profile-comment']['access callback'] = FALSE;
  }
}
sanchiz’s picture

Version: 7.x-1.0 » 7.x-1.x-dev
Status: Active » Needs work

Hi @raweez,

It looks good!

Would be nice if you can create patch, then I will commit it right away. https://www.drupal.org/node/707484

Thanks,
Alex

matej.lehotsky’s picture

  • sanchiz committed 60c40a2 on 7.x-1.x authored by raweez
    Issue #2545058 by raweez, pinueve: Panels, features, views missing index
    
sanchiz’s picture

Thank you @raweez, committed!

sanchiz’s picture

Status: Needs work » Reviewed & tested by the community
sanchiz’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

JimmZ made their first commit to this issue’s fork.