Closed (fixed)
Project:
Drupal core
Version:
7.29
Component:
base system
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Jul 2014 at 16:12 UTC
Updated:
24 Jul 2014 at 14:37 UTC
Jump to comment: Most recent
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
Comment #1
dcam commentedI'm not seeing this on any of my sites. Do you have any modules enabled that might be causing this issue?
Comment #2
meustrus commentedGood 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.