Go Back   WarriorForum - Internet Marketing Forums > Warrior Support Forums > Programming Talk
Register Blogs FAQ Social Groups CalendarHelp Desk

Reply
 
LinkBack Thread Tools
Old 12-03-2008, 02:01 PM   #1
Warrior Fitness/Diet Guru
 
Join Date: Nov 2008
Posts: 356
Thanks: 7
Thanked 9 Times in 7 Posts
Social Networking View Member's FaceBook Profile  View Member's Twitter Profile  View Member's YouTube Profile
Default Keep getting these meessages when I activate plugins

Fatal error: Cannot redeclare class snoopy in /home/content/j/s/m/jsmith2482/html/buildmuscleandsixpackabs/blog/wp-includes/class-snoopy.php on line 33

Everytime I try to activate a plugin I get this error message. HELP!Why is this happening?
jsmith2482 is offline   Reply With Quote
Old 12-03-2008, 02:26 PM   #2
Advanced Warrior
War Room Member
 
redbrad0's Avatar
 
Join Date: Aug 2003
Location: Oklahoma City, OK
Posts: 514
Thanks: 0
Thanked 0 Times in 0 Posts
Default Re: Keep getting these meessages when I activate plugins

Its typicall due to a include file is trying to be included twice somewhere in the application. Can you tell us what is on

class-snoopy.php on line 33

redbrad0 is offline   Reply With Quote
Old 12-03-2008, 03:17 PM   #3
Active Warrior
 
gotlinks's Avatar
 
Join Date: Dec 2008
Posts: 44
Thanks: 0
Thanked 0 Times in 0 Posts
Default Re: Keep getting these meessages when I activate plugins

Please do tell us what is on class-snoopy.php on line 33, it will help us figure out your problem!
gotlinks is offline   Reply With Quote
Old 12-03-2008, 06:52 PM   #4
Warrior Fitness/Diet Guru
 
Join Date: Nov 2008
Posts: 356
Thanks: 7
Thanked 9 Times in 7 Posts
Social Networking View Member's FaceBook Profile  View Member's Twitter Profile  View Member's YouTube Profile
Default Re: Keep getting these meessages when I activate plugins

Quote:
Originally Posted by gotlinks View Post
Please do tell us what is on class-snoopy.php on line 33, it will help us figure out your problem!

Ok, I'll open class_snoopy.php in frontpage but how do I find line 33? Do I just count down to line 33 or can I do a "find" search?
jsmith2482 is offline   Reply With Quote
Old 12-04-2008, 05:09 AM   #5
Richard Soderberg
 
Join Date: Feb 2008
Location: Silicon Valley, California, USA.
Posts: 17
Thanks: 0
Thanked 1 Time in 1 Post
Social Networking View Member's Twitter Profile  View Member's YouTube Profile
Contact Info
Send a message via ICQ to floatingatoll Send a message via AIM to floatingatoll Send a message via Yahoo to floatingatoll Send a message via Skype™ to floatingatoll
Default What plugins are present? Is automatic upgrading enabled?

Quote:
Originally Posted by jsmith2482 View Post
Fatal error: Cannot redeclare class snoopy in /home/content/j/s/m/jsmith2482/html/buildmuscleandsixpackabs/blog/wp-includes/class-snoopy.php on line 33

Everytime I try to activate a plugin I get this error message. HELP!Why is this happening?
Can you list for us which plugins you have installed (either deactivated OR activated), and whether or not the "automatic upgrade" feature is enabled or disabled?

Marketing is your strong point. Technical work is mine. I'm a webmaster / system administrator with more than ten thousand hours of hands-on experience. Hourly rate. Based in US. Message me for details.
floatingatoll is offline   Reply With Quote
Old 12-04-2008, 09:34 AM   #6
Warrior Fitness/Diet Guru
 
Join Date: Nov 2008
Posts: 356
Thanks: 7
Thanked 9 Times in 7 Posts
Social Networking View Member's FaceBook Profile  View Member's Twitter Profile  View Member's YouTube Profile
Default Re: What plugins are present? Is automatic upgrading enabled?

Quote:
Originally Posted by floatingatoll View Post
Can you list for us which plugins you have installed (either deactivated OR activated), and whether or not the "automatic upgrade" feature is enabled or disabled?

automatic upgrade is disabled. This is typically happening with sociable but I also get this when I try to activate wp-posterperiodic

Fatal error: Cannot redeclare class pclzip in /home/content/j/s/m/jsmith2482/html/buildmuscleandsixpackabs/blog/wp-content/plugins/wp-posterperiodic/lib/pclzip.lib.php on line 162

and WP-O-Matic

Fatal error: Cannot redeclare class wpomatic in /home/content/j/s/m/jsmith2482/html/buildmuscleandsixpackabs/blog/wp-content/plugins/wp-o-matic/wpomatic.php on line 122

Why is this happening?
jsmith2482 is offline   Reply With Quote
Old 12-04-2008, 08:18 PM   #7
WordPress Expert
War Room Member
 
kettlewell's Avatar
 
Join Date: Oct 2008
Location: Grand Junction, CO
Posts: 173
Thanks: 31
Thanked 17 Times in 15 Posts
Social Networking View Member's FaceBook Profile  View Member's Twitter Profile 
Contact Info
Send a message via Skype™ to kettlewell
Default Re: Keep getting these meessages when I activate plugins

try to disable all your plugins - then reenable the trouble one without any others and see if you still have a problem.

Which version of WP are you using? Do you have access to the error logs on the server? If so, what do the logs say?


"~ $499 WordPress Solution ~"
kettlewell is offline   Reply With Quote
Old 12-10-2008, 07:30 PM   #8
Warrior Tech
 
Join Date: Dec 2008
Posts: 14
Thanks: 0
Thanked 1 Time in 1 Post
Default Re: Keep getting these meessages when I activate plugins

These plugins are trying to include the "snoopy" class and it is already included successfully, likely in another plugin.

Open the plugin php file(s) getting the error (look on the lines in the errors in the previous post) and also search for an "include" statementwhere it is likely attempting to load the snoopy class included in another file in the plugin directory. Try searching for "snoopy" in the plugin as well to see where it is used.

A simple hack would be to remove or comment out the include line in the plugin file by adding an # as the first character on the line. There is a better fix but it would take much more explanation.

Suggested by G.J.P. @ Code4Cookies.com
Creator of the Free Wordpress Newsletter Manager and Autoresponder Plugin.
Get a fee free opt-in email list-building solution for your weblog. Click Here.
pomspot is offline   Reply With Quote
Old 01-20-2009, 12:06 PM   #9
Warrior Member
 
Join Date: Jan 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Re: Keep getting these meessages when I activate plugins

change file /wp-admin/includes/file, line 484 (2.7.1) as follows

from
Code:
require_once(ABSPATH . 'wp-admin/includes/class-pclzip.php');
to

Code:
if(! class_exists('PclZip')) {    require_once(ABSPATH . 'wp-admin/includes/class-pclzip.php');}
FatherStorm is offline   Reply With Quote
Reply

  WarriorForum - Internet Marketing Forums > Warrior Support Forums > Programming Talk

Tags
activate, meessages, plugins

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -6. The time now is 05:36 AM.