Support » Fixing WordPress » Fatal error: Cannot redeclare _search_terms_tidy()

  • 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

Viewing 5 replies - 1 through 5 (of 5 total)
  • 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

    same here

    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

    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.

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Fatal error: Cannot redeclare _search_terms_tidy()’ is closed to new replies.