WAIT: Updating failed. The response is not a valid JSON response. When creating the Cart/Checkout Pages

Hi I have been talking with support but I cannot wait anymore.
I created the cart/checkout templates in bricks.
And created cart checkout pages.
Added these pages to woocommerce endpoints.

And when trying to add the shortcodes from the templates to the pages I get the
Updating failed. The response is not a valid JSON response.
when switching to default wordpress theme it works.
With bricks it does not.

Any ideas?

Browser: Chrome 110
OS: Windows
URL: Link to a page that illustrates this issue