• Resolved giangiluca

    (@giangiluca)


    The post grid module no longer seems to work. If you don’t choose specific search queries (such as author, category, etc.), everything works normally. If you specify only one of these queries, even though it works from the back end, the front end displays the message “no post found.”

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support Pial

    (@iapial)

    Hi there @giangiluca ,

    Thank you for reporting this. To investigate the issue properly from our end, could you please share a few quick details?

    • Please export the Elementor page where the Post Grid widget is used, or share a screenshot of the widget’s Query settings. That usually gives us everything in one go, including post type, filters, status, etc.

    • Please share one specific failing example: Which exact category or author is selected
    • And confirm that the selected category/author has published posts assigned

    • Please share the URL of the affected page.

    • Please also share the site health

    Looking forward to your reply so we can check this further.

    Thread Starter giangiluca

    (@giangiluca)

    Thanks for the quick response!

    You can retrieve the export page as requested at this link.

    Specifically, the home page displays the wording “no posts found.” Every category or author I add creates the problem. The problem only disappears if I don’t set any filters in the query section.

    Specific failing example

    The site health

    Url: http://www.quec.net

    Plugin Support Pial

    (@iapial)

    Hi @giangiluca ,

    Thank you so much for sharing the templates — that gave us the context we needed to investigate.

    Based on our investigation, here’s what we found:

    • The Post Grid widget is currently configured to filter by category 1289 (“Corsi sicurezza elearning”).
    • WordPress’s own category archive at https://www.quec.net/category/corsi-sicurezza-elearning/ shows “Non riusciamo a trovare quello che cerchi” (no posts found).
    • Your site’s REST API endpoint /wp-json/wp/v2/posts?categories=1289 also returns an empty array.

    This tells us WordPress itself isn’t finding any published posts in that category, so the Post Grid widget is correctly reflecting that result.

    Could you please try the following and let us know how it goes?

    1. Open Posts → Categories in your admin and click into “Corsi sicurezza elearning”.
    2. Confirm that there are actually published posts assigned to it (not draft, private, or trashed). The count next to the category name in the list includes all statuses, so it may show 3 even if none of them are published.
    3. Then try the Post Grid widget with a category you’ve confirmed has published posts — for example, “Agenzia Formativa” — we checked your site and that category does contain published posts that WordPress is returning normally, so it’s a good control test

    Looking forward to your reply.

    Thread Starter giangiluca

    (@giangiluca)

    Good morning,
    As you can see from the attached image, the “e-learning-security-courses” category has three published articles.
    Testing as you indicated with the “Agenzia Formativa” category, the query works. We extended the tests to other categories, such as “corsi gratuiti,” but the query doesn’t work. The query therefore only appears to work with the “Agenzia Formativa” category. Furthermore, the query doesn’t return results in “manual selection” mode. Please note that the query in the backend appears to work properly. Thanks for your help.

    Plugin Support Pial

    (@iapial)

    Hi @giangiluca,

    Sorry for the delayed response.

    We re-checked your REST endpoint and it now returns the 3 posts correctly. The earlier empty response was a stale cached response. Your site’s response headers confirm this: the REST API is being served with cache-control: max-age=172800 (48 hours), which is not WordPress default behaviour and is set by something on your caching stack. The page where the Post Grid lives is almost certainly being page-cached the same way, and the cached HTML was generated at a moment when the query returned no posts. The backend works because admin requests bypass the cache.

    Could you please do the following and report back what you observe?

    1. Purge and temporarily deactivate every cache layer

    • Purge and deactivate any caching plugin (WP Rocket, W3 Total Cache, LiteSpeed Cache, WP Super Cache, Breeze, etc.).
    • Purge any server-level / host panel cache (Varnish, NGINX, LiteSpeed, hosting panel).
    • Purge any object cache (Redis, Memcached) if enabled.
    • Purge any CDN cache (Cloudflare etc.).

    2. Build a fresh test page

    • Create a brand-new Elementor page (so it has never been cached).
    • Add a Post Grid widget with the failing category.
    • Open it in an incognito window and check whether the posts appear.

    3. If it still fails after caches are off, do a plugin conflict test

    • Deactivate all plugins except Elementor and Essential Addons.
    • Reload the test page in incognito.
    • If it then works, reactivate plugins one by one until it breaks again — that plugin is the conflict.

    4. Share your Site Health info export

    • In WP Admin, go to Tools → Site Health → Info tab.
    • Click “Copy site info to clipboard” at the top right.
    • Paste the result into a text file and share it with us.

    Please share what you find at each step. That will let us pinpoint exactly which layer is causing this.

    Plugin Support Pial

    (@iapial)

    Hi @giangiluca,

    Just following up on this.

    Were you able to go through the cache purge and plugin conflict tests mentioned above?

    In particular, we’d like to know:

    • Whether the issue still occurs after all cache layers are cleared and temporarily disabled

    • Whether the issue occurs on a brand new Elementor page using the same category filter

    • Whether the issue persists when only Elementor and Essential Addons are active

    • Whether you can share the Site Health info export from Tools → Site Health → Info → “Copy site info to clipboard”

    Once we have those results, we’ll be able to narrow down whether this is coming from a cache layer, a third party plugin conflict, or something specific to the site’s configuration.

    Looking forward to your update.

    Plugin Support Pial

    (@iapial)

    Hi @giangiluca,

    Thank you for your patience.

    As we have not heard back from you regarding the requested tests and diagnostics, we are marking this topic as resolved for now.

    If the issue still persists, please feel free to reply with the results of the cache purge, conflict test, and Site Health information, and we will be happy to continue investigating.

    Have a great day!

Viewing 7 replies - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.