Issue Bug Closed

#96720Disabling page module columns leads to PHP error

Lina Wolf 02/01/22, 09:25 updated 02/03/22, 10:18

Description

TYPO3 11.5.4
PHP 7.4.26

When I disable all columns in the page module with

mod.SHARED.colPos_list = -1

or when I only allow columns which are not in the current backend layout i.e.

mod.SHARED.colPos_list = 42

I get the following error:

return value of TYPO3\CMS\Backend\ViewHelpers\LanguageColumnViewHelper::render() must be an instance of TYPO3\CMS\Backend\View\BackendLayout\Grid\GridColumn, null returned

in /var/www/html/web/typo3/sysext/backend/Classes/ViewHelpers/LanguageColumnViewHelper.php line 34

In TYPO3 10.4.23 this still worked and would show all columns as not editable

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.

History 2

  1. Georg Ringer commented and changed status New Needs Feedback 02/01/22, 12:41

    I can’t reproduce with latest 11-dev nor main branch. are any extensions involved or can you test on latest dev version?

  2. Lina Wolf commented and changed status Needs Feedback Closed 02/03/22, 10:18

    I cannot reproduce it on current 11.5 branch even with the same extensions installed. Therefore closing this one. The problem must be somewhere in the project.