NO BUG/SOLVED: Live filters broken after update to 1.12.2

Live filters stopped working after update to 1.12.2

see https://ajo.casa/en/experiences/

Also now get a lot of js error like “bricks.min.js?ver=1740657191:1 Bricks: Query Loop Start comment not found for query element ID: zvdmyb”

Hi @SpinDreams,

Can you try clearing your browser’s cache? On my end, the filters are working as expected:

I worked out it is a conflict somewhere with “Asset CleanUp: Page Speed Booster” plugin, not sure where right now as its not unloading any bricks code but it works if disabled (You seeing it disabled right now which is why it is working for you), ill so some more checks to see if I can find out what the conflict it and come back to you.

If the plugin provides any caching make sure to clear it as that could be the culprit.

Not it is not caching, the problem is a setting to strip html comments

Everything works if I disable it, I also no longer get the errors in “comment not found for query element ID”

I am assuming you are trying to read some sort of comment in the code using JS in the new version?

1 Like

Yes correct, the comment is needed

Hello,

I have the exact same problems

I tried to remove all my plugins, no cache plugins, remove code but nothing worked for me…

For my other wesbite, I have no problems with the new update

So right now, I came back to update 1.11

Any ideas why I also had this problem.

Nom du thème: Bricks Child Theme
Version du thème: 1.1
Auteur du thème: Bricks
URL de l’auteur de thème: https://bricksbuilder.io/
Le thème est un thème enfant:
Nom du thème parent: Bricks
Version du thème parent: 1.11.1.1
URI du thème parent: https://bricksbuilder.io/
URI de l’auteur du thème parent: https://bricksbuilder.io/

Environnement WordPress
URL accueil: https://labeltb.ch
Préfixe de l’API REST: wp-json
Version WP: 6.7.2
Débogage WP:
Langue WP: en_US
WP multisite:
Limite mémoire WP: 512 Mo

Environnement serveur
Info Serveur: Apache
Version MySQL: 10.4.24
Type de meta_value de la table de métadonnées: longtext
Version PHP: 8.1.31
Poids Max Post PHP: 300M
Limite de temps d’exécution de PHP: 30 - Temps d’exécution maximum recommandé : 180 (ou plus)
PHP Max Input Vars: 3000
Mode sécurisé de PHP:
Limite de mémoire PHP: 256M
Taille maximale du fichier à télécharger PHP: 300M
PHP wp_remote_post: Succès

Extensions actives
Advanced Custom Fields (6.3.12) par WP Engine
Complianz GDPR/CCPA Cookie Consent (7.3.0) par Really Simple Plugins
Custom Taxonomy Order (4.0.2) par Marcel Pol
Easy HTTPS (SSL) Redirection (1.9.2) par Tips and Tricks HQ
Modern Events Calendar (7.20.0) par Webnus
Motion.page (2.2.2) par HypeWolf OĂś
Rank Math SEO (1.0.239) par Rank Math SEO
Redirection (5.5.2) par John Godley
Site Kit by Google (1.147.0) par Google
WordPress Importer (0.8.3) par wordpressdotorg
WP Armour - Honeypot Anti Spam (2.2.09) par Dnesscarkey
Yoast Duplicate Post (4.5) par Enrico Battocchi & Team Yoast

We released a hotfix (1.12.3): Bricks 1.12.3 Changelog – Bricks

Are you still running into the same issue?

1 Like

It’s working greaaat
Thank you for you fast work !

1 Like

I had no problems before, but i got the same issue after(!) updating to 1.12.3
edit: i was able to get it working again by disabling my Plugin “Autoptimize”. I had the function to remove html comments disabled before, so thats not the problem, it has to be something else. Right now i leave the plugin turned off. Enabling the plugin brings back the issue…

If the comments are missing from your code then something else must also be removing them, I had the problem with asset cleanup and just added a exclusion for any comment that contained “brx-loop” and now no errors and the filters are working fine, same with latest update.

Yes, something is removing them, but whatever it is, it just removed them (at least in my case) after the update to 1.12.3, before everything worked normal

And to be honest, i am not sure if it is a good idea in general, to rely on HTML comments for crucial website functionality like the query filters…

Hi @Mario ,

Kindly provide a link to your page so we can check.

Regards,
Jenn

Where is this setting in bricks builder?

Hi Stephan,
Welcome to the forum!

The problem should already be fixed in Bricks 1.12.3. However, the “Strip HTML comments” is not a Bricks setting but of some performance/optimization plugins such as “Asset CleanUp: Page Speed Booster.”

1 Like

Thanks. Updated to 1.12.3 and now working fine :slight_smile: