Project

General

Profile

Actions

Bug #38142

closed

PHP Warning: Illegal string offset '_CONTROL_' in t3lib/class.t3lib_recordlist.php line 186

Added by Philipp Gampe almost 12 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2012-06-17
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.0
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

Happens for each all pages/folders if opened with list module.

Actions #1

Updated by Philipp Gampe almost 12 years ago

Ok, I tracked it down to /t3lib/class.t3lib_recordlist.php lines 195-219. The problematic line is 216 with $this->addElement(...)

        /**
     * Finishes the list with the "stopper"-gif, adding the HTML code for that item to the internal ->HTMLcode string
     *
     * @return void
     */
    function writeBottom() {
        $this->HTMLcode .= '

        <!--
            End of list table:
        -->
        <table border="0" cellpadding="0" cellspacing="0">';
        $theIcon = '<img' . t3lib_iconWorks::skinImg($this->backPath, 'gfx/ol/stopper.gif', 'width="18" height="16"') . ' alt="" />';
        $this->HTMLcode .= $this->addElement(1, '', '', '', $this->leftMargin, $theIcon);
        $this->HTMLcode .= '
        </table>';
    }

There is absolutely no visible change if this method turned into an empty stump. So I suggest to just remove this code.

Actions #2

Updated by Philipp Gampe almost 12 years ago

BTW, the last two parameters of addElement are not used any more.

Actions #3

Updated by Wouter Wolters over 9 years ago

  • Status changed from New to Closed
  • Is Regression set to No

Function has been removed meanwhile.

Actions

Also available in: Atom PDF