Project

General

Profile

Actions

Bug #86398

closed

Interface state can't be saved

Added by David Bruchmann over 5 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Backend User Interface
Start date:
2018-09-27
Due date:
% Done:

100%

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

Description

The current pagetree always is showing up toggled and I've to open again.
In sys_log I find the following error many times:

Core: Exception handler (WEB): Uncaught TYPO3 Exception: Cannot use object of type stdClass as array | Error thrown in file /typo3/sysext/backend/Classes/Configuration/BackendUserConfiguration.php in line 178. Requested URL: https://www.domain.com/typo3/index.php?route=%%2Fajax%%2Fusersettings%%2Fprocess&token=--AnonymizedToken--


Files

composer.json (1.23 KB) composer.json David Bruchmann, 2018-09-27 12:09

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 #89367: Revert introduction of new upgrade wizardClosedDaniel Goerz2019-10-08

Actions
Related to TYPO3 Core - Bug #89638: BackendUserConfigurationUpdate Upgrade Wizard fails on empty UC fieldsClosedDaniel Goerz2019-11-11

Actions
Actions #1

Updated by Andreas Kienast over 5 years ago

  • Status changed from New to Needs Feedback

I can't reproduce this issue in current master. Do you have any 3rd party extension installed?

Actions #2

Updated by David Bruchmann over 5 years ago

Yes, this is from composer.json:


    "require": {
        "in2code/powermail": "^6.1",
        "causal/image_autoresize": "dev-master",
        "svewap/ws-flexslider": "dev-master",
        "wdb/secure-downloads": "dev-master",
        "helhum/typo3-console": "^5.5.4",
        "typo3/minimal": "^9.4",
        "typo3/cms-about": "^9.4",
        "typo3/cms-adminpanel": "^9.4",
        "typo3/cms-belog": "^9.4",
        "typo3/cms-beuser": "^9.4",
        "typo3/cms-felogin": "^9.4",
        "typo3/cms-fluid-styled-content": "^9.4",
        "typo3/cms-form": "^9.4",
        "typo3/cms-impexp": "^9.4",
        "typo3/cms-info": "^9.4",
        "typo3/cms-redirects": "^9.4",
        "typo3/cms-reports": "^9.4",
        "typo3/cms-rte-ckeditor": "^9.4",
        "typo3/cms-seo": "^9.4",
        "typo3/cms-sys-note": "^9.4",
        "typo3/cms-t3editor": "^9.4",
        "typo3/cms-tstemplate": "^9.4",
        "typo3/cms-viewpage": "^9.4",
        "typo3/cms-lowlevel": "^9.4" 
    },

If it helps to reproduce, all BE-users get the uid in BE-shown.
I can't see that it has any impact though, I disabled it and same behavior.

options {
  pageTree.showPageIdWithTitle = 1
}

Actions #4

Updated by Michael Dittberner over 5 years ago

I had the same error. It seems to occur when upgrading an old TYPO3 installation to 9.5. It was concerning only existing users - new users didn't have this problem. I suppose the reason is in the structure of the serialized array in be_users.uc. There might have been some structural changes.

My solution was quite simple: User Settings -> Edit and Advanced functions -> Reset user settings to default state.
Then the user config data is written new and the system can use it.

Maybe there coud be provided an upgrade wizard for this...

Actions #5

Updated by Georg Dümmler about 5 years ago

Same Error here after upgrade from TYPO3 6.1 up to 9.5.4.

Actions #6

Updated by Anonymous about 5 years ago

Michael Dittberner wrote:

I had the same error. It seems to occur when upgrading an old TYPO3 installation to 9.5. It was concerning only existing users - new users didn't have this problem. I suppose the reason is in the structure of the serialized array in be_users.uc. There might have been some structural changes.

My solution was quite simple: User Settings -> Edit and Advanced functions -> Reset user settings to default state.
Then the user config data is written new and the system can use it.

Maybe there coud be provided an upgrade wizard for this...

Reset the user settings did the job. Thanks for the hint!

Actions #7

Updated by Sven Juergens about 5 years ago

Michael Dittberner wrote:

I had the same error. It seems to occur when upgrading an old TYPO3 installation to 9.5. It was concerning only existing users - new users didn't have this problem. I suppose the reason is in the structure of the serialized array in be_users.uc. There might have been some structural changes.

My solution was quite simple: User Settings -> Edit and Advanced functions -> Reset user settings to default state.
Then the user config data is written new and the system can use it.

Maybe there coud be provided an upgrade wizard for this...

Same Problem here :) Thanks for the hint!

To reset all users at once, you can use the option "Maintenance" -> "Reset Backend User Preferences" as admin

Actions #8

Updated by Benni Mack almost 5 years ago

  • Target version changed from next-patchlevel to Candidate for patchlevel
Actions #9

Updated by Johannes Hollmann over 4 years ago

I had the same error on backend login with existing user.

My solution was to create a new admin user over cli and use them to reset all backend user preferences like Sven Juergen wrote above.

Actions #10

Updated by Christian Eßl over 4 years ago

  • Related to Bug #89269: $GLOBALS['BE_USER']->uc sometimes wrongly written, gets a stdClass where an array would be expected added
Actions #11

Updated by Gerrit Code Review over 4 years ago

  • Status changed from Needs Feedback to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61874

Actions #12

Updated by Gerrit Code Review over 4 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61874

Actions #13

Updated by Gerrit Code Review over 4 years ago

Patch set 1 for branch 9.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61916

Actions #14

Updated by Daniel Goerz over 4 years ago

  • Related to Bug #89367: Revert introduction of new upgrade wizard added
Actions #15

Updated by Christian Eßl over 4 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #16

Updated by Gerrit Code Review over 4 years ago

  • Status changed from Resolved to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61906

Actions #17

Updated by Gerrit Code Review over 4 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61906

Actions #18

Updated by Gerrit Code Review over 4 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61906

Actions #19

Updated by Gerrit Code Review over 4 years ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61906

Actions #20

Updated by Gerrit Code Review over 4 years ago

Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61906

Actions #21

Updated by Gerrit Code Review over 4 years ago

Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61906

Actions #22

Updated by Gerrit Code Review over 4 years ago

Patch set 7 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61906

Actions #23

Updated by Gerrit Code Review over 4 years ago

Patch set 1 for branch 9.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/62135

Actions #24

Updated by Christian Eßl over 4 years ago

  • Status changed from Under Review to Resolved
Actions #25

Updated by Daniel Goerz over 4 years ago

  • Related to Bug #89638: BackendUserConfigurationUpdate Upgrade Wizard fails on empty UC fields added
Actions #26

Updated by Benni Mack about 4 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF