• Resolved matic79

    (@matic79)


    After updating, I keep getting error message: ‘Fatal error: Cannot redeclare _search_terms_tidy() (previously declared in /hsphere/local/home/c326163/symbolgames.com/wp-includes/functions.php:3631) in /hsphere/local/home/c326163/symbolgames.com/wp-includes/deprecated.php on line 3392’ when I go to my site http://www.symbolgames.com. I tried disabling plugins, using default theme, but no change. I downgraded to 3.6.1, installed 3.7 manually, but it didn’t work either. I restored database without results. Any ideas?

Viewing 7 replies - 1 through 7 (of 7 total)
  • sometimes inactive plugins can cause problems too.. try renaming plugins folder completely to plugins.tmp or something and try..
    also try flushing cache.

    Thread Starter matic79

    (@matic79)

    Thanks shadez, it worked. The problem was wp-content/cache folder. I renamed it and everything is OK now.

    Thread Starter matic79

    (@matic79)

    OK, site is down again with the same error message and I didn’t change anything in the meantime. What now?

    how have you implemented search on your site? share your code so we can debug.

    Thread Starter matic79

    (@matic79)

    I looked in my theme’s search.php file, there’s no _search_terms_tidy function. Here is the code:

    <?php get_header(); ?>
    
    <div class="indextop">
    
    <div class="randomgames">
    <?php if (have_posts()) : ?>
    
    <div class="randomtop2">
    
    		<h2 class="pagetitle">Search Results</h2>
    
    </div>
    
    <div class="randomgame">
    
    <?php while (have_posts()) : the_post(); ?>
    <div class="gamethumb">
    
    <div class="thumbs">
    <a href="<?php the_permalink() ?>" title="Play <?php the_title_attribute(); ?>"><img src="<?php $values = get_post_custom_values("thumb"); echo $values[0]; ?>" alt="" height="135" width="180" /></a>
    </div>
    <div class="thumbtitle">
    <a href="<?php the_permalink() ?>" rel="bookmark" title="Play <?php the_title_attribute(); ?>"><?php
    $tit = the_title('','',FALSE);
    echo substr($tit, 0, 30);
    if (strlen($tit) > 30) echo " ...";
    ?></a>
    </div>
    </div>
    <?php endwhile; ?>
    
    </div>
    
    <div class="randombottom"></div>
    <?php if(function_exists('wp_pagenavi')) { wp_pagenavi('', '', '', '', 3, false);} ?>
    	<?php else : ?>
    
    		<h2 class="center">No posts found. Try a different search?</h2>
    
    	<?php endif; ?>
    </div>
    
    </div>
    
    <?php get_footer(); ?>

    Thread Starter matic79

    (@matic79)

    UPDATE: Site is working, but i have noticed something strange. When I test my site on GTMetrix, site can be seen from servers in USA and Canada, but not from London, Hong Kong etc. When I check with Google page speed ( developers.google.com/speed/pagespeed/insights/ ), site is not visible – showing previous fatal error message. Tried http://pageload.monitis.com/ and http://gtmetrix.com/reports/www.symbolgames.com/rHDF5ghZ with similar results. Also, number of visitors dropped. My webhosting company claims it has nothing to do with them.

    Thread Starter matic79

    (@matic79)

    Everything working great now. shadez, thanks for help.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Fatal error message after updating to wordpress 3.7’ is closed to new replies.