• Resolved adrianbhagat

    (@adrianbhagat)


    I noticed yesterday that when I searched for a term, the results page would show a higher count of results than expected.

    For example, searching for the term ‘Oatly’ should have given 16 results. Instead, the search reported 49 results. Only the first 16 were shown (my search results page shows 20 results per page) and there was a navigation bar with 3 pages. Clicking through to the second page gave a 404 error.

    At this time I had 3.10 installed. I rolled back to each version in term and 3.07 is the first one that correctly gave 16 results and correctly navigates to other results pages.

    (The problem is currently reproducible as I have 3.07 installed but I can update it if necessary).

    Many thanks for your help.

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 15 total)
  • Plugin Author ILLID

    (@mihail-barinov)

    Hi,

    Please tell me – are you using any custom code snippets to filter/order search results?

    Also – can you update the plugin to version 3.08 and check results one more time? Do you now see this problem?

    Regards

    Thread Starter adrianbhagat

    (@adrianbhagat)

    Thread Starter adrianbhagat

    (@adrianbhagat)

    I’ve installed v3.08 and the problem is occurring again.

    You can see it here:
    https://v-spot.co.uk/?s=oatly&post_type=product&type_aws=true

    Thread Starter adrianbhagat

    (@adrianbhagat)

    I tried removing the posts_search filter but the problem is the same.
    If you search the site for ‘oats’ it says there are 100 results but the first page has 18 results, the second has 6, the third has 8.

    Thread Starter adrianbhagat

    (@adrianbhagat)

    Incidentally, I have the ‘Search By SKU – for Woocommerce‘ plug-in installed

    Plugin Author ILLID

    (@mihail-barinov)

    So if you temporarily disable the ‘Search By SKU – for Woocommerce‘ plugin do you still see this issue?

    Also please try the following – open the plugin settings page and scroll to the ‘Search results page’ section. Inside it change the value of ‘Change query hook’ option and check search results one more time.

    Regards

    Thread Starter adrianbhagat

    (@adrianbhagat)

    Hi. Thanks for your help with this.

    Disabling the Search by SKU plugin does not fix the problem.

    I have changed ‘Change query hook’ from default to posts_pre_query and that has had no effect.

    I also tried clearing the cache on the ‘Performance’ tab.

    Plugin Author ILLID

    (@mihail-barinov)

    I see.

    One more question – please tell me the name of your current WordPress theme. Also – are you using any page builder plugins to customize this search results page?

    Regards

    Thread Starter adrianbhagat

    (@adrianbhagat)

    I have my own theme adapted from just-clean-shop v1.7.8
    No, there is nothing to customise the search results page.

    Plugin Author ILLID

    (@mihail-barinov)

    So I just tested it with  just-clean-shop v1.7.8 and for me everything is working fine. So probably your own theme has some code changes that reflect on this search results page.

    Do you have any idea what this can be? Do you have many custom code snippets inside your theme?

    Regards

    Thread Starter adrianbhagat

    (@adrianbhagat)

    *EDITED* I thought I had found a solution but it’s still occurring.
    I have updated my site to use the AWS Widget in the side bar. The results shown in the dropdown are correct but the full search page is still showing extra results and 404s.

    I tried deactivating all the plugins except AWS and WooCommerce, and deleting the whole of functions.php but the problem still occurs.

    Plugin Author ILLID

    (@mihail-barinov)

    Also please check plugins ‘Change query hook’?option – if you change it previously – please return its value to the default one.

    Also plugin has several new versions since your first request – please make sure to update into the latest one.

    Thread Starter adrianbhagat

    (@adrianbhagat)

    I have tried v3.12 of the plugin and I have tried setting ‘Change query hook’ to Default.
    I also tried turning off the Misspelling Fix.

    Thread Starter adrianbhagat

    (@adrianbhagat)

    I’ve installed v3.14 and reindexed the table and it seems to be working now.

    Thank you very much.

    Thread Starter adrianbhagat

    (@adrianbhagat)

    Marking as resolved

Viewing 15 replies - 1 through 15 (of 15 total)
  • You must be logged in to reply to this topic.