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
404 error when updating entries when max_depth is 1 #11534
When creating a new item after the first save I see a 404 error on the front end view. After the second save it is fine. It is also fine once I have cleared the application cache.
This only seems to affect collections with ordering and max depth of 1 (possibly more). Collections without ordering do not see this issue.
How to reproduce
I created a page (collection does not have ordering) and this did not 404 after the first save.
I created a vehicle (collection has ordering enabled, max depth = 1) this DID 404 after the first save.
I edited the vehicles collection and removed the ordering. I subsequently added a new test vehicle - this did not 404 after the first save.
Logs
Environment
EnvironmentApplication Name: Paul Rhodes CommercialsLaravel Version: 10.48.28PHP Version: 8.1.29Composer Version: 2.4.2Environment: productionDebug Mode: OFFURL: prcommercialsyork.co.ukMaintenance Mode: OFFCacheConfig: NOT CACHEDEvents: NOT CACHEDRoutes: NOT CACHEDViews: CACHEDDriversBroadcasting: logCache: fileDatabase: mysqlLogs: stack / singleMail: smtpQueue: syncSession: fileStatamicAddons: 0Sites: 1Stache Watcher: DisabledStatic Caching: halfVersion: 5.49.1 PRO
Installation
Other (please explain)
Additional details
Cloned a recent repo then upgraded.
Credit to CjRootStudio for spotting the possible link to max depth/ordering.
changed the title [-]400 error when creating a new item in a collection (possibly relating to Ordering / max depth)[/-][+]404 error when creating a new item in a collection (possibly relating to Ordering / max depth)[/+]on Mar 5, 2025
changed the title [-]404 error when creating a new item in a collection (possibly relating to Ordering / max depth)[/-][+]404 error when updating entries (when collection's `max_depth` is 1)[/+]on Aug 6, 2025
changed the title [-]404 error when updating entries (when collection's `max_depth` is 1)[/-][+]404 error when updating entries (when `max_depth` is 1)[/+]on Aug 6, 2025
changed the title [-]404 error when updating entries (when `max_depth` is 1)[/-][+]404 error when updating entries when `max_depth` is 1[/+]on Aug 6, 2025
Activity
[-]400 error when creating a new item in a collection (possibly relating to Ordering / max depth)[/-][+]404 error when creating a new item in a collection (possibly relating to Ordering / max depth)[/+]jamie-b5 commentedon Apr 1, 2025
Hi just a bump to say this is still an issue for us.
Thanks
Jamie
[-]404 error when creating a new item in a collection (possibly relating to Ordering / max depth)[/-][+]404 error when updating entries (when collection's `max_depth` is 1)[/+][-]404 error when updating entries (when collection's `max_depth` is 1)[/-][+]404 error when updating entries (when `max_depth` is 1)[/+][-]404 error when updating entries (when `max_depth` is 1)[/-][+]404 error when updating entries when `max_depth` is 1[/+]andreasbergqvist commentedon Aug 13, 2026
Still an issue with latest Statamic