Bug #77956
closed
Exception in language menu when using addQueryString.exclude and cHashIncludePageId
Added by Thomas Ruta about 8 years ago.
Updated about 7 years ago.
Sprint Focus:
Stabilization Sprint
Description
Integration the last core Version 6.2.27
https://typo3.org/news/article/typo3-cms-6227-7611-and-831-released/
In different setups (With templavoila or grid & bootstrap) running 6.2. lts. After
deaktivation the 'cHashIncludePageId' all works again - otherwise the page becomes
inaccessable after cacheflush...
Core: Exception handler (WEB): Uncaught TYPO3 Exception: #1467983513: ID parameter
needs to be passed for the cHash calculation! As a temporary not recommended
workaround, you can set $GLOBALS['TYPO3_CONF_VARS']['FE']['cHashIncludePageId'] to
false to avoid this error. | RuntimeException thrown in file
/var/www/typo3_src/typo3_src-6.2.27/typo3/sysext/frontend/Classes/Page/CacheHashCalculator.php
in line 128.
This Bug comes from typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php Line ~7192 in TYPO3 7.6.11 and in TYPO3 6.2.27 it is Line 6544
$exclude['id'] = 0;
Whenever some excludes are set, id will be excluded too. This wont work with
'cHashIncludePageId' => true,
Until this is fixed you can remove your excludes from eg. menus / news and so on.
In my Case it breaks while rendering a languagemenu with
'addQueryString.' => [
'exclude' => 'L, cHash, q, tx_solr'
],
on the news detail page
- Status changed from New to Under Review
Did not work because the patch only sets a "Related" relation instead of "Resolves".
- Subject changed from you can set $GLOBALS['TYPO3_CONF_VARS']['FE']['cHashIncludePageId'] to false to avoid this error to Exception in language menu when using addQueryString.exclude and cHashIncludePageId
- Tags deleted (
#cacheflood)
- Sprint Focus set to On Location Sprint
- Sprint Focus changed from On Location Sprint to Stabilization Sprint
- Target version set to 8.4
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- Status changed from Resolved to Under Review
- Status changed from Under Review to Resolved
- Status changed from Resolved to Closed
Also available in: Atom
PDF