Hi Jesper,
I have carefully investigated your issue.
The problem occurs when the default page for the (da-DK) menu is assigned using the default Helix Ultimate menu assignment and when you want to edit the other template(jesper_template).
Please find the screenshot in the hidden content section
In this specific case, you need to apply the code solution provided earlier. Please use this code only for this exceptional scenario.
If the default homepage(da-DK) is not assigned to the Helix Ultimate template, the issue does not occur.
For such cases, you can follow the standard documentation on renaming the template, which should work without any issues.
Since this is a case-specific problem, rename the template for this site to avoid errors and apply the provided code in the following file:
jesper_template/template/html/layouts/chromes/sp_xhtml.php
I hope this clarifies everything. Let me know if you need further assistance.
Best regards