Skip to:

Opened 6 months ago

#3428 new defect

Statistics widget throws Undefined index if no relies or topics tags

Reported by: Robin W Owned by:
Milestone: Awaiting Review Priority: low
Severity: minor Version:
Component: General Keywords:


If you create a new install with just one forum and one topic and no replies and add the statistics widget to the widget area then in the front of the website you get these notifications.

Notice: Undefined index: reply_count in /var/docs/server.tst/public/wp-content/plugins/bbpress/templates/default/bbpress/content-statistics.php on line 37

Notice: Undefined index: topic_tag_count in /var/docs/server.tst/public/wp-content/plugins/bbpress/templates/default/bbpress/content-statistics.php on line <i>42

Change History (0)

Note: See TracTickets for help on using tickets.