Skip to:
Content

BuddyPress.org

Opened 7 years ago

Closed 7 years ago

Last modified 6 years ago

#5606 closed defect (bug) (fixed)

WSOD when posting a new blog comment and activity component is disabled

Reported by: r-a-y Owned by: r-a-y
Milestone: 2.0.1 Priority: normal
Severity: normal Version: 1.2
Component: Blogs Keywords:
Cc:

Description

Reported here:
http://buddypress.org/support/topic/fatal-error-in-posting-comments/

When the activity component is disabled, but the blogs component is enabled and a user attempts to post a new blog comment, a WSOD occurs.

The reason this happens is we don't do a check to see if the activity component is active or not in the bp_blogs_record_comment() function.

Surprised no one reported it until now!

Change History (4)

#1 @r-a-y
7 years ago

  • Owner set to r-a-y
  • Resolution set to fixed
  • Status changed from new to closed

In 8342:

Blogs: Add check for activity component when recording a post comment.

Previously, if the activity component was disabled and the blogs component
was enabled, if a user posted a blog comment, a WSOD would occur.

This commit fixes this by adding a check for the activity component in
the bp_blogs_record_comment() function.

Fixes #5606 (2.0-branch)

#2 @r-a-y
7 years ago

In 8343:

Blogs: Add check for activity component when recording a post comment.

Previously, if the activity component was disabled and the blogs component
was enabled, if a user posted a blog comment, a WSOD would occur.

This commit fixes this by adding a check for the activity component in
the bp_blogs_record_comment() function.

See #5606 (trunk)

#3 @boonebgorges
6 years ago

In 8412:

Add a Permalink row and a Visit Group button to group administration screen

Fixes #5606

Props dcavins

#4 @boonebgorges
6 years ago

Sorry, referenced wrong ticket in r8412.

Note: See TracTickets for help on using tickets.