Make WordPress Core

Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#13111 closed defect (bug) (invalid)

Fresh install of 3.0 Beta, can't install plugin

Reported by: quinnetic's profile Quinnetic Owned by: westi's profile westi
Milestone: Priority: normal
Severity: normal Version: 3.0
Component: Plugins Keywords: Appointy, 3.0
Focuses: Cc:


I installed a fresh new copy of WP 3.0 beta, (, and before changing ANYTHING I tried to install the Appointy plugin( When clicking "Activate", I got the following error:

Plugin could not be activated because it triggered a fatal error.

Fatal error: Cannot redeclare get_admin_url() (previously declared in /.../wp-includes/link-template.php:1937) in /.../wp-content/plugins/appointy-appointment-scheduler/appointy.php on line 254'

It is working without a problem on version 2.9.2.

I don't know if this glitch is as a result of unintentional changes, or just a casualty of the new version, but I figured I would give you what I have, and let you look into it. FYI, I will also be notifying the plugin creator so that they can work to resolve the issue.

NOTE: I also tried it after installing the latest nightly build as of 4/25/10 - to no avail.

Thank you for all of your hard work on this project. I am excited for all of the new features that are coming soon.

Attachments (1)

appointy.php (8.7 KB) - added by Quinnetic 14 years ago.
Appointy Plugin appointy.php. This is where the error pointed

Download all attachments as: .zip

Change History (5)

14 years ago

Appointy Plugin appointy.php. This is where the error pointed

#1 @Quinnetic
14 years ago

  • Milestone changed from Unassigned to 3.0
  • Resolution set to fixed
  • Status changed from new to closed

I found a work-around/fix. By commenting out the code that defines get_admin_url() in the appointy.php file, it now works like a charm.

#2 @nacin
14 years ago

  • Milestone 3.0 deleted
  • Resolution fixed deleted
  • Status changed from closed to reopened

#3 @nacin
14 years ago

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

Plugin authors should be prefixing their function names or encapsulating them in a class. Obviously, this didn't happen here. We introduced a get_admin_url() in core, thus the function now exists twice.

The plugin author should be informed.

#4 @nacin
14 years ago

The plugin author should be informed.

I sent an email to a few email addresses.

Note: See TracTickets for help on using tickets.