[buddypress-trac] [BuddyPress Trac] #9005: PHP Warning: Undefined variable $max

buddypress-trac noreply at wordpress.org
Thu Oct 12 00:46:50 UTC 2023


#9005: PHP Warning:  Undefined variable $max
-------------------------------+---------------------
 Reporter:  lenasterg          |       Owner:  (none)
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  12.0.0
Component:  Blogs              |     Version:
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |
-------------------------------+---------------------
Changes (by imath):

 * keywords:  needs-patch => reporter-feedback


Comment:

 Well it's actually defined at line 163: `$max = (int) wp_unslash(
 $r['max'] );`.

 See https://buddypress.trac.wordpress.org/browser/trunk/src/bp-
 blogs/classes/class-bp-blogs-template.php#L163

 Are you sure the notice error is about this file?

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


More information about the buddypress-trac mailing list