This notice shows up when Views is trying to create the pseudo handler for broken / missing handlers. Looks like a variable name changed and the return statement wasn't updated. Attached patch uses

Comments

rszrama’s picture

Hmm, forgot to finish my sentence. The patch uses $broken['handler'] instead of $type:

  // DEBUG -- identify missing handlers
  vpr("Missing handler: $table $field $key");
  $broken = array(
    'title' => t('Broken handler @table.@field', array('@table' => $table, '@field' => $field)),
    'handler' => 'views_handler_' . $key . '_broken',
    'table' => $table,
    'field' => $field,
  );
  return _views_create_handler($broken, 'handler', $broken['handler']);
dawehner’s picture

Status: Needs review » Closed (duplicate)

There is already a issue for this: #1062506: Misnamed parameter for creation of broken handlers.

Ps: your fix seems to be wrong :)

rszrama’s picture

hehe Glad there's a fix. I had no clue what $type was supposed to be. : P

Letharion’s picture

Assigned: Unassigned » dawehner
Status: Closed (duplicate) » Needs review
Letharion’s picture

Status: Needs review » Closed (duplicate)

ooOps