Layout Filename must be unique or frontend crashes
Apparently, if you use a Layout called "Default.html" and use the Form-Plugin on a page, the page will crash with the error message "Section "main" does not exist". After renaming the local Layout, the issues resolves. This appears to be a problem with generation of cached Layouts and their filenames.
#4 Updated by Bjoern Jacob about 3 years ago
- Status changed from In Progress to Needs Feedback
- Assignee changed from Bjoern Jacob to martin no-lastname-given
The problem is known and it should be fixed with the current master of fluid. Does this problem also occur with TYPO3 v7? Yesterday, I've spent some time to reproduce the problem. Could you please supply me some more information of your setup? Does it happen as soon as your FLUIDTEMPLATE is named "Default.html" or does it happen in confluence with another extension like yag (which also ships with a layout called "Default.html")?
#9 Updated by Wouter Wolters almost 3 years ago
- Status changed from Needs Feedback to Closed
No feedback within the last 90 days => closing this issue.
If you think that this is the wrong decision or experience this issue again, then please write to the mailing list typo3.teams.bugs with issue number and an explanation or open a new ticket and add a relation to this ticket number.
#12 Updated by Tashko Valkov over 1 year ago
Working solution: Just delete the 3 rows from your template:
<f:layout name="Default" />
if you don't use them and your template works without them.
Tested and works in Typo3 8.5.1 and DCE 1.5.2 (which was upgraded from 1.4.8 and this reason caused this issue)