Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author don benjamin

    (@dondon-benjamincouk)

    Hi @jurgiel,

    It could be a problem with non-ascii characters (e.g. the first character in zywe). Do you get the same issue when you use the other values (e.g. dynamiczne.)

    I can’t tell from what you’ve sent whether there are any posts matching your search and why they might not be showing. Are there definitely results which should show up?

    A screenshot of the post-edit page might be useful showing how the post is configured?

    What post types are you using? By default the plugin filters to just post and page results.

    Thread Starter jurgiel

    (@jurgiel)

    Hi!

    Every post have 3 tags – and every one is required. So im sure that almost 160 posts have custom fields. I am using only posts and pages (posts are more important). Screen shot – https://zabawy.zielonagrupa.pl/wp-content/uploads/screen1.png

    And i know that Your plugin is seeing it – because if I use data source: auto – the plugin sees everything. But when it comes to giving results – nothing happens.

    Plugin Author don benjamin

    (@dondon-benjamincouk)

    Hi,

    If you use data source auto it will pull every result out of the database. These results are not filtered in any way so don’t necessarily reflect whether the posts should show.

    There are basically 3 reasons why no results may show up.

    1. The wpcfs search may be filtering the posts out for some reason
    2. Another plugin or config setting may be filtering the results
    3. There may be a conflict between wpcfs and another plugin/theme used on your site

    To identify which is the problem, try removing all the search fields from the WPCFS search form. Now when you click the search button, the plugin will not filter anything.

    If your results are now showing then there was a problem with one of the search fields. Try adding them back one by one until you find which one is causing the problem. If you think they should match, please let me know and I will try to debug further.

    If your results are still not showing even with an empty search form then you’re likely in situation 2 or 3.

    Do these posts display anywhere else on your site? If they don’t display anywhere else then you’re likely in situation 2. Basically the plugin only ever filters the results which you see, so it starts with the list of all visible posts and then applies a set of filter rules to gradually filter out some of those posts until your search results are left.

    This means if another plugin (or a config setting) has already filtered out some posts, the wpcfs search results will respect this and will also not show those filtered posts.

    Debugging this could be tricky, and not really relevant here, but you could try de-activating all your plugins, switching themes, editing your posts to make sure they are published and public etc.

    If the posts do display elsewhere on your public facing site but not in the wpcfs search results even with all filter fields removed then there is likely a conflict between the wpcfs plugin and another plugin or theme which you are using. The process for debugging this would be much like in situation 2, disabling different plugins and themes etc. to see which one allows the posts to display. If you can identify which other plugin is conflicting please let me know, if it’s a widely used plugin I will look to make sure we are compatible it in future.

    Thanks,
    Don

    Thread Starter jurgiel

    (@jurgiel)

    Ok, I am not sure if I understand You correctly. Here is what i’ve done:
    – i removed all fields – and now i got only “search” button
    – i clicked it – and the result of the search is my “main page” (screen – https://zabawy.zielonagrupa.pl/wp-content/uploads/screen2.png) – it’s strange because i have few other “pages” and the only reasult is this one.

    What should i check i next order?

    Plugin Author don benjamin

    (@dondon-benjamincouk)

    Hi,

    With no search fields I would expect all 160 posts to be displayed as well as all your pages.

    If they’re not displaying then either there is a conflict between the plugin and some other code on your site (something in another plugin or the theme) or there is a problem unrelated to the plugin which is preventing the posts from being displayed.

    If you visit that listing page without using the search form do you see all of your posts?

    If not, then the problem is likely not in the plugin but something else on your site needs to be configured to show them.

    If you do see them then it is likely that the plugin is incompatible with something else in your site which will be difficult to resolve. First steps would be to try de-activating all other plugins, or switching to the default wordpress theme, if that fixes the issue we may be able to figure out which plugin or theme is clashing.

    Hope that helps,
    Don

    • This reply was modified 6 years, 9 months ago by don benjamin.

    getting same issue
    the query
    SELECT wv39_posts.* FROM wv39_posts WHERE 1=1 AND wv39_posts.ID = 8 AND wv39_posts.post_type IN (‘post’, ‘page’, ‘attachment’) ORDER BY wv39_posts.post_date DESC

    why it’s taking home page id in where condition
    please reply, thanks in advance

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Not finding any results’ is closed to new replies.