WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Help! Fatal error: Cannot redeclare wp_get_links()

[Resolved] Help! Fatal error: Cannot redeclare wp_get_links()

  • 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!

Viewing 5 replies - 1 through 5 (of 5 total)
  • the site btw, is devblog.visitsweden.com and as you can see it’s down with that error message splattered all over the page.

    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.

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

    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.

    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! 🙂

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] Help! Fatal error: Cannot redeclare wp_get_links()’ is closed to new replies.