PHP notice when moving a forum topic and leaving behind a shadow copy

Created on 11 April 2011, over 13 years ago
Updated 24 April 2024, 7 months ago

When moving a forum topic to a different forum, leaving behind a shadow copy, the forum where the shadow copy resides gives the following error:

Notice: Undefined property: stdClass::$new_replies in template_preprocess_forum_topic_list() (line 1115 of C:\wamp\www\drupal\modules\forum\forum.module).

I tried this on a nearly clean drupal 7 installation(2011-Jan-05 production version) on on a localhost WAMP stack

🐛 Bug report
Status

Needs work

Version

1.0

Component

forum.module

Created by

🇪🇸Spain nuez Madrid, Spain

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

  • Needs backport to D7

    After being applied to the 8.x branch, it should be considered for backport to the 7.x branch. Note: This tag should generally remain even after the backport has been written, approved, and committed.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024