WordPress.org

Ready to get started?Download WordPress

Forums

Fatal error: Cannot redeclare _search_terms_tidy() (6 posts)

  1. Ashwini Naik
    Member
    Posted 1 year ago #

    Hello Team,

    I have manually updated wordpress from 3.6.1 to 3.7.1 and am getting this error Fatal error: Cannot redeclare _search_terms_tidy() (previously declared in /var/www/sitename/wp-includes/functions.php:3631) in /var/www/sitename/wp-includes/deprecated.php on line 3392

    As my website is live and have lots of visitors I thought of reverting back to older version i.e., 3.6.1 and doing that am getting error Fatal error: Call to undefined function wp_using_ext_object_cache() in /var/www/sitename/wp-includes/query.php on line 2185

    Please help me out resolve this issue.
    Any help much appreciated

  2. brent3721
    Member
    Posted 1 year ago #

    also getting this error on a site, anyone know what going on? I tried renaming the plugins directory and cache directory (finding that as a solution in a different post) but that didn't work for me

  3. Frederic Legrand
    Member
    Posted 1 year ago #

    same here

  4. photonpharmer
    Member
    Posted 1 year ago #

    Just got the exact same message this morning after trying to upgrade to 3.8. Any clues on this issue? Did anyone resolve it?

    Fatal error: Cannot redeclare _search_terms_tidy() (previously declared in /home/sitename/public_html/wp/wp-includes/functions.php:3602) in /home/sitename/public_html/wp/wp-includes/deprecated.php on line 3392

  5. Samuel Wood (Otto)
    Tech Ninja
    Posted 1 year ago #

    You did not update all the WordPress files properly.

    The _search_terms_tidy function was moved out of the functions.php file and into the deprecated.php file.

    When you upgrade WordPress, you need to make sure ALL the files get updated.

    Do a manual upgrade, and make sure that no files get skipped.

  6. photonpharmer
    Member
    Posted 1 year ago #

    Thanks Sam, I've started a new, manual update process. The automated one failed during upgrade (unknown reason) and subsequently initiated the error.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.