Ticket #13111 (closed defect (bug): invalid)

Opened 22 months ago

Last modified 22 months ago

Fresh install of 3.0 Beta, can't install plugin

Reported by: Quinnetic Owned by: westi
Priority: normal Milestone:
Component: Plugins Version: 3.0
Severity: normal Keywords: Appointy, 3.0
Cc:

Description

I installed a fresh new copy of WP 3.0 beta, ( http://appointy.qcustomwebdesign.com/), and before changing ANYTHING I tried to install the Appointy plugin( http://wordpress.org/extend/plugins/appointy-appointment-scheduler/). 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

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

Change History

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

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

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.

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

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.

The plugin author should be informed.

I sent an email to a few appointy.com email addresses.

Note: See TracTickets for help on using tickets.