#13111 closed defect (bug) (invalid)
Fresh install of 3.0 Beta, can't install plugin
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.0 |
Component: | Plugins | Keywords: | Appointy, 3.0 |
Focuses: | 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 (1)
Change History (5)
#1
@
15 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
@
15 years ago
- Milestone 3.0 deleted
- Resolution fixed deleted
- Status changed from closed to reopened
#3
@
15 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.
Appointy Plugin appointy.php. This is where the error pointed