Skip to:
Content

BuddyPress.org

Opened 16 years ago

Closed 16 years ago

Last modified 15 years ago

#3018 closed defect (bug) (no action required)

PHP Fatal error: Call to undefined function show_admin_bar()

Reported by: c3mdigital Owned by:
Priority: normal Milestone: 1.5
Component: Core Version:
Severity: normal Keywords: admin bar
Cc:

Description

When using the trunk build and WordPress 3.04, activating the plugin fails at the final step when choosing "use existing theme".

Output from Apache error logs:

Call to undefined function show_admin_bar() in /srv/www/dev/3.0/wp-content/plugins/buddypress/bp-core/bp-core-adminbar.php on line 294, referer: http://XXXXXXXX.XXX/3.0/wp-admin/plugins.php

Patch added that checks if function show_admin_bar() exists before calling it.

Attachments (2)

bp-core-adminbar.php (10.0 KB ) - added by c3mdigital 16 years ago.
Patch
bp-core-adminbar.php.diff (725 bytes ) - added by c3mdigital 16 years ago.
bp-core-adminbar.php.diff

Download all attachments as: .zip

Change History (4)

@c3mdigital
16 years ago

Patch

@c3mdigital
16 years ago

bp-core-adminbar.php.diff

#1 @DJPaul
16 years ago

  • Resolutioninvalid
  • Status newclosed

Trunk requires WordPress 3.1 now; it's a very recent change that was decided.

#2 @johnjamesjacoby
15 years ago

  • Milestone Awaiting Review1.5
  • Severitynormal
  • Version 1.5

Moving closed ticket out of Awaiting Review.

Note: See TracTickets for help on using tickets.