I updated to version 1.5.5 two days ago, and since then I have noticed several bugs while using the CMS. Below is a detailed summary of all issues I have encountered.
1. Related Items no longer work
The Related Items feature has stopped functioning — at least once the project is published on my server.
- Locally and in the Elements Preview, the related items are displayed correctly.
- On the live website, however, only the message appears:
“No item found”
So something breaks during or after publishing.
2. German date formatting breaks in Collection Items
Using the German date formatting works inside a Single Post Item:
{{item.date_published|format_datetime('long', 'none', locale:'de')}}
But as soon as I use the exact same code inside a Blog List (Collections Item), it no longer works.
So the formatting behaves differently depending on the context, which should not happen.
3. Twig spacing syntax causes errors
I prefer using Twig with spacing for better readability, for example:
{{ item.title }} - {{ item.date_published }} - {{ item.tags }}
This normally works without issues.
However, when spacing is used in a filtered Twig expression such as:
{{ item.date_published | format_datetime('long', 'none', locale:'de') }}
…Elements CMS throws the following error:
Fatal error:
Uncaught Twig\Error\SyntaxError: Unexpected character ’
in __string_template__29fef4eb506be81d2797c94c7ca71f4d at line 24.
It would be extremely helpful if Twig spacing syntax could be supported consistently across all expressions.
4. YAML frontmatter
date:
no longer works
The nested YAML structure below used to work earlier in my projects:
date:
published: "2022-11-15"
modified: "2024-02-10"
It still loads without errors, but when I try to output:
{{ item.date.published }}
…the website always displays the current date, not the value that is actually written in the frontmatter.
Because of that, I had to switch back to the old approach:
date_published: "2022-11-15"
date_modified: "2024-02-10"
I would appreciate feedback on this.
This nested format must have worked before, otherwise I wouldn’t have used it in my projects.
Summary
Here are the four issues again in short:
- Related Items fail after publishing (only “No item found” online).
- German date formatting breaks in Collection Items.
- Twig spacing produces syntax errors when used with filters.
- Nested YAML date: frontmatter no longer works , always outputting today’s date.


