While reviewing #1372846: Provide (developer) feedback when handler cannot be instantiated / loaded (major DX improvement) and working on some Views problems of my own, I encountered the following error:

Notice: Undefined variable: output in views_debug() (line 1603 of /home/jason/vcs/git/drupal/views/7.x-3.x/views.module).

Which is this line:

drupal_add_region_content($devel_region, $output);

I'm assuming that $output is supposed to be $message. The attached patch changes that variable.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

oadaeh’s picture

FileSize
800 bytes

Here's a patch that removes the non-functioning drupal_add_region_content() and makes dpm() the default.

dawehner’s picture

Status: Needs review » Fixed

Thanks for working on this!

Beside your changed i removed the options in the settings ui as well.

dawehner’s picture

Title: Undefined variable: output in views_debug » Remove region support for vpr

Update the title.

Status: Fixed » Closed (fixed)

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

oadaeh’s picture

Assigned: oadaeh » Unassigned
Issue summary: View changes