Project

General

Profile

Actions

Bug #85310

closed

$GLOBALS['BE_USER] is null causes Errors in FE

Added by Julian Stelzer over 6 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
Start date:
2018-06-19
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
9
PHP Version:
7.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Call to a member function getTSConfig() on null 
Error thrown in file
../typo3/sysext/backend/Classes/Utility/BackendUtility.php in line 873.

Trying to save data of a form in my database in Frontend.

The error comes from this line:

$userTSconfig = static::getBackendUserAuthentication()->getTSConfig() ?? [];

static::getBackendUserAuthentication() is null.

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #82497: Streamline \TYPO3\CMS\Backend\Utility\BackendUtility::getPagesTSconfigClosedAlexander Schnitzler2017-09-17

Actions
Actions

Also available in: Atom PDF