The following error happens when going to /admin/structure/features
It seems a lot of happening just from invoking rules_watchdog(), see below:

 Invalid argument supplied for foreach() in includes/module.inc on line 1118

This happens on simple PHP Notice error:

watchdog( $type = 'php', $message = '%type: !message in %function (line %line of %file).', $variables = array ('%type' => 'Notice', '!message' => 'Undefined index: foo', '%function' => 'drupal_theme_initialize()', '%file' => 'includes/theme.inc', '%line' => 100, 'severity_level' => 5), $severity = 5, $link = ??? )

The problem is that this happens during drupal_theme_initialize(), so it's bad place to do rebuildEventCache(), especially from watchdog().

CommentFileSizeAuthor
Screen Shot 2016-03-18 at 14.50.30.png258.92 KBkenorb
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

kenorb created an issue. See original summary.

kenorb’s picture

Issue summary: View changes
kenorb’s picture

Issue summary: View changes
kenorb’s picture