Forums › Forums › Search & Filter Pro › Fatal Error – results php template
Tagged: fatal error
- This topic has 4 replies, 2 voices, and was last updated 8 years, 3 months ago by Trevor.
-
Anonymous(Private) August 23, 2016 at 10:37 am #55333
Hi there,
I am trying to customise my results template, and after adding in this new template, I receive this error:
Fatal error: Call to a member function have_posts() on a non-object in xxxxxxxxxxx /themes/ theme/search-filter/results.php on line 25This is my setup:
https://support.searchandfilter.com/forums/topic/split-custom-taxonomies-not-displaying-in-results/It may be because there are too many loops here? As on my filter & results page I have:
2 shortcodes (filter + results shortcode) + results php template (which has its own loops).
Not sure…And I followed the instructions here, to override the default template:
http://www.designsandcode.com/documentation/search-filter-pro/search-results/using-a-shortcode/ps: Trevor your login details in the previous post are still valid
Any ideas?
Many thanks,
BrettAnonymous(Private) August 23, 2016 at 11:07 am #55344Hi Trevor,
After checking this, I discovered it was my error – as the template was slightly changed (from original S&F plugin template file.
So I re-uploaded it with no issues now.
Apologies for this, of course you may now close this ticket.ps: I’d just like to say thanks for the super fast support, it is really appreciated 🙂
Trevor(Private) August 23, 2016 at 11:26 am #55345🙂
You can always leave a review:
http://www.designsandcode.com/wordpress-plugins/search-filter-pro/reviews/#comment
-
AuthorPosts