- This topic has 16 replies, 4 voices, and was last updated 3 years, 5 months ago by
Tom.
-
AuthorPosts
-
November 3, 2022 at 12:40 pm #2400564
Ian
When using the Query Loop to Include Posts, I cannot locate a few specific posts when searching for title or url keywords or post ID. Have opened up a ticket with web host and they do not see any php or memory errors. Never ran into this before even on very large sites. Any ideas on how I can target posts to display in the Query Loop when a search cannot locate them?
November 3, 2022 at 2:53 pm #2400678Ying
StaffCustomer SupportHi Ian,
Can you make sure you enter the full title of the post when trying to search?
It will return
No search resultif it actually returns a lot of posts, so that the editor doesn’t crash.November 3, 2022 at 3:00 pm #2400687Ian
Interesting. I am getting
No optionsas a return. Is that a clue?November 3, 2022 at 3:01 pm #2400689Ian
By the way, I have tried searching for the exact title, exact URL without hyphens etc…
November 3, 2022 at 5:31 pm #2400766Fernando Customer Support
Hi Ian,
For reference, can you share the link to the site in question?
And, can you provide a name of a specific post we can try searching?
You may use the Private Information field for this: https://docs.generatepress.com/article/using-the-premium-support-forum/#private-information
November 3, 2022 at 8:09 pm #2400826Ian
Sounds good. I have provided the creds in the private info area.
November 3, 2022 at 8:24 pm #2400837Fernando Customer Support
I see. It’s most likely because of your AJAX search plugin. Was it working before?
If you disable it, does the Search functionality work?
If so, it might be best to reach out to the support of this plugin for assistance with regards to this.
November 3, 2022 at 8:36 pm #2400845Ian
I am thinking along those lines that something is limiting the search in the loop. I have a site with over 1000 posts and it finds the proper one very easily.
The staging site actually do not have the search plugins activated. The site is already running only bare minimum plugins as a test, I only ran GP Premium, GB and GB Pro and still not working. Do you think it could be a memory limit issue at the web host?
November 3, 2022 at 8:45 pm #2400855Fernando Customer Support
I see. I actually wasn’t able to check the staging site. I was only able to test the live site’s search functionality.
To clarify, the search functionality doesn’t work in the staging site as well?
We might need to recheck to re-access the issue.
November 3, 2022 at 8:49 pm #2400857Ian
Let me provide the staging access here.
November 3, 2022 at 8:51 pm #2400858Fernando Customer Support
Thank you. The search functionality seems to be working as expected in the staging site.
Are you encountering issues here as well?
November 3, 2022 at 9:07 pm #2400868Ian
It’s the search function in the Loop when trying to use “Include Posts”. Were you able to include the “40000” post?
November 3, 2022 at 11:35 pm #2400948Fernando Customer Support
I see. Yes, having that many posts may result in “Timeouts” when loading something in the Backend.
In Tools > Site Health > Info > Server, what value is PHP Time limit? You may need to increase this with the amount of Posts you have.
Let us know.
November 4, 2022 at 10:25 am #2401918Ian
Here are the settings. These seem fairly high already. Which one(s) do you think we need to ask the web host to increase so we can test?
PHP max input variables: 10000
PHP time limit: 600
PHP memory limit: 1024M
Max input time: 60
Upload max filesize: 640M
PHP post max size: 1024MNovember 4, 2022 at 12:43 pm #2402048Ying
StaffCustomer SupportHi Ian,
When I tried to search with the full title of the 2 posts in WP posts, one returns 161 results, and the other returns 22 results.
https://www.screencast.com/t/kNpfCnYLtFI could be wrong, but I think that might be the reason, also the 2 posts are pretty old.
I’ll have Tom have a look, it’s an odd one.
-
AuthorPosts
- You must be logged in to reply to this topic.