SOLVED: Strange queries (Duplicated DB queries on Taxonomy WOO pages)

Browser: any
OS: macOS / Windows / Linux / etc.

I was looking for site performance and found strange queries in query monitor on woocommerce taxonomy pages.


Where are a lot of duplicated post query and I don’t know where it came from. Looks like it uses tax ID as post ID.

Hi @Illarion,

What is on your taxonomy page? If it’s empty, do you still see those? When do they appear, for which element?

Matej

Hi @Matej

Seems like they appear for each queried element on the page (current post query for taxonomy and elements in header, footer navs)

Hi @Illarion,

thank you for additional information. However, I can’t replicate duplicated DB queries locally.

If possible, can you create a staging website (so that we can freely enable/disable and change the page), and you send temporary login credentials and a link to this topic to help@bricksbuilder.io using the email address you used during the purchase, so we can take a look?

Thank you,
Matej

Send you credentials, as always from my personal email and mentioned address used during the purchase in it (I don’t have access to my agency email)

Hi @Illarion,

thank you for sending the access. We identified the reason for this, and I created an internal improvement task.
Once it’s improved, we will update this forum topic.

Thank you,
Matej

We’ve addressed this in Bricks 2.5-beta (beta release), now available for manual download from your Bricks account.

Bricks no longer repeats failed product lookups on WooCommerce taxonomy pages, which removes the duplicate database queries.

Please read the changelog entry before testing, and let us know if you experience any issues. Beta builds are not intended for production sites.