Project

General

Profile

Actions

Bug #88984

closed

Exception in BackendController 'Cannot use object of type stdClass as array' on $collapseState ( line 254 )

Added by Philipp Parzer over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend API
Target version:
-
Start date:
2019-08-20
Due date:
% Done:

100%

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

Description

After updating to v9.5.9 and logging in to the backend i instantly received this exception.

The result of my debugging says that $this->getBackendUser()->uc['BackendComponents']['States']['typo3-module-menu'] is an object of type stdClass and so the ['collapsed'] call fails.


Files

Bildschirmfoto 2019-08-20 um 13.39.55.png (130 KB) Bildschirmfoto 2019-08-20 um 13.39.55.png Screenshot of stacktrace Philipp Parzer, 2019-08-20 13:40

Related issues 3 (0 open3 closed)

Related to TYPO3 Core - Bug #89269: $GLOBALS['BE_USER']->uc sometimes wrongly written, gets a stdClass where an array would be expectedClosed2019-09-25

Actions
Related to TYPO3 Core - Bug #89268: Cannot use object of type stdClass as array in BackendUserConfiguration.phpClosedChristian Eßl2019-09-25

Actions
Has duplicate TYPO3 Core - Bug #88997: Error: Cannot use object of type stdClass as arrayClosed2019-08-22

Actions
Actions

Also available in: Atom PDF