Closed (won't fix)
Project:
Drupal core
Version:
7.x-dev
Component:
base system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Dec 2008 at 12:39 UTC
Updated:
27 Jun 2018 at 13:37 UTC
Jump to comment: Most recent
Comments
Comment #1
kenorb commentedProbably it happens when _element_info() receiving array type instead of string.
And it can be related when theme function returns NULL as well.
I can reproduce this bug using content_profile_registration module.
Comment #2
damien tournoud commentedThe typical answer is that "we don't babysit broken code", which is in fact the combination of two design principles:
(1) we don't try to hide failures created by modules, because that would be the best way to have them ignored
(2) we don't add (too much) condition-checking code (except for type-hinting we can now do in D7 because we only support PHP 5.2+), because those bloat the code while being only useful in the case of a broken module
So I think we will not fix this in D6, but bumping to D7, there might be some type-hinting to add.
Comment #3
kenorb commentedAdditional case in index.php is not additional condition which will use some additional time of processor when everything is fine, but it help figure out why the screen is white. Sometimes it can be because not of broken module, but by some user arguments.
Even there can be some simple condition, that if menu_execute_active_handler() will return NULL, then go to drupal_error_page() or something, so admin will have this issue in logs. Otherwise Drupal "think" that everything is ok, but user see white screen.
Comment #4
kenorb commentedIs there anything in API (6.x) or Drupal help that menu_execute_active_handler() should never return NULL and it's invalid value?
See: http://api.drupal.org/api/function/menu_execute_active_handler/6
Issue: #717416: Incompatibility with Panels/Page Manager module when panels have "Disable Drupal regions" selected
with Panels/Page Manager module which returns NULL when menu_execute_active_handler()
It's something normal, or the contrib code is broken?
Comment #5
kenorb commentedComment #6
kenorb commented