NO BUG: Filter element crashes when adding a 2nd ACF custom field filter

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:

  1. Fresh WordPress install with only Bricks and ACF active (no other plugins)

  2. Create a simple ACF field group with any field type

  3. Create a page with a Query Loop and one Filter element linked to an ACF field → works fine :white_check_mark:

  4. Add a second Filter element linked to any ACF field → Builder crashes immediately :cross_mark:

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 :cross_mark:

  • Bricks 2.2 → crashes :cross_mark:

  • Bricks 2.3.1 → crashes :cross_mark:

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.

Hi @joan ,

Thanks for reporting this.

I’m currently unable to reproduce the issue on my end.

Is your website publicly accessible so we can take a closer look?

Alternatively, if you’re able to replicate the issue on https://try.bricksbuilder.io, please send admin access to help@bricksbuilder.io using your purchased license email, and include this forum thread URL as a reference.

Regards,
Jenn

Hi @itchycode I can give you access to my site and see live problem. Do I have to write you an email?

@joan

Yes please. Thank you.

Hi @joan ,

As per our email conversation, the issue is caused by a JS script enqueued in your child theme.

I marked this thread as “NO BUG”

Thank you.

Regards,
Jenn