Project

General

Profile

Actions

Bug #46019

closed

htmlspecialchars in class.tslib_content.php

Added by Tomasz Krawczyk over 11 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2013-03-04
Due date:
% Done:

0%

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

Description

I have lots of such errors in my PHP error log:

[04-Mar-2013 06:35:49 UTC] PHP Warning: htmlspecialchars() expects parameter 1 to be string, array given in D:\Sites\www.mysite.pl\typo3_src\typo3\sysext\cms\tslib\class.tslib_content.php on line 5891

If I add this: var_dump($LD['target']); in line 5889 I can see this at the beginning of the output:

string(6) "_blank" string(6) "_blank" string(6) "_blank" string(0) "" string(0) "" string(0) "" string(0) "" string(0) "" string(0) "" string(0) "" string(0) "" string(0) "" string(0) "" string(0) "" string(0) "" string(0) "" string(0) "" string(0) "" string(0) "" string(0) "" string(0) "" string(0) "" string(0) "" string(0) "" string(0) "" string(0) "" string(0) "" string(0) "" string(0) "" string(0) "" string(0) "" string(0) "" string(0) "" string(0) "" string(0) "" string(0) "" string(0) "" string(0) "" string(0) "" string(0) "" string(0) "" string(0) "" string(0) ""

I noticet this on TYPO3 version 4.5.23, IIS 6.0, PHP 5.3.17, multidomain but single language. I see no other problems with this site. Can anyone help me?

Actions

Also available in: Atom PDF