Closed (duplicate)
Project:
Total Control Admin Dashboard
Version:
6.x-1.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Dec 2009 at 19:22 UTC
Updated:
15 Dec 2009 at 13:01 UTC
Line 15 of total_control.default_views.inc has a malformed call to drupal_set_message():
drupal_set_message(t('!feature features are being excluded because some needed modules are not enabled.'), array('!feature' => substr($file->name,8)));
which should be:
drupal_set_message(t('!feature features are being excluded because some needed modules are not enabled.', array('!feature' => substr($file->name,8))));
This results passing an array to drupal_set_message() for the "type" parameter and throws errors in bootstrap.inc
Comments
Comment #1
lyricnz commentedOops, I didn't find this until after I'd raised the same issue in #660204: warning: Illegal offset type in isset or empty in ...../includes/bootstrap.inc on line 877.. Marking this one as a duplicate, because the other issue has a patch. Hope that's okay!