Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIX: exception due to missing $LANG #5

Merged
merged 1 commit into from
Jul 14, 2023

Conversation

kitzberger
Copy link
Contributor

From the TYPO3 docs:

Never depend on $GLOBALS['LANG'] in the frontend unless you know what you are doing.

https://docs.typo3.org/m/typo3/reference-coreapi/11.5/en-us/ExtensionArchitecture/HowTo/Localization/Php.html#localization-in-backend-context

Resolves: #4

@schloram
Copy link
Member

I knew this sounded familiar: itplusx/headless_gridelements#10

Don't know how this made it's way in here again 😅

Thanks for the fix.

@schloram schloram merged commit c9b82a1 into itplusx:main Jul 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Exception due to missing $GLOBALS['LANG']
2 participants