WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Help! Fatal error: Cannot redeclare wp_get_links() (6 posts)

  1. tommysollen
    Member
    Posted 6 years ago #

    Hi!
    I'm in great need of your collected wisdom.

    I just tried to upgrade my blog to 2.3.2.
    After copying up everything according to the short upgrade guide I got this error message:

    Fatal error: Cannot redeclare wp_get_links() (previously declared in /home/u1369/web/wp-includes/bookmark-template.php:10) in /home/u1369/web/wp-includes/deprecated.php on line 499

    I don't know what this is or how to fix it. Any help is greatly appreciated!

  2. tommysollen
    Member
    Posted 6 years ago #

    the site btw, is devblog.visitsweden.com and as you can see it's down with that error message splattered all over the page.

  3. homeycomb
    Member
    Posted 6 years ago #

    regardless of what directions you followed...

    /wp-includes/bookmark-template.php is NOT an updated file

    In other words, in the process of uploading the new files, some of the older ones were not replaced. That was obviously one of them.

  4. moshu
    Member
    Posted 6 years ago #

    wp_get_links()...
    Template_Tags/wp_get_links
    Read the text in red!

  5. homeycomb
    Member
    Posted 6 years ago #

    the function IS found inside deprecated.php in 2.3.2 -- hes just got in in 2 files, one of which is from an older version of WP.

  6. tommysollen
    Member
    Posted 6 years ago #

    Thank you very much for your help!

    I uploaded the files again. This time making sure they overwrite older files.

    I then got a new error message about the UTW plugin but I found some more information and a hack to make it work again so the blog is up again.

    Thanks again! :)

Topic Closed

This topic has been closed to new replies.

About this Topic