#13111 closed defect (bug) (invalid)
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: | Focuses: |
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
@
16 years ago
- Milestone Unassigned → 3.0
- Resolution → fixed
- Status new → 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.
#3
@
16 years ago
- Resolution → invalid
- Status reopened → 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Appointy Plugin appointy.php. This is where the error pointed