Skip to content
Help Center
  • Pricing
  • ProductsExpand
    • Premium PlansGet all the tools you need in one plan
    • Kadence ThemeLightning-fast performance theme for modern websites
    • Kadence BlocksDrop in ready designs with advanced controls for pixel perfect websites
    • Kadence Shop KitCreate a more effective WooCommerce shopping experience
    • Kadence ConversionsBoost sales and build engaged audiences with popups and banners
    • Kadence InsightsEasily create A/B tests. Optimize your pages to drive higher conversions.
    • View All Products
    • Get Kadence + Hosting
      In One Place

      Enjoy faster setup, top-tier performance, and worry-free WordPress hosting – Kadence Theme, Kadence Blocks, and Solid Security all pre-installed.

      Learn More

  • Kadence AI
  • Starter Templates
  • Blog
  • SupportExpand
    • Resource HubStart here for guides, Product docs, FAQs, and Troubleshooting tips, all in one place.
    • Contact SupportStuck on something? We’re here to help! Open a ticket for top-notch support.
    • Contact Our TeamGot pre-sales questions or need help choosing a plan? Open a ticket and our team will guide you.
    • About usCrafted with love in Missoula, Montana. Meet the team behind the mission.
Account Account
Get Kadence
Kadence Blocks
  • Features
  • Pro
  • Blocks
  • HelpExpand
    • Documentation
    • Submit a Ticket
    • Facebook Group
    • Feature Requests
    • Roadmap
    • Changelog
Help Center
Kadence Blocks

Kadence Blocks

  • Row Layout Block
  • Text (Adv) Block
  • Buttons (Adv) Block
  • Image (Adv) Block
  • Gallery (Adv) Block
  • Section Block
  • Testimonial Block
  • Table of Contents Block
  • Form Block
  • Form (Adv) Block
  • Table (Adv) Block
  • Accordion Block
  • Tabs Block
  • Info Box Block
  • Google Maps Block
  • Show More Block
  • Icon Block
  • Icon List Block
  • Progress Bar Block
  • Posts Block
  • Count Up Block
  • Countdown Block
  • Vector Graphic Block
  • Lottie Animations Block
  • Repeater Block
  • Spacer/Divider Block
  • The Kadence Header (Adv) Block
  • The Kadence Navigation (Adv) Block
  • The Kadence Navigation Link Block
  • Search (Adv) Block
  • Site Identity Block
  • Kadence Blocks Default Icon Selections

Getting Started

  • Installing Kadence Blocks
  • Getting Started with Kadence Performance
  • Kadence AI-Powered Design Library
  • Setting custom widths in multi-column Row Layout Blocks
  • How to define a color Palette with Kadence Blocks
  • How to delete/remove a Block
  • How to Duplicate and Copy/Paste Block Styles
  • Setting Block Defaults
  • Kadence Blocks Pexels Integration

Block Tutorials

  • How to Import and Export Blocks or Sections Between Websites
  • How to Use Flexbox Layouts with Section Blocks
  • How to Make a Top Section Sticky with Kadence Blocks
  • Using Padding and Margin in Kadence Blocks
  • Responsive Breakpoints in Kadence
  • Using GIFS and Lottie Animations with Kadence Blocks
  • Adding a Full-width Row
  • Modal Block Quick Start Guide
  • Image Overlay Quick Start Guide
  • How to hide Kadence blocks via WordPress Gutenberg Preferences
  • How To Add Animate on Scroll Effects To Your Page
  • How to add Custom CSS Classes and HTML IDs to Kadence Blocks
  • How to Show Events Using the Kadence Post Grid/Carousel Block
  • How to use Popup Modal Filters with Advanced Query Loops
  • Create a Full Screen Landing Page
  • Displaying Shortcodes in the WordPress Editor
  • Advanced Navigation Sub Menus and Mega Menus
  • Creating Sticky and Transparent Advanced Headers
  • Getting started with Advanced Header/Navigations
  • Building Headers and Footers in Full Site Editing with Kadence Blocks
  • Split Content Quick Start Guide
  • Applying Block-Level Custom CSS in Kadence Blocks
  • How to Access the Kadence Design Library
  • Adding Video Backgrounds to Row Layout
  • Pexels Picker
  • Adding Classic Wireframes, Starter Packs, and Sections to the New Design Library
  • How to customize the design library color palette
  • Adding Privacy Policy link to Kadence Form
  • Set Equal Column Heights with the Row Layout Block
  • How to Control the Hero or Title Section Sitewide and Per Page in Kadence
  • How to Change the Query Loop (Adv) “All” Button Text

Kadence Blocks Pro

  • Kadence Blocks Pro Plugin
  • Product Carousel Block
  • User Info Block
  • Portfolio Grid/Carousel Block
  • Query Loop (Adv) Block
  • Post Grid/Carousel Block
  • The Kadence Block Controls
  • Dynamic Content
  • Display Blocks Conditionally (Conditional Display)
  • Advanced Slider
  • Video Popup Block
  • Image Overlay Block
  • Split Content Block
  • Modal Block
  • Using a Dynamic List Block
  • Dynamic Content: Custom Input and Showing Fields from all Post Types
  • Dynamic HTML Block
  • Using Custom SVG Icons with Kadence Blocks Pro
  • Kadence Custom Fonts
  • Post Grid/Carousel Block – Configure a Blog List

Troubleshooting Blocks

  • Troubleshooting the “Error, Unable to access library database, please try re-syncing” error on the Kadence Blocks Design Library
  • Troubleshooting Query Loop (Adv) Blocks, Filters, and Search issues
  • Kadence Blocks Errors when SCRIPT_DEBUG is Enabled
  • Troubleshooting White/Blank Screens in the Editor or Customizer
  • How to Force Reindex Advanced Queries
  • How to Download Previous Versions of the Kadence Theme and Plugins
  • Resolving Autoplay Problems in Advanced Slider/Gallery Blocks
  • Recommended Server Resources
  • Troubleshooting Kadence Form (Adv) Email Delivery
  • How to Recover a Broken Block

Advanced

  • How to Modify SVG Dividers in Kadence Row Layout Blocks
  • How to Override the Kadence Forms Email Template
  • Prebuilt Layouts
  • How To Set Your Own Conditions for Successful Form (Adv) Submissions
  • How to Block Form (Adv) Spam Using WordPress Disallowed Comment Keys
  • Custom Queries for the Portfolio Grid/Carousel Block (Filter)
  • Customizing the Kadence Blocks Pro Post Grid/Carousel block’s Query to show multiple post types
  • Custom Queries for the Posts Block (Filter)
  • How to Set a Gradient Border for the Section block
  • Run JavaScript when Query Loop (Adv) Updates
  • Custom Upload Directory in Kadence Form (Adv) Block
  • Populate Select, Checkbox, and Radio field option values programmatically in Form (Adv)
  • Query Loop (Adv) Block: Split Character Filter
  • How to add Multiple Markers in the Kadence Google Maps Block
  • Custom Queries for the Post Grid/Carousel Block (Filter)
  • How to Run JavaScript After a Kadence Form is Successfully Submitted (On Event)
  • Dynamically Displaying ACF or Metabox Relationships in Query Loop (Adv) blocks
  • How to Customize the Kadence Blocks Variable Font Sizes (SM, MD, LG, XL, 2XL, and 3XL)
  • Using Tooltips with Kadence Blocks
  • Custom Queries for the Advanced Query Loop Block (Filter)
  • Adding a Custom Font to Kadence Blocks

Advanced Headers

  • How to use Advanced Headers Globally and Conditionally in Kadence
  • The Kadence Header (Adv) Block
  • Using Advanced Header / Navigation Blocks vs Kadence Theme Header Builder
  • Advanced Header Best Practices
  • Getting the most out of Navigation Link Blocks
  • Creating Sticky and Transparent Advanced Headers
  • Advanced Navigation Sub Menus and Mega Menus
  • The Kadence Navigation Builder
  • The Kadence Visual Builder & Off Canvas Settings
  • Importing & Exporting Advanced Headers & Navigations

Kadence Form Integrations

  • How to Modify the Form (Adv) Submit Actions using a Filter
  • How to integrate hCaptcha with Kadence Form (Adv) Blocks
  • How to Integrate Kadence Forms with Cloudflare Turnstile
  • How to Integrate Google reCAPTCHA with Kadence Forms
  • How to Integrate Google Analytics with Kadence Forms
  • Integrating Kadence Forms with FluentCRM
  • Integrating Kadence Forms with Kit (ConvertKit)
  • Kadence Forms and Database Entries
  • Kadence Forms and Auto Respond Emails
  • Integrating Kadence Forms with Webhooks
  • Integrating Kadence Forms with Mailchimp
  • Integrating Kadence Forms with Brevo
  • Integrating Kadence Forms with ActiveCampaign
  • Integrating Kadence Forms with Mailerlite
  • Home
  • Knowledge Base
  • Kadence Blocks
  • Kadence Blocks
  • Troubleshooting Blocks

Troubleshooting Query Loop (Adv) Blocks, Filters, and Search issues

The Query Loop (Advanced) block relies heavily on the WordPress REST API to dynamically load and filter content without refreshing the entire page. When the block stops working, it’s often due to issues blocking or interfering with REST API requests. This guide provides troubleshooting tips to help you identify and resolve common causes, including caching conflicts, security plugin restrictions, and firewall or hosting-level issues.

Table of Contents
  • Page Caching & Optimization Issues
    • JavaScript Exclusions
  • Force Reindex
  • Security & Firewall Related Issues
    • Plugins
    • Hosting
    • Web Application Firewall (WAF)
  • Troubleshooting Checklist
    • Check Your Browser Console
    • Check if the REST API is Working
    • Check Your Security Plugins
    • Check Your Firewall or CDN
    • Test With Caching Disabled
    • Test With Plugins Deactivated
    • CORS and Content Security Policy (CSP) Errors
  • Conclusion

Page Caching & Optimization Issues


Page caching solutions, including third-party services such as Cloudflare, can sometimes cache content in a way that prevents Query Loop (Adv) filters and search from functioning correctly. In particular, overly aggressive caching may ignore URL parameters, causing search queries and filter selections to be disregarded. To resolve this, consider whitelisting the Query Loop URL parameters (i.e., do not cache) or adding the Query Loop page to your cache exclusions. For detailed instructions, please refer to the documentation for your specific caching solution.

For example, when viewing a page containing a Query Loop, the URL might look something like:
https://my-test-site.com/query-loop/?author=1&category=32
where author and category would be the URL parameters you’ll want to whitelist.

JavaScript Exclusions

If you are using heavy JavaScript optimization options, such as delaying or deferring JavaScript, you may need to exclude the Query Loop JavaScript file from optimization.

The following file can be excluded from intense forms of JavaScript optimization:
/wp-content/plugins/kadence-blocks-pro/dist/query.js

Force Reindex

Sometimes, things like taxonomies or custom fields might not show up the way you expect. You may also, in rare cases, run into general issues with filter terms and the application of filters. Normally, Kadence takes care of this automatically in the background. But if your query results or filtering aren’t working quite right, reindexing your queries may fix the issue.

To do that, head to your WordPress Dashboard → Kadence → Queries, then click Force Reindex at the top of the page.

Force Reindex

Security & Firewall Related Issues


The Query Loop (Adv) block relies extensively on the WordPress REST API. Anything that interferes with the proper functioning of the REST API can cause the Query Loop to fail.

Plugins

Many security plugins, such as All-in-One Security, Wordfence, or Solid Security, include settings that can block or disable REST API requests. Adjusting these settings to allow REST API access, or whitelisting the Kadence Query Loop (Advanced) REST API endpoint, can often resolve the issue. Check with your security plugin documentation or support to learn how to adjust these settings.

Kadence Query Loop (Adv) REST API Endpoint: /wp-json/wp/v2/kadence_query/query

Hosting

Some hosting providers include additional security measures or firewall rules to protect WordPress sites. In certain cases, these safeguards can inadvertently restrict access to essential services such as the REST API. If you suspect this may be the cause, contact your hosting provider for assistance with reviewing and adjusting these settings.

Web Application Firewall (WAF)

Web Application Firewalls (WAFs), such as Cloudflare and Sucuri, help protect your site by filtering and blocking potentially harmful traffic. Unfortunately, WAF rules can sometimes mistakenly block legitimate REST API requests used by the Query Loop (Adv) block. If you suspect a WAF rule is interfering, review your WAF logs for blocked REST API calls, and consider whitelisting the Query Loop (Adv) endpoint or specific Query Loop URLs mentioned in the logs. Contact your WAF support for assistance with these configurations.

Troubleshooting Checklist

Check Your Browser Console

  • Press F12 (or right-click → Inspect → Console).
  • Look for red error messages when loading the page or clicking on query filters.
  • Share these errors with your developer or Kadence Support.

Check if the REST API is Working

  • Go to: https://yoursite.com/wp-json/ in your browser.
  • If you see a page of text with { and }, it’s working.
  • If you see “Error 403,” “Not Found,” or “Internal Server Error,” something is blocking the REST API.

Check Your Security Plugins

  • Plugins like All-in-One Security, Wordfence, or Solid Security can block REST API requests.
  • Check their settings for anything that disables the REST API or blocks users who are not logged in.
  • If you find such a setting, turn it off or whitelist the REST API address.

Check Your Firewall or CDN

  • Services like Cloudflare or Sucuri can block or filter requests.
  • Make sure they allow access to any address starting with: yoursite.com/wp-json/

Test With Caching Disabled

  • Temporarily disable page caching for your caching plugin or CDN.
  • For Cloudflare, temporarily enable Develop Mode.
  • If the Query Loop starts working, configure cache exclusions for REST API routes or pages using Query Loop.

Test With Plugins Deactivated

  • If you’re on a development site, try deactivating all non-Kadence plugins.
  • For live sites, test using the Health Check & Troubleshooting plugin.
  • Once the Query Loop is working, re-enable plugins one at a time to find the cause.

CORS and Content Security Policy (CSP) Errors

  • Use your browser’s developer console to check for CORS or CSP errors that might block REST API calls.
  • Report any errors to your hosting provider.

Conclusion

By systematically reviewing caching settings, security plugin configurations, firewall rules, and hosting restrictions, you can identify and resolve most issues affecting the Query Loop (Adv) block. If problems persist after following this guide, consider reaching out to Kadence support for further assistance.

Do you feel this document was helpful?
Kadence Blocks Errors when SCRIPT_DEBUG is Enabled
The Kadence WP Logo
Crafted in Missoula, Montana
  • Follow Kadence on Facebook
  • Follow Kadence on Youtube
  • X
  • Follow Kadence on Instagram
Trustpilot
Products
  • Kadence Plans
  • Kadence Theme
  • Kadence Blocks
  • Kadence AI
  • Kadence Starter Templates
  • Kadence Shop Kit
  • Kadence Conversions
  • Kadence Pattern Hub
  • View All
Resources
  • Blog
  • Podcast
  • Knowledgebase
  • Support ticket
  • Feature Requests
  • FAQ
  • WordPress Hosting Services
About Us
  • About Kadence
  • Become an affiliate
  • Contact us
  • Terms
  • Privacy Policy
  • Security
Our Partner Brands
  • SolidWP
  • LearnDash
  • The Events Calendar
  • GiveWP
  • MemberDash
Kadence Community
  • Kadence Marketplace
  • Join the Facebook Group
  • Subscribe to our YouTube Channel
© 2024 Kadence WP | All prices are in USD
Logo for StellarWP an umbrella brand of Premium WordPress plugins
  • Pricing
  • Products
    • Premium PlansGet all the tools you need in one plan
    • Kadence ThemeLightning-fast performance theme for modern websites
    • Kadence BlocksDrop in ready designs with advanced controls for pixel perfect websites
    • Kadence Shop KitCreate a more effective WooCommerce shopping experience
    • Kadence ConversionsBoost sales and build engaged audiences with popups and banners
    • Kadence InsightsEasily create A/B tests. Optimize your pages to drive higher conversions.
    • View All Products
    • Get Kadence + Hosting
      In One Place

      Enjoy faster setup, top-tier performance, and worry-free WordPress hosting – Kadence Theme, Kadence Blocks, and Solid Security all pre-installed.

      Learn More

  • Kadence AI
  • Starter Templates
  • Blog
  • Support
    • Resource HubStart here for guides, Product docs, FAQs, and Troubleshooting tips, all in one place.
    • Contact SupportStuck on something? We’re here to help! Open a ticket for top-notch support.
    • Contact Our TeamGot pre-sales questions or need help choosing a plan? Open a ticket and our team will guide you.
    • About usCrafted with love in Missoula, Montana. Meet the team behind the mission.
Account Login
  • Features
  • Pro
  • Blocks
  • HelpExpand
    • Documentation
    • Submit a Ticket
    • Facebook Group
    • Feature Requests
    • Roadmap
    • Changelog