I am getting this PHP notice:

Notice: Undefined index: render element in drupal_find_theme_templates() (line 1378 of /vagrant_sites/roberts.gdg.drupal/includes/theme.inc).

As the documentation for hook_theme() says:

Each information array must contain either a 'variables' element or a 'render element' element, but not both.

But menu_attach_block_theme() returns an item without either of those. Patch to follow.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

james.williams created an issue. See original summary.

james.williams’s picture

Cameron Tod’s picture

Status: Needs review » Fixed

Good catch, thanks!

Status: Fixed » Closed (fixed)

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