Skip to:
Content

BuddyPress.org

Opened 13 years ago

Closed 13 years ago

#5181 closed defect (bug) (fixed)

Welcome Page gives error if activity is disabled

Reported by: unsalkorkmaz Owned by: r-a-y
Priority: normal Milestone: 1.9
Component: Core Version: 1.8.1
Severity: normal 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
13 years ago

  • Cc unsalkorkmaz@… added

#2 @DJPaul
13 years ago

  • Keywords needs-patch added
  • Milestone Awaiting Review1.9

#3 @r-a-y
13 years ago

  • Owner set to r-a-y
  • Resolutionfixed
  • Status newclosed

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.