Browser: Chrome 110
OS: macOS / Windows / Linux / etc.
URL: Link to a page that illustrates this issue
Video: Short screen recording that illustrates this issue (free tool: jam.dev)
Description:
When adding two or more Filter elements linked to ACF custom fields on the same page, the Builder crashes and becomes unresponsive. A single ACF filter works fine.
Steps to reproduce:
-
Fresh WordPress install with only Bricks and ACF active (no other plugins)
-
Create a simple ACF field group with any field type
-
Create a page with a Query Loop and one Filter element linked to an ACF field → works fine

-
Add a second Filter element linked to any ACF field → Builder crashes immediately

Expected behavior: Multiple Filter elements linked to ACF fields should work without issues.
Actual behavior: The Builder becomes unresponsive as soon as a second ACF filter is added. The browser shows “Page unresponsive” and multiple admin-ajax.php requests fail or are cancelled.
Tested on:
-
Bricks 2.1.4 → crashes

-
Bricks 2.2 → crashes

-
Bricks 2.3.1 → crashes

Environment:
-
WordPress 6.9.4
-
ACF 6.8.0
-
PHP 8.4
-
No other plugins active
-
Reproducible on both local and production environments
Additional notes: The crash happens specifically when selecting an ACF field as the filter source. The admin-ajax.php requests triggered by the filter index generation fail and return no response. Notably, the Bricks 2.3.1 changelog mentions a fix for “Filter – Select: Not working if only 1 filter element on the page” — this may be related.