Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
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.
Comment | File | Size | Author |
---|---|---|---|
#1 | missing_output_variable.patch | 800 bytes | oadaeh |
missing_output_variable.patch | 407 bytes | oadaeh | |
Comments
Comment #1
oadaeh CreditAttribution: oadaeh commentedHere's a patch that removes the non-functioning drupal_add_region_content() and makes dpm() the default.
Comment #2
dawehnerThanks for working on this!
Beside your changed i removed the options in the settings ui as well.
Comment #3
dawehnerUpdate the title.
Comment #5
oadaeh CreditAttribution: oadaeh commented