WordPress.org

Ready to get started?Download WordPress

Forums

Comments Fatal Error (7 posts)

  1. JustKat
    Member
    Posted 9 years ago #

    Fatal error: Cannot redeclare add_magic_quotes() (previously declared in c:\hosting\webhost4life\member\katsstuff\katskitchen\
    wp-comments-post.php:4) in c:\hosting\webhost4life\member\katsstuff\katskitchen\
    wp-includes\functions.php on line 1738

    Now what?

  2. Mark (podz)
    Support Maven
    Posted 9 years ago #

    What version of wp are you running ?
    What plugins do you have ?

  3. JustKat
    Member
    Posted 9 years ago #

    Sorry - 1.5 and no plug-ins enabled

    http://www.katskitchen.katsstuff.com

  4. Mark (podz)
    Support Maven
    Posted 9 years ago #

    Is this an upgrade ?
    If so, did you delete the old files before uploading new ?

  5. JustKat
    Member
    Posted 9 years ago #

    Yes, and it was working last night except that my pop-up comments template didn't look right.

    I copied the classic theme and used those files to create a new theme hoping that would fix the pop-up comment problem and it did, looks-wise. Then the fatal error issue arose, so I deleted the new theme I'd created from my server.

    Did I screw up when I duplicated the original theme? Should I just scrap the whole thing and start over?

  6. Mark (podz)
    Support Maven
    Posted 9 years ago #

    It could well be that you have inadvertently included some php somewhere which is trying to use the same function twice wrongly.
    A very careful comparison of your work with a default files should highlight the problem line(s)

  7. JustKat
    Member
    Posted 9 years ago #

    Okay - comments are working again, but I'm back to the original problem of the main page being squashed into the comments box after posting a comment.

    Once you close the comment box and look again they look fine.

    How do I fix this?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.