After upgrading a site with TYPO3 version 8.7 via v. 9.5 to version 10.4.2, the cache is "unstable" for lack of a better word. The problem is that after a few hours the cache contains faulty pages. That is, the links are either generated without the href attribute or with another language, i.e. /fr/ instead of /de/.
The fix: empty cache via install tool.
Approach:
- stopped all back-end work, error persists,
- checked and changed cache configuration to 'database', to no avail,
- disabled caching 'no_cache = 1', no faulty pages are produced.
Question: What produces the faulty pages in the cache after a few hours? Are there possibly 'left-over-configurations' or settings from the version 8.7?
config.yaml
base: 'https://metu.de'
baseVariants: { }
errorHandling: { }
languages:
-
title: Deutsch
enabled: true
base: /de/
typo3Language: de
locale: de_DE.UTF8
iso-639-1: de
websiteTitle: ''
navigationTitle: ''
hreflang: ''
direction: ''
flag: de
languageId: '0'
-
title: English
enabled: true
base: /en/
typo3Language: default
locale: en_US.UTF8
iso-639-1: en
websiteTitle: ''
navigationTitle: ''
hreflang: ''
direction: ''
fallbackType: strict
fallbacks: ''
flag: us
languageId: '1'
-
title: French
enabled: true
base: /fr/
typo3Language: default
locale: fr_FR.UTF8
iso-639-1: fr
websiteTitle: ''
navigationTitle: ''
hreflang: ''
direction: ''
fallbackType: strict
fallbacks: ''
flag: fr
languageId: '2'
-
title: Italian
enabled: true
base: /it/
typo3Language: default
locale: it_IT.UTF8
iso-639-1: it
websiteTitle: ''
navigationTitle: ''
hreflang: ''
direction: ''
fallbackType: strict
fallbacks: ''
flag: it
languageId: '4'
-
title: Russian
enabled: true
base: /ru/
typo3Language: default
locale: ru_RU.UTF8
iso-639-1: ru
websiteTitle: ''
navigationTitle: ''
hreflang: ''
direction: ''
fallbackType: strict
fallbacks: ''
flag: ru
languageId: '5'
-
title: Spanish
enabled: true
base: /es/
typo3Language: default
locale: es_ES.UTF8
iso-639-1: es
websiteTitle: ''
navigationTitle: ''
hreflang: ''
direction: ''
fallbackType: strict
fallbacks: ''
flag: es
languageId: '3'
rootPageId: 1
routes: { }
websiteTitle: Metu
typo3Language: default
on multiple languages. Usually the language withlanguageId=0
is the default language but I am not sure if that could lead to problems. – Jonas Eberle