WordPress.org

Ready to get started?Download WordPress

Forums

Fatal error: Cannot redeclare get_the_attachment_link (5 posts)

  1. ventrilqstman
    Inactive
    Posted 3 years ago #

    When I go to my WP install on http://www.prophotoshow.net, I get this error. Can't figure what's up. Was working just peachy last night. Any thoughts?

    Fatal error: Cannot redeclare get_the_attachment_link() (previously declared in /home/gseim/public_html/blog/wp-includes/post-template.php:973) in /home/gseim/public_html/blog/wp-includes/deprecated.php on line 1907

  2. ventrilqstman
    Inactive
    Posted 3 years ago #

    I seem to have it fixed. Re uploaded post-template.php from a fresh WP download and wrote it over the one that was there. All seems OK not, but I have no clue why it happened. Wish I knew what went wrong you I could avoid it in the future.

  3. ventrilqstman
    Inactive
    Posted 3 years ago #

    Hmm. It did the same thing again after being fixed. I again had to re upload post-template.php. It's like it's just altering itself. Does anyone know why that would happen?

  4. tdschrock
    Member
    Posted 3 years ago #

    I am having the same problem @ http://www.designbuildsolutionsllc.com/articles. ventrilqstman, I see your website is working today. Did you have to re-upload again?

  5. tdschrock
    Member
    Posted 3 years ago #

    I just tried the same thing ventrilqstman did. I put a new install of WordPress in a new folder, and started copying files, first one, then another, then just copied the whole wp-includes folder. Now my old blog works. Hope it stays that way!

Topic Closed

This topic has been closed to new replies.

About this Topic