Bug #103871
closedException no. 1476107295 if no languageId can be found.
0%
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'];
Files
Updated by Andreas Kienast 25 days ago
- Status changed from New to Needs Feedback
What exactly did you change in your configuration?
Updated by Franz Holzinger 25 days ago
- File config-kurz.yaml config-kurz.yaml added
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.
Updated by Andreas Kienast 25 days ago
Your attempted change results in invalid yaml. Did you clear all caches (var/cache/
) after un-doing the change?
Updated by Franz Holzinger 25 days ago
After this change it has not been possible to do anything. All the TYPO3 backend has gone because of this PHP error message.
Updated by Andreas Kienast 25 days ago
Yes, please delete the cache manually from your filesystem.
Updated by Georg Ringer 17 days ago
- Status changed from Needs Feedback to Closed
I am closing this issue as it can be solved easily