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

TYPO3 13: PHP Warning: Undefined property: TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::$fe_user #74

Closed
Tim-Obert opened this issue Nov 2, 2024 · 0 comments · Fixed by #75

Comments

@Tim-Obert
Copy link
Contributor

Tim-Obert commented Nov 2, 2024

If u fetch a Captcha this error comes on.
$GLOBALS['TSFE']->fe_user not working anymore in TYPO3 13

Fix:

$frontendUser = $request->getAttribute('frontend.user');

https://docs.typo3.org/m/typo3/reference-coreapi/main/en-us/ApiOverview/RequestLifeCycle/RequestAttributes/FrontendUser.html

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 a pull request may close this issue.

1 participant