Skip to:
Content

BuddyPress.org

Opened 7 years ago

Closed 7 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
Cc:

Description

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?

Thanks!

Change History (3)

#1 @r-a-y
7 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:
http://downloads.wordpress.org/plugin/buddypress.1.6.1.zip

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

#2 @tongas
7 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.

Thanks.

#3 @johnjamesjacoby
7 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.