WordPress.org

Ready to get started?Download WordPress

Forums

Can no longer search pages (7 posts)

  1. giddykipper
    Member
    Posted 3 years ago #

    Just upgraded to 3.1. Whatever the search, no results on the 'pages' part of the dashboard. HELP! I have a lot of pages, this is going to keep me at work all night

  2. What kind of search strings are you using?

    It's working fine on my site, so you may need to try the standard debugging. Read http://wordpress.org/support/topic/troubleshooting-wordpress-31-master-list

  3. giddykipper
    Member
    Posted 3 years ago #

    Hello Ipstenu
    Nothing fancy. One of the pages is called 'Arbiters and Coaches' and the search string 'coaches' used to find it and several other pages - now it finds nothing at all

  4. Got any plugins installed? Turn 'em off for laughs.

  5. giddykipper
    Member
    Posted 3 years ago #

    Erm ... OK. I'll have to schedule some maintenance time and take the site offline. There are plenty of plugins, it's a big and proper site
    http://www.englishchess.org.uk
    Thanks for your help so far, I'll get back to you if I find out more. Perhaps the next upgrade will take care of it.

  6. Yeah, sadly, plugin-deactivation is step one to debugging :/ You could make a quick run in the repository and make sure that they're tested on 3.1 for now. That may narrow it down.

  7. crickkills
    Member
    Posted 2 years ago #

    FYI - I have had the same problem pop up recently, and I tracked it down to this custom search filter function in functions.php:


    function SearchFilter($query) {
    if ($query->is_search) {
    $query->set('cat','3');
    }
    return $query;
    }
    add_filter('pre_get_posts','SearchFilter',10);

Topic Closed

This topic has been closed to new replies.

About this Topic