Actions
Bug #77633
closedPHP Crash in AbstractXmlParser
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Localization
Target version:
-
Start date:
2016-08-25
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
7
PHP Version:
5.5
Tags:
Complexity:
easy
Is Regression:
No
Sprint Focus:
Description
I have a website with some different FSC-layouts on root level.
In some cases I get PHP-errors in typo3\sysext\core\Classes\Localization\Parser\AbstractXmlParser, line 89.
Reasons for these are:
- $charset === NULL
and
- $GLOBALS['TSFE'] is an object, but $GLOBALS['TSFE']->csConvObj is NULL.
Two solutions work for me:
changing line 88
from: if ($charset !== '') {
into: if ($charset != '') {
or
changing line 83
from: } elseif (is_object($GLOBALS['TSFE'])) {
into: } elseif (is_object($GLOBALS['TSFE']) && is_object($GLOBALS['TSFE'])->csConvObj) {
TYPO3 Version 7.6.10
Actions