Project

General

Profile

Actions

Bug #46245

closed

BE/Log: Illegal string offset 'uid'

Added by Geddo no-lastname-given about 11 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Backend User Interface
Target version:
Start date:
2013-03-13
Due date:
% Done:

0%

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

Description

Since europes biggest hoster 1und1 is switching to php 5.4 next month, this should be fixed in the next version of typo3:

After loggin in the following error is shown in the logs:
[0]@-99 [5] ! [5_0]
Core: Error handler (BE): PHP Warning: Illegal string offset 'uid' in [path]class.t3lib_befunc.php line 3462

As the error occurs multiple times, the log is spamed with this message.


Related issues 1 (0 open1 closed)

Is duplicate of TYPO3 Core - Bug #46361: BackendUtility::lockRecords throws warnings with PHP 5.4Closed2013-03-16

Actions
Actions #1

Updated by Ernesto Baschny about 11 years ago

Sorry, my vote was by accident. I have no PHP 5.4 environment at hand to test the reported errors / warnings. But I would agree that if it is indeed a problem, we will want to fix it also in 4.5 LTS and the other supported TYPO3 versions.

But only by reading the warning makes it sound strange: This line of code (3462) reads:

$user_id = intval($GLOBALS['BE_USER']->user['uid']);

Why sould 'uid' be illegal at this point? I cannot really imagine it yet. :)

Are you sure this is a PHP 5.4 problem and not maybe some extension you have installed? Could you test the same environment with PHP 5.3?

Actions #2

Updated by Ernesto Baschny about 11 years ago

  • Status changed from New to Needs Feedback
Actions #3

Updated by MTKM about 11 years ago

I've got the same problem here on an 1und1-Website with PHP 5.4.12 and Typo3 4.5.23. I don't change anything on this server (except content) for the last weeks and the FE-Login doesn't work anymore since a few days.

Actions #4

Updated by Helmut Hummel about 11 years ago

  • Status changed from Needs Feedback to Closed

closed as duplicate

Actions

Also available in: Atom PDF