Error message Invalid locale "defaul" after installation
Forum rules
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Error message Invalid locale "defaul" after installation
Hi,
after the installation setup (composer), in backend I get the error message 'Invalid locale "defaul" '
Why ? And how to fix that ?
All other functions (except Aimeos) work correctly.
Thanks,
Aimeos: 22.4.3
TYPO3: 11.5.12
PHP: 7.4.30
Linux
after the installation setup (composer), in backend I get the error message 'Invalid locale "defaul" '
Why ? And how to fix that ?
All other functions (except Aimeos) work correctly.
Thanks,
Aimeos: 22.4.3
TYPO3: 11.5.12
PHP: 7.4.30
Linux
- Attachments
-
- Error message
- aimeos-invalid-locale.png (183.06 KiB) Viewed 2451 times
Re: Error message Invalid locale "defaul" after installation
"defaul" is very strange, TYPO3 11 uses "default" if no language is explicitly set.
Can you check your site configuration for the used language?
Can you check your site configuration for the used language?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,

Re: Error message Invalid locale "defaul" after installation
Yes, it is very strange. This is the configuration (s. image)
- Attachments
-
- site-configuration.png (52.32 KiB) Viewed 2426 times
Re: Error message Invalid locale "defaul" after installation
Can you post the complete stack trace, please?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,

Re: Error message Invalid locale "defaul" after installation
The "defaul" value seems to appear somewhere here:
https://github.com/aimeos/aimeos-typo3/ ... #L112-L116
Can you check what this contains?
https://github.com/aimeos/aimeos-typo3/ ... #L112-L116
Can you check what this contains?
Code: Select all
$GLOBALS['BE_USER']->uc['lang']
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,

Re: Error message Invalid locale "defaul" after installation
Thank you very much!
The language of the backend user was set to "defaul" instead of to "default". I don't know how this could happen. Probably during the upgrade of TYPO3.
I'm sorry to bother you, and I'm glad to have it fixed.
The language of the backend user was set to "defaul" instead of to "default". I don't know how this could happen. Probably during the upgrade of TYPO3.
I'm sorry to bother you, and I'm glad to have it fixed.