WordPress.org

Ready to get started?Download WordPress

Forums

Fatal Error in Dashboard (7 posts)

  1. spotme10
    Member
    Posted 7 years ago #

    Has anyone ever seen this error before?

    Fatal error: Cannot redeclare class snoopy in /home/jowti2/public_html/wp-includes/class-snoopy.php on line 40

    It only appears in my admin section and it replaces some of the feeds I usually see in my dashboard (ie WordPress news and updates).

    It doesn't seem to be affecting the rest of my site, but I am concerned...

    Thanks!

  2. dalebert77
    Member
    Posted 7 years ago #

    Not to state the obvious, but from the error - I would say your class-snoopy.php page on line 40 is declaring a class "snoopy" that has already been declared. Can you comment out line 40 and see if that fixes the issue?

  3. Jayef
    Member
    Posted 7 years ago #

    Well, I had this before with my footer.php.
    I don't know what's the cause but it's very simple to solve.

    From your error displayed, I see that you have made some changes in that file and most likely made some mistakes in placing the codes.

    So what you can do is to search for the original unmodified file (the exact same one) and replace it with the current one. If you still insist to make changes, you can. But definately not using the same way as before. Figure out where exactly you should place the codes.

  4. spotme10
    Member
    Posted 7 years ago #

    Problem is, nothing has been changed in a couple weeks and it was working fine until today. The error has since disappeared with no help from me, and the WordPress feed has returned.

    Weird...

  5. Jayef
    Member
    Posted 7 years ago #

    lol, okay.
    Since it's alright now, you should mark this topic 'resolved'.

  6. barrydt
    Member
    Posted 6 years ago #

    I am having the same issue, and it just started after upgrading to WP 2.6. I did a search for 'class snoopy' in the forums, and found this and several other posts. I'm seeing this issue not only on the dashboard (specifically with 'Incoming Links'), but also when I try to activate certain plugins (wordpress.com Stats Helper).

    When I just recently tried to post an article, I hit the publish button and then saw the error on a separate page. The article posted fine, but I got the error page instead of a blank post like it did before.

    If I knew more about the functions of the snoopy.php file, I might be able to troubleshoot it on my own, but I have no idea how it's used or why I might be seeing this error. Any help would be appreciated - thanks.

    Barry

  7. seomartin
    Member
    Posted 6 years ago #

    I get this too, and have not modified or added any plugins since 2.6

    Any solutions?

Topic Closed

This topic has been closed to new replies.

About this Topic