Line 10 of modules/features/openpublic_press_release/openpublic_press_release.theme.inc is

  $vars['content']['field_taxonomy_issues']['#theme'] = 'field_issues';

But a press release needn't have an issue, and when that happens, I see a watchdog warning 'Theme key "field_issues" not found.'

I suggest it becomes:

   if (isset($vars['field_taxonomy_issues'])) {
      $vars['content']['field_taxonomy_issues']['#theme'] = 'field_issues';
    }

Comments

hefox’s picture

Version: 7.x-1.0-beta8 » 7.x-1.x-dev
Issue summary: View changes
Status: Active » Closed (cannot reproduce)

Field was removed, code no longer there