Forums Forums Search & Filter Pro Fatal Error in Results Template

Viewing 6 posts - 1 through 6 (of 6 total)
  • Anonymous
    #26063

    Hello,

    I am getting an error now Call to a member function have_posts() on a non-object in /home/domain/public_html/wp-content/themes/mytheme/search-filter/results.php on line 25

    This is the page: http://wfsaustralia.com/clients/

    Your help is appreciated. Thank you.

    Ross Moderator
    #26065
    This reply has been marked as private.
    Anonymous
    #26066

    My fault that used to be the field for where my template was located, dug. It must find it automatically now? It seems to be working now that I used the URL and not the template location. Thanks!

    Ross Moderator
    #26067

    If you are using the shortcode method to display results then all you need is the URL, other methods require the template file being specified 🙂

    Thanks

    Anonymous
    #26069

    Hi Ross I am using a custom template for my results for display purpose. It seems to work now so I hope nothing else will change. It seems to get my results.php template from my theme directory. Maybe because that is already in the database from before this upgrade? I’m not sure.

    Ross Moderator
    #26070

    Hi Colette thats absolutely fine, you also didn’t need to specify the filename in the previous version either (docs haven’t changed for the shortcode method):

    http://www.designsandcode.com/documentation/search-filter-pro/search-results/using-a-shortcode/

    I think it might have been a result of the slightly confusing admin UI.

    Nothing to worry about here 🙂

Viewing 6 posts - 1 through 6 (of 6 total)