Skip to:

Opened 14 years ago

Closed 14 years ago

#1718 closed defect (bug) (worksforme)

Call to undefined function bp_page_title()

Reported by: grosbouff's profile grosbouff Owned by:
Milestone: 1.2.3 Priority: major
Severity: Version:
Component: Core Keywords: reporter-feedback


When I register a new user and they I try to activate it
(/wordpress-mu/wp-activate.php?key=...); I got

Fatal error: Call to undefined function bp_page_title() in F:\web\kinetest\wordpress-mu\wp-content\themes\bp-default\header.php on line 9

Change History (7)

#1 @johnjamesjacoby
14 years ago

This function is included in the BuddyPress core template tags file, so there's no reason why if BuddyPress is activated that this error is happening.

I noticed you're using the old bp-default theme, located in wp-content/themes. Is it possible that your theme needs to be updated?

#2 @cnorris23
14 years ago

  • Keywords reporter-feedback added

#3 @apeatling
14 years ago

  • Resolution set to worksforme
  • Status changed from new to closed

#4 @grandeped
14 years ago

  • Component set to Core
  • Resolution worksforme deleted
  • Status changed from closed to reopened

I am getting the same error:

Fatal error: Call to undefined function: bp_page_title() in /home/txdla2/public_html/wp-content/themes/txdla/header.php on line 9

That only seems to happen on the "wp-activate.php?key=" page when a new user registers. BuddyPress is activated. "txdla" is a custom child theme of BuddyPress Default As far as I can tell, the parent theme is updated. Any other suggestions for what could be wrong?

#5 @johnjamesjacoby
14 years ago

Can you confirm if this problem happens when you're using the bp-default theme?

#6 @grandeped
14 years ago

Yes - just switched to the bp-default theme and it is still happening.

#7 @grandeped
14 years ago

  • Resolution set to worksforme
  • Status changed from reopened to closed

Found the solution. I was also have problems with the template on all pages - the sidebar was disappearing. I looked in the child theme folder and there was an entire set of folders for "members" "groups" "register" etc. These came from an older version, but I never edited those or added them. Deleting those corrected the sidebar problem. I tried adding a new member and that worked.

So, even though I had the updated template files, older template files had been copied over to my child theme BEFORE the update. Anyone else with this problem should check to make sure that older template files weren't copied over inadvertently before the update.

Note to anyone else with this problem - the link to activate a new member should be to "[keystring]" NOT "[keystring]". You can actually update the link manually (leaving the key string in tact) and activation will still work.

Note: See TracTickets for help on using tickets.