#7318 closed defect (bug) (invalid)
Fatal error: Cannot redeclare class snoopy
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | Priority: | high | |
Severity: | normal | Version: | 2.6 |
Component: | Administration | Keywords: | reporter-feedback |
Focuses: | Cc: |
Description
Error
Fatal error: Cannot redeclare class snoopy in /path/to/wp-includes/class-snoopy.php on line 47
Reproduction Instructions
Upgrade from Wordpress 2.5.1 to Wordpress 2.6
Areas Affected
- Administration Area > Dashboard > Incoming Links
- Administration Area > Plugins > Upgrade Plugin
Change History (6)
#2
follow-up:
↓ 3
@
15 years ago
- Keywords reporter-feedback added
- Owner changed from anonymous to westi
- Status changed from new to assigned
Agreed this sounds like it's plugin caused.
What plugins are you using?
#3
in reply to:
↑ 2
@
15 years ago
- Resolution set to fixed
- Status changed from assigned to closed
Replying to westi:
Agreed this sounds like it's plugin caused.
What plugins are you using?
I did a grep for snoopy in the plugins folder and found 'Wordpress Automatic Upgrade v1.2.0.1' as the buggy one.
A fix for this is released in v1.2.0.2
Thanks,
Jayant
Note: See
TracTickets for help on using
tickets.
By the sounds of it, A plugin you are running has included a custom version of snoopy rather than relying on the WordPress builtin version.
The snoopy files are loaded via a require_once() AFAIK, It would be good to move the admin off the snoopy class(#4779), as for this error though, Checking to see if snoopy is allreaded loaded (if(class_exists())) could be added to the builtin snoopy file. Or the Plugin author which has included it could switch to the builtin version.