Got this error/notice on my topics listing page:

Notice: Undefined index: teaser in _template_preprocess_advanced_forum_topic_list_view() (line 55 of ... .../advanced_forum/includes/template_preprocess_advanced_forum_topic_list_view.inc).

I dumped the $renders var in _template_preprocess_advanced_forum_topic_list_view(), and found that indeed there is no teaser or related element.

A quick fix will be to do an isset() check, and ignore teaser if it isn't set. From the comments in the code, it seems this is for a 'popup preview', which doesn't sound absolutely necessary, so I assume it's OK to just ignore it.

Will attach a patch shortly.

Thanks.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

victoriachan’s picture

Status: Active » Needs review
FileSize
1.32 KB

Patch attached

troky’s picture

Status: Needs review » Fixed

Committed. Thanks for the patch.

Status: Fixed » Closed (fixed)

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

wxman’s picture

Is this going to get added to the Recommended releases soon?