Error after Upgrading to Typo3 11

Hi everyone,

I just updated a site from Typo3 10.4.37 to Typo3 11.5.39.
Everything worked perfectly, but since I’m working on a subdomain to test my changes first, I wanted to update the site configuration to use the new subdomain i just set up to switch the site over to PHP8 finally.
This requires that I update the Site configuration to use the new test domain for URL generation.

Now here’s where the Issue is: I can access the Sites menu, but when I click the edit button on my one site configuration that exists, I get the following error:

### (1/1) #1439298496 UnexpectedValueException
Unknown special value languages for field forceLanguage of table site

in [...]/typo3_source/typo3_src-11.5.39/typo3/sysext/backend/Classes/Form/FormDataProvider/AbstractItemProvider.php line 229

at TYPO3\CMS\Backend\Form\FormDataProvider\AbstractItemProvider->addItemsFromSpecial()
in [...]/typo3_source/typo3_src-11.5.39/typo3/sysext/backend/Classes/Form/FormDataProvider/TcaSelectItems.php line 55

For debugging purposes I created a new site configuration.
Here’s the content of /typo3conf/sites/main-site/config.yaml:

rootPageId: 1
base: 'https://mydomainhere.tld'
websiteTitle: Test site
languages:
  - title: Deutsch
    enabled: true
    locale: de_DE.UTF-8
    base: 'https://mydomainhere.tld'
    websiteTitle: ''
    navigationTitle: Deutsch
    flag: de
    languageId: 0

I am unsure what “forceLanguage” field the error is talking about, since there is no forceLanguage field in my site configuration and just trying to use the Configuration Tool in the Backend also doesn’t show me any fields by that name that I would deem related to the site config.

I am pretty inexpereienced in PHP and Typo3, please ELI5 :slight_smile:
I also just recently adopted this site, I know that it was started in Typo3 V 4.x and then abandoned, then upgraded to V9.x and abandoned again. A page this old might not have been migrated properly at some point?

Thanks in advance!

Just for fun, I manually patched the file to just not throw an exception there, and the site configuration loaded!

However, for some reason, a language with the title of my site keeps getting added as languageid 0 with values randomly saying english or german.
I do not know where this wrong language is coming from, anyone have an idea?

This site is pretty old and I’ve been thinking about just manually creating the site again from scratch to get rid of any legacy tidbits that are still sticking around from the days this site ran Typo3 5.x…

Thanks in advance!

Does the new created site configuration work?
Did you clear all caches?

I followed the Upgrade Guide for Typo3 11, which includes Flushing all Caches.
I repeated this multiple times after that for Troubleshooting.

The site displays fine, now that I have manually configured the subdomain in the site configuration yaml file.

However, the language list of any created site is still acting up, regardless of ID or site configuration name.
Since this is a single language site, this causes no further issues as of yet, but I still cannot load the site configuration UI with an unmodified version of TYPO3 11.

I am not running any custom plugins, so I really have no idea where this behavior is coming from.

I’m going to try to upgrade the Site to TYPO3 12 in the coming and see if the issue persists or new ones arise, will report back then.

I tried to upgrade the broken site to Typo3 12. Didn’t work. :cry:
The Upgrade Wizard in the install tool is spewing errors in the bottom corner, while most of the Site worked on Typo3 11.

I decided that I will be switching CMS solutions to something else due to the high maintenance required for keeping Typo3 up to date.

Thanks for everything up until now, see you on the status:200 side. :3