#103871Exception no. 1476107295 if no languageId can be found.
Description
Routing Service.
After a small change in the sites.yaml file, the whole site is gone with this exception.
PHP Warning: Trying to access array offset on null in /path/typo3_src-12.4.15/typo3/sysext/core/Classes/Site/Entity/Site.php line 110
foreach ($configuration['languages'] as $languageConfiguration) {
$languageUid = (int)$languageConfiguration['languageId'];Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
Files 2
History 6
-
Andreas Kienast commented and changed status
NewNeeds Feedback 05/22/24, 05:38 -
Franz Holzinger commented and changed attached config-kurz.yaml 05/22/24, 10:47
Here is the shortened config.yaml file.
Line 62-62:
languageId: 3 routeEnhancers:Then I tried this:
languageId: 3 - routeEnhancers:Then the website has gone. It did not help to undo this change.
-
Andreas Kienast commented 05/22/24, 11:07
Your attempted change results in invalid yaml. Did you clear all caches (
var/cache/) after un-doing the change? -
Franz Holzinger commented 05/22/24, 11:26
After this change it has not been possible to do anything. All the TYPO3 backend has gone because of this PHP error message.
-
Andreas Kienast commented 05/22/24, 11:30
Yes, please delete the cache manually from your filesystem.
-
Georg Ringer commented and changed status
Needs FeedbackClosed 05/29/24, 20:58I am closing this issue as it can be solved easily
What exactly did you change in your configuration?