[buddypress-trac] [BuddyPress] #1728: Notices revealed with WP_DEBUG

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Wed Mar 24 14:13:08 UTC 2010


#1728: Notices revealed with WP_DEBUG
-------------------------+--------------------------------------------------
 Reporter:  kristarella  |       Owner:                          
     Type:  defect       |      Status:  new                     
 Priority:  minor        |   Milestone:  Future Release          
Component:  Activity     |    Keywords:  has-patch, needs-testing
-------------------------+--------------------------------------------------
Changes (by AD7six):

  * keywords:  => has-patch, needs-testing
  * component:  => Activity


Comment:

 Hi,

 With the sole purpose of being able to see my own errors - I went through
 the buddy press core and corrected (or unintentionally hid) the errors I
 encountered - at least in the admin and superficially browsing around the
 public pages.

 IMO this is not a minor bug. Generating an error is not free (i.e. Buddy
 press would perform faster if it didn't generate so many errors) and it
 makes it pretty difficult to contribute/write plugins if your own mistakes
 get drowned in the noise.

 Rather than correct the error messages (as I have done) it would be better
 to correct the reasons they exist in the first place which in most cases
 comes from using uninitialized/undefined class variables.

 I'm not that familiar with buddy press (or wordpress for that matter) so I
 hope this patch is useful. It's not complete - applying (only) my patch
 should not close this ticket.

 Regards,

 AD

-- 
Ticket URL: <http://trac.buddypress.org/ticket/1728#comment:3>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list