In my installation, I use the DFG viewer for the page view, but currently I do not get a calendar view for newspapers. However, the following messages appear in the error log:
Fri, 17 Nov 2023 13:46:19 +0100 [ERROR] request="68bf29cc8b02b" component="TYPO3.CMS.Frontend.Configuration.TypoScript.ConditionMatching.ConditionMatcher": Call to a member function getConfiguration() on null - {"expression":"getDocumentType(3) == 'ephemera' or getDocumentType(3) == 'newspaper'","exception":{}}
Fri, 17 Nov 2023 13:46:19 +0100 [ERROR] request="68bf29cc8b02b" component="TYPO3.CMS.Frontend.Configuration.TypoScript.ConditionMatching.ConditionMatcher": Call to a member function getConfiguration() on null - {"expression":"getDocumentType(3) == 'year'","exception":{}}
Fri, 17 Nov 2023 13:46:19 +0100 [ERROR] request="68bf29cc8b02b" component="TYPO3.CMS.Frontend.Configuration.TypoScript.ConditionMatching.ConditionMatcher": Call to a member function getConfiguration() on null - {"expression":"getDocumentType(3) == 'issue'","exception":{}}
Fri, 17 Nov 2023 13:46:19 +0100 [ERROR] request="68bf29cc8b02b" component="TYPO3.CMS.Frontend.Configuration.TypoScript.ConditionMatching.ConditionMatcher": Call to a member function getConfiguration() on null - {"expression":"getDocumentType(3) == 'object'","exception":{}}
Fri, 17 Nov 2023 13:46:19 +0100 [WARNING] request="68bf29cc8b02b" component="TYPO3.CMS.Core.Error.ErrorHandler": Core: Error handler (FE): PHP Warning: A non-numeric value encountered in /var/www/typo3/vendor/typo3fluid/fluid/src/Core/Parser/SyntaxTree/Expression/MathExpressionNode.php line 80
Fri, 17 Nov 2023 13:46:19 +0100 [WARNING] request="68bf29cc8b02b" component="TYPO3.CMS.Core.Error.ErrorHandler": Core: Error handler (FE): PHP Warning: A non-numeric value encountered in /var/www/typo3/vendor/typo3fluid/fluid/src/Core/Parser/SyntaxTree/Expression/MathExpressionNode.php line 80
#------------------------------------------------------------------------------
# newspaper navigation
# -------------------------------------------------------------------------------
[getDocumentType({$config.storagePid}) == 'ephemera' or getDocumentType({$config.storagePid}) == 'newspaper']
page.10.variables {
isNewspaper = TEXT
isNewspaper.value = newspaper_anchor
}
[END]
[getDocumentType({$config.storagePid}) == 'year']
page.10.variables {
isNewspaper = TEXT
isNewspaper.value = newspaper_year
}
[END]
[getDocumentType({$config.storagePid}) == 'issue']
page.10.variables {
isNewspaper = TEXT
isNewspaper.value = newspaper_issue
}
[END]
[getDocumentType({$config.storagePid}) == 'object']
page.10.variables {
isObject3D = TEXT
isObject3D.value = object
}
[END]
The error only occurs when I call up a DFG viewer page of a newspaper. This error message does not occur on pages that are called up in the Presentation Viewer environment.
Instead of a calendar display (as desired), only a normal DFG Viewer page is displayed.