Skip to:
Content

BuddyPress.org

Opened 11 years ago

Closed 11 years ago

#5181 closed defect (bug) (fixed)

Welcome Page gives error if activity is disabled

Reported by: unsalkorkmaz's profile unsalkorkmaz Owned by: r-a-y's profile r-a-y
Milestone: 1.9 Priority: normal
Severity: normal Version: 1.8.1
Component: Core Keywords: needs-patch
Cc: unsalkorkmaz@…

Description

I am disabling activity with

bp_new_install_default_components

filter but gets this error in welcome page:
http://i.imgur.com/5FrwaB9.png

Change History (3)

#1 @unsalkorkmaz
11 years ago

  • Cc unsalkorkmaz@… added

#2 @DJPaul
11 years ago

  • Keywords needs-patch added
  • Milestone changed from Awaiting Review to 1.9

#3 @r-a-y
11 years ago

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

In 7455:

Add checks for member and activity components on the welcome page.

On certain setups, the default components (members and activity) can be
deactivated programatically. Since we were not explicitly checking if
these components were active or not, a fatal error occurred.

This commit adds checks for the default components and adds a fallback
message if these components are not active on the welcome page.

Fixes #5181.

Note: See TracTickets for help on using tickets.