You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Duplicating Query Block can result in duplicate Query IDs #55823
This is a known issue with internal attributes - #29693. Here're two ongoing explorations: #34750 and #38643.
There is a detailed overview of the current limitations of block attributes provided by @noisysocks in #49466. There are multiple ways we could address it, but all the options should have working prototypes so we would need to finally make a decision what is the best way path forward and incorporate them with the Query block to fix the issue.
Activity
Mamaduka commentedon Nov 3, 2023
This is a known issue with internal attributes - #29693. Here're two ongoing explorations: #34750 and #38643.
gziolo commentedon Nov 6, 2023
There is a detailed overview of the current limitations of block attributes provided by @noisysocks in #49466. There are multiple ways we could address it, but all the options should have working prototypes so we would need to finally make a decision what is the best way path forward and incorporate them with the Query block to fix the issue.
ryanwelcher commentedon Feb 20, 2024
Wanted to bump this as I just received a report on my Advanced Query Loop plugin for this - ryanwelcher/advanced-query-loop#42
archiveofwork commentedon Apr 21, 2024
I was about to post about this same issue
skorasaurus commentedon Jun 13, 2024
This still occurs however I've worked around this by manually changing the queryid of one of the loops in the code editor.
albanyacademy commentedon Jun 18, 2024
for our plugin we just expose the query id:

roborourke commentedon Feb 18, 2026
I've worked around this for now in our query loop extensions plugin here using a HOC:
https://github.com/humanmade/hm-query-loop/blob/main/src/index.js#L58-L105
Also has a backup approach to capture any dupes server side too:
https://github.com/humanmade/hm-query-loop/blob/main/hm-query-loop.php#L181-L267