blog
blog copied to clipboard
Error: Section "Content" does not exist.
Bug Report
Section "Content" does not exist.
Prerequisites
- [x] Issue in TYPO3 v10.x LTS
- [x] Issue with EXT:blog 9.1.2
Description
- The typo correction of latest version 9.1.2 in file - template/ListRecentPosts.html<f:section name="Content">
- Creates the issue Section "Content" does not exist.
- It cause an issue in already made customisation for older version of blog compatible with TYPO3 v8 and v9.
Expected behavior: Should not cause fatal error "Section "Content" does not exist"
Actual behavior: Getting error "Section "Content" does not exist" at Blog listing plugin
Could it be that you got an overwrite of the blog partials/templates which still uses the "old" <f:section name="content".. In the latest blog version the section is called in uppercase which might be not the case in your overwrite
Same problem. No overriding template files. Section Content (capital C) not found.
So I have found a "solution" for me. I think this must be a bug. Even if I wonder this doesn’t happen to others. I renamed the sections in blog/Resources/Private/Templates/Page/BlogList.html blog/Resources/Private/Templates/Page/BlogPost.html <f:section name="Main"> to <f:section name="Content">
But other way round if I change “render section” in blog/Resources/Private/Layouts/Default.html to <f:render section="Main" /> it doesn’t work. Strange. Its working, but i think there is something messed up somewhere else.