Project

General

Profile

Actions

Bug #28835

closed

Recycler floods system log - PHP Warning: Missing argument 2 for t3lib_div::fixed_lgd_cs()

Added by Marc Bastian Heinrichs over 12 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2011-08-08
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
Tags:
Complexity:
no-brainer
Is Regression:
Sprint Focus:

Description

Core: Error handler (BE): PHP Warning: Missing argument 2 for t3lib_div::fixed_lgd_cs(), called in ..../typo3_src-4.5.4/typo3/sysext/recycler/classes/helper/class.tx_recycler_helper.php on line 121 and defined in ..../typo3_src-4.5.4/t3lib/class.t3lib_div.php line 641

the closing bracket is not set correct

change

$output = '/' . htmlspecialchars(t3lib_div::fixed_lgd_cs($row['title']), $titleLimit) . $output;

to

$output = '/' . htmlspecialchars(t3lib_div::fixed_lgd_cs($row['title'], $titleLimit)) . $output;

same problem in line 127

from

if ($fullTitleLimit) $fullOutput = '/' . htmlspecialchars(t3lib_div::fixed_lgd_cs($row['title']), $fullTitleLimit) . $fullOutput;
<pre>

to
<pre>
if ($fullTitleLimit) $fullOutput = '/' . htmlspecialchars(t3lib_div::fixed_lgd_cs($row['title'], $fullTitleLimit)) . $fullOutput;
<pre>

Will try to push this to gerrit.


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #29116: recycler: PHP Warning: Missing argument 2 for t3lib_div::fixed_lgd_cs()Closed2011-08-19

Actions
Has duplicate TYPO3 Core - Bug #31859: class.tx_recycler_helper.php Missing Argument in 121ClosedDmitry Dulepov2011-11-16

Actions
Actions

Also available in: Atom PDF