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

Updated by Susanne Moog over 12 years ago

  • Status changed from New to Accepted
Actions #2

Updated by Susanne Moog over 12 years ago

  • Complexity set to no-brainer
Actions #3

Updated by Mr. Hudson over 12 years ago

Patch set 1 of change Ibb9a6711ab910236a7308f59bc500e2f9045fdf7 has been pushed to the review server.
It is available at http://review.typo3.org/4231

Actions #4

Updated by Anonymous over 12 years ago

  • Status changed from Accepted to Resolved
  • % Done changed from 0 to 100
Actions #6

Updated by Steffen Gebert over 12 years ago

  • Status changed from Resolved to Under Review
Actions #7

Updated by Mr. Hudson over 12 years ago

Patch set 2 of change I3c4f9390e13bebfae861565c482877f5563f9442 has been pushed to the review server.
It is available at http://review.typo3.org/6697

Actions #8

Updated by Dmitry Dulepov over 12 years ago

  • Status changed from Under Review to Resolved
  • Assignee set to Dmitry Dulepov

I pushed changes to old branches. I believe the issue is resolved now.

Actions #9

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF