[buddypress-trac] [BuddyPress Trac] #7848: Using the legacy activity query causes notices

buddypress-trac noreply at wordpress.org
Thu May 31 17:21:26 UTC 2018


#7848: Using the legacy activity query causes notices
------------------------------+---------------------
 Reporter:  r-a-y             |       Owner:  r-a-y
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  3.1.0
Component:  Activity          |     Version:  3.0.0
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |
------------------------------+---------------------
Changes (by r-a-y):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"12152" 12152]:
 {{{
 #!CommitTicketReference repository="" revision="12152"
 Activity: After r11101, fix notices when using the legacy activity query.

 r11101 introduced incremented cache improvements when fetching activity
 items.  However, if the legacy activity query is force-enabled and if the
 `'count_total'` parameter is passed, a few notices are thrown due to
 the `$cache_group` variable not being defined.

 This commit addresses this by declaring the `$cache_group` variable during
 the legacy activity query block.

 See #7245.

 Fixes #7848 (3.x branch).
 }}}

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7848#comment:5>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list