After installing Drupal 7.29, I am getting a PHP Notice on the Status Report page (admin/reports/status):

Notice: Undefined index: value in theme_status_report() (line 2594 of /Library/WebServer/Documents/drupal7/modules/system/system.admin.inc).

Through debugging I have determined that the Clean URLs requirement is generating this notice.

Comments

dcam’s picture

I'm not seeing this on any of my sites. Do you have any modules enabled that might be causing this issue?

meustrus’s picture

Status: Active » Closed (fixed)

Good point. I assumed the "Clean URLs" check was in a core implementation of hook_requirements but actually it was something I did and forgot about. So it's just my own issue which I just fixed.

I would like to suggest though that the documentation for hook_requirements be improved. It says of the 'value' that "During install phase, this should only be used for version numbers, do not set it if not applicable." This implies it should be safe not to generate a value for the other phases, which is what generated the warning. I'm hoping that the interface itself is simpler in D8, but the documentation confused me for D7.