Skip to:
Content

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

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

PHP Fatal error: Call to undefined function show_admin_bar()

Reported by: c3mdigital Owned by:
Milestone: 1.5 Priority: normal
Severity: normal Version:
Component: Core 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 8 years ago.
Patch
bp-core-adminbar.php.diff (725 bytes) - added by c3mdigital 8 years ago.
bp-core-adminbar.php.diff

Download all attachments as: .zip

Change History (4)

@c3mdigital
8 years ago

Patch

@c3mdigital
8 years ago

bp-core-adminbar.php.diff

#1 @DJPaul
8 years ago

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

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

#2 @johnjamesjacoby
8 years ago

  • Milestone changed from Awaiting Review to 1.5
  • Severity set to normal
  • Version 1.5 deleted

Moving closed ticket out of Awaiting Review.

Note: See TracTickets for help on using tickets.