When looking at

http://localhost/admin/reports/status

I receive the following error message:

Notice: Undefined index: value in theme_status_report() (line 2603 of /var/www/drupal/modules/system/system.admin.inc).

The error is thrown from the following line:

$output .= '<tr class="' . $severity['class'] . ' merge-down"><td class="status-icon">' . $severity['icon'] . '</td><td class="status-title">' . $requirement['title'] . '</td><td class="status-value">' . $requirement['value'] . '</td></tr>';

I checked with a debugger and the problem is, that the requirements array of the atjs module does not have an 'value' entry. It seems to me, that 'title' and 'value' are the minum requirements. I recommend to add something like 'missing' and 'installed' during the processing in atjs.install::atjs_requirements(..).

What do you think?

Do you need any additional information?

Comments

ehj-52n created an issue. See original summary.

ehj-52n’s picture

Simple work around:

diff --git a/sites/all/modules/atjs/atjs.install b/sites/all/modules/atjs/atjs.install
index 4d3055e..2c2441b 100644
--- a/sites/all/modules/atjs/atjs.install
+++ b/sites/all/modules/atjs/atjs.install
@@ -240,6 +240,7 @@
     'atjs_libraries' => array(
       'title' => $t('At.js - Libraries'),
       'severity' => REQUIREMENT_OK,
+      'value' => '&nbsp;',
     ),
   );
 
david.hughes’s picture

Thanks for pointing this out - I've fixed this by moving the description message into the 'value' property.

david.hughes’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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