Skip to:

Opened 8 years ago

Closed 8 years ago

#4642 closed defect (bug) (worksforme)

Ajax error when upgrading from 1.5.6 to 1.6.1

Reported by: tongas Owned by:
Milestone: Priority: normal
Severity: major Version:
Component: Activity Keywords: reporter-feedback


Hey there.

We are having this problem after upgrading to the latest BP version.

Call to undefined function bp_get_activity_root_slug() in /wp-content/plugins/buddypress/bp-themes/bp-default/_inc/ajax.php on line 231

Is there a patch or something?


Change History (3)

#1 @r-a-y
8 years ago

  • Keywords reporter-feedback added; needs-patch removed

Do you have the Activity component disabled?

Check to see if bp_get_activity_root_slug() exists in /wp-content/plugins/buddypress/bp-activity/bp-activity-template.php.

If it doesn't, try re-uploading the BuddyPress plugin files:

If it does exist, let us know so we can further debug.

#2 @tongas
8 years ago

Hey r-a-y,

Thanks for your reply.
Unfortunatelly we do have the activity component enabled, we also re-uploaded the files but no changes were observed.


#3 @johnjamesjacoby
8 years ago

  • Component changed from Core to Activity
  • Milestone Awaiting Review deleted
  • Resolution set to worksforme
  • Status changed from new to closed

These ajax functions are only triggered when the activity streams component is active. How are you loading activity stream templates without the component active?

Closing as worksfor me. Go ahead and reopen if you have more details and a more clear way to duplicate the issue on a default installation.

Note: See TracTickets for help on using tickets.