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
ERROR TypeError: 2024-10-17T08:08:49.804Z [GET] http://localhost:3000/admin/collection/posts/create - Cannot destructure property 'data' of 'field.cmsContent' as it is undefined.
at Object.init (https://deno.land/x/lume_theme_simple_blog@v0.15.5/_cms.ts:103:17)
at prepareField (https://cdn.jsdelivr.net/gh/lumeland/cms@v0.7.0/core/utils/data.ts:69:17)
at https://cdn.jsdelivr.net/gh/lumeland/cms@v0.7.0/core/templates/collection/create.ts:21:38
at Array.map (<anonymous>)
at template (https://cdn.jsdelivr.net/gh/lumeland/cms@v0.7.0/core/templates/collection/create.ts:21:23)
at Object.handler (https://cdn.jsdelivr.net/gh/lumeland/cms@v0.7.0/core/routes/collection.ts:140:9)
at eventLoopTick (ext:core/01_core.js:175:7)
at async dispatch (https://jsr.io/@hono/hono/4.6.3/src/compose.ts:74:17)
at async handler (https://jsr.io/@hono/hono/4.6.3/src/hono-base.ts:223:12)
at async dispatch (https://jsr.io/@hono/hono/4.6.3/src/compose.ts:74:17)
The text was updated successfully, but these errors were encountered:
Oops. This is due a change I had to do in the latest version of the CMS.
I just released a new version that fixes this issue. Just upgrade the theme to 0.15.6.
Sorry for the trouble.
On a freshly installed Lume with Simple Blog theme I get an error when trying to create a Post.
OS: MacOS v15.0.1
Deno: v2.0.0
Lume: v2.3.3
Error message
Steps to reproduce
> deno run -A https://lume.land/init.ts
> (install a theme)
> (_config.ts)
> (Simple Blog)
> deno task cms
Error trace
The text was updated successfully, but these errors were encountered: