Project

General

Profile

Actions

Bug #77633

closed

PHP Crash in AbstractXmlParser

Added by Marcus Balasch over 7 years ago. Updated over 7 years ago.

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 #1

Updated by Christian Kuhn over 7 years ago

Maybe an ajax / eid call of an extension that does not fully initialize TSFE? Do you have a full backtrace?

Actions #2

Updated by Wouter Wolters over 7 years ago

  • Status changed from New to Needs Feedback
Actions #3

Updated by Riccardo De Contardi over 7 years ago

  • Status changed from Needs Feedback to Closed

No feedback within 90 days > closing this issue

If you think that this is the wrong decision or experience the issue again, then please reopen it or open a new issue with a reference to this one.

Thank you.

Actions

Also available in: Atom PDF