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
1. Some of the prisma model pages throw this error
Next router
Page router
Next Admin version
6.1.4
Screenshots
No response
Next Admin options
initialcleansetup.nocustomoptions
Logs
⨯ TypeError: Cannot read properties of undefined (reading 'length')
at eval (webpack-internal:///./node_modules/@premieroctet/next-admin/dist/utils/server.js:357:52)
at Array.forEach (<anonymous>)
at findRelationInData (webpack-internal:///./node_modules/@premieroctet/next-admin/dist/utils/server.js:346:72)
at mapDataList (webpack-internal:///./node_modules/@premieroctet/next-admin/dist/utils/prisma.js:312:77)
at getMappedDataList (webpack-internal:///./node_modules/@premieroctet/next-admin/dist/utils/prisma.js:368:15)
at async getPropsFromParams (webpack-internal:///./node_modules/@premieroctet/next-admin/dist/utils/props.js:88:48)
at async getNextAdminProps (webpack-internal:///./node_modules/@premieroctet/next-admin/dist/pageRouter.js:17:19)
at async eval (webpack-internal:///./pages/admin/[[...nextadmin]].tsx:37:12)
at async withSuperJSON (file:///Users/.../node_modules/next-superjson-plugin/dist/tools.js:7:24)
at async e8 (/Users/.../node_modules/next/dist/compiled/next-server/pages.runtime.dev.js:25:124)
at async doRender (/Users/.../node_modules/next/dist/server/base-server.js:1407:30)
at async cacheEntry.responseCache.get.routeKind (/Users/.../node_modules/next/dist/server/base-server.js:1581:28)
at async DevServer.renderToResponseWithComponentsImpl (/Users/.../node_modules/next/dist/server/base-server.js:1489:28)
at async DevServer.renderPageComponent (/Users/.../node_modules/next/dist/server/base-server.js:1913:24)
at async DevServer.renderToResponseImpl (/Users/.../node_modules/next/dist/server/base-server.js:1951:32) {
page: '/admin/article'
}
### Browsers
_No response_
The text was updated successfully, but these errors were encountered:
Description
Reproduction URL
n/a
Reproduction steps
Next router
Page router
Next Admin version
6.1.4
Screenshots
No response
Next Admin options
Logs
The text was updated successfully, but these errors were encountered: