When you do a search on my site with the default WP search, the results exist however they don't show up. I deactivated plugin to find the issue and toolset blocks is stopping the results from appearing. I'm not sure if I'd done something within toolset to cause this.
So I created a custom search but now I can't seem to connect the customer search page to the search bar. I followed a previous thread, https://toolset.com/forums/topic/direct-search-results-to-another-page/, however since the search results don't link to a specific page I'm stuck.
hidden link is the homepage
hidden link is the custom search page I've created
The image is the result from using the search (magnifying glass) on the header.
Hello and thank you for contacting Toolset Support.
The default WordPress search is considered an archive page. The only way to customize it using Toolset is through an archive template. It has to be assigned to the search archive page. Check this screenshot hidden link
The use of a regular page for search can be done using a view. But it is not the default WordPress search.
I hope this answers your question. Let me know if you have any further questions.
Thanks for your reply. If I just want to use the WP search as is, how can I figure out what's blocking the results from displaying in Toolset? Refer to the image attached to the original post.
This means, that you have actually an archive template assigned for search, and the template does not have anything within the loop.
Would you allow me temporary access to let me check this closely? Your next reply will be private to let you share credentials safely. ** Make a database backup before sharing credentials. **
It does not seem that you are using a Toolset archive, and I can't confirm it or not, because my user does not have administrator privileges. I can't access the Toolset menu. Check this screenshot hidden link
It also seems like a compatibility issue to me. please check if this issue appears when:
- Only Toolset plugins are activated. It will tell us if there is an interaction issue with another plugin.
- The theme is set to a WordPress default like Twenty-Twenty. It will tell us if there is an interaction issue with your theme.
If the problem disappears, start activating one at a time to track where the incompatibility is produced.
Hi Jamal, Oh so sorry about that. I've changed the support login to Administrator.
I deactivated everything except Woocommerce and Storefront Pro and the search works. See attached. I tried changing the theme to 2021, but I couldn't even find the search to try it. When I reactivated Toolset Blocks, then search stopped working.
Thank you, now I can access the Toolset menu, and you do not have an archive template for search.
I created an archive template to display the search results, with only a heading block to display the products' titles and it works as expected. Check this hidden link
You can edit the archive template here hidden link
However, during the editing of the archive template, no posts were returned for the preview, so I am still suspecting a compatibility issue. Can I install a plugin(Duplicator or All In One Migration) to take a copy of your website? I'd like to debug it locally to find out what's causing this issue.
Hi Jamal, yes that's fine. Thanks for your help.
Unfortunately, I could not find out the real cause behind this issue. Let me escalate it to our 2nd Tier for further analysis and I'll get back to you as soon as possible.
Hello and my apologies for the late reply. I had my weekend on Wednesday and Thursday and our 2nd tier was not able to reproduce the issue with a copy of your website, and with a copy from my local copy. So, I set up a new environment, using Nginx instead of apache, and I could not reproduce the issue either.
So, the issue happens on apache servers, and most probably because of Memcached, because your server has also a Memcached drop-in.
I noticed that you have created an archive template for the shop page on your site. I assume there will be no need for pushing the debugging of this issue further. Let me know your feedback.
My issue is resolved now. Thank you!