I have a page in which i use the pagedisplay field in order to manage and organzie subpages of said page.
anfragen: label: Anfragen sections: related_default: headline: Anfragen type: pagesdisplay query: page.childrenAndDrafts.filterBy(status_category, *=, neu).sortBy(date, desc)
As you can see in this element all children are displayed that have the status_category of “neu”.
Using this query is absolutely no problem and no errors are beeing thrown.
But when adding the additional “.sortBy(date, desc)” parameter I get following error on my local xampp enviroment:
Nesting level too deep - recursive dependency?
What I dont understand how is the nesting level too deep when all it does is just list all subpages?
Which is pretty much the exact same as when using a “pages” field like this isnt it:
pages: type: pages headline: Subpages sortBy: date desc
When using this query on my production website I get the following error:
The panel cannot connect to the API
I’ve checked if HTTP PATCH request are enabled via curl and I was presented a 200 status code.
So they are working.
All pages that are beeing sorted have a date attached to them.
Are the querys written poorly or how does this occure?