# Middleware document tree depth exceeded - still x 2

**URL:** https://meta.discourse.org/t/middleware-document-tree-depth-exceeded-still-x-2/403831
**Category:** Support
**Created:** [May 26, 2026, 2:30pm UTC](https://meta.discourse.org/t/middleware-document-tree-depth-exceeded-still-x-2/403831 "2026-05-26T14:30:14Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [May 27, 2026, 5:30am UTC](https://meta.discourse.org/t/middleware-document-tree-depth-exceeded-still-x-2/403831/2 "2026-05-27T05:30:42Z")

</div>

@Falco already wrote a guard for the exact issue:

 ![image](https://global.discourse-cdn.com/meta/original/4X/5/9/b/59b827abbc876f4b8bd28bea495a065af74577e4.png)

You are going to need these 3 commits:

 ![image](https://global.discourse-cdn.com/meta/original/4X/0/2/9/029e6059b57ddb1a68c9918e6c7e4044e8226aa7.png)

Which means either rebuilding against our latest release or waiting for next monthly.

---

_[View the full topic](https://meta.discourse.org/t/middleware-document-tree-depth-exceeded-still-x-2/403831)._
