Bug #23313

Illegal offset type after Clear Cache

Added by Guido S. over 10 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2010-07-30
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.2
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

After clear Cache we get an error message in frontend:

Warning: Illegal offset type in .../t3lib/class.t3lib_page.php on line 666

In Function getRootline() the variable $MP is set with ''
But after clear cache the Array will be build with this Code:
$this->cache_getRootLine[$cacheUid][$this->sys_language_uid][$MP][$cacheIgnoreMPerrors] = $output;

In our case follow line helped out:
if ($MP = '') { $MP = 0; }

BTW: I dont know why $MP is empty.

I dont know if this is okay.

Tthis error is only in 1 of 6 4.2.13 installations occurred
(issue imported from #M15302)


Files

15302.diff (518 Bytes) 15302.diff Administrator Admin, 2010-10-09 19:59
15302_2.diff (515 Bytes) 15302_2.diff Administrator Admin, 2010-10-09 21:03
#1

Updated by Alexander Opitz about 7 years ago

  • Status changed from New to Needs Feedback
  • Target version deleted (0)
  • Is Regression set to No

Hi,

as this issue is very old. Does the problem still exists within newer versions of TYPO3 CMS (4.5 or 6.1)?

I think this is resolved in newer versions by using the caching framework.

#2

Updated by Guido S. about 7 years ago

Yes, you can close this issue.

#3

Updated by Alexander Opitz about 7 years ago

  • Status changed from Needs Feedback to Closed

Also available in: Atom PDF