I have a site built in Pro 5.
I have an ACF repeater on a CPT that is optional.
In the section on the page I have a dynamic looper provider. Inside this is a heading followed by the consumer that displays the repeater info.
If there is no repeater data then I have a condition to hide everything if the Provider output is empty.
In Pro 5 this works and I can work in the builder and on the front-end everything works as expected.
In Pro 6.0 & Pro 6.1 this works on the front-end but I can’t work on the pages / layouts in Cornerstone. I get the error where it says I can’t display the page due to the origin being different to the source? (or something to that effect.)
If I inspect the page then I am getting an error 500 in the console.
Is this a bug?
If not what is the best practice for a conditional that will hide a section should the repeater not exist on the CPT?