Changes not showing in preview

Hello,

This is my first post but I’ve been finding answers here fore a while now. So i would like first to thank this community and the dev team for this amazing piece of software loved by myself and my clients.

I have an issue with kirby 5.0.2 (Php 8.3). The preview of changes doesn’t work. The preview knows that there are changes, but they are simply not showing on the previewed page.

UPDATE: Found out it’s working on “classic” pages with simple setup and simple folder hierarchy.
The pages not working are Layout and blocks pages, nested in an folder structure which might be the problem :

  • Folder page (just giving the name to the drop-down menu, not really a page, more of a category)
  • Page (contains sections)
  • Sections (which are actually pages in Kirby) with a redirect in the template to go to the correct section in case there is a link to that section. Where content is actually edited
<?php

go($page->parent()->url() . '#' . $page->slug());

- Layout / blocks inside the section page

I guess the problem comes from : when we click on the preview changes button (from the section level page where we edit content), it shows the parent page so there’s kind of a “link broken” in that situation and that specific content hierarchy ?

UPDATE2 : Preview is actually working when we go one level above the “section page” (on the parent page then). I’ll notify my client, that seems a fair solution for now.

Thank you very much