Project

General

Profile

Actions

Bug #96622

closed

admin panel enabled breaks the frontend

Added by Riccardo De Contardi almost 3 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
AdminPanel
Target version:
-
Start date:
2022-01-22
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
12
PHP Version:
8.1
Tags:
admPanel, frontend
Complexity:
Is Regression:
Sprint Focus:

Description

This issue seems to occur on TYPO3 12.0.0-dev (latest master) (not TYPO3 11 as far as I can see)

with the admin panel enabled:

config.admPanel = 1

the frontend is broken, and it shows the error

(1/1) TypeError
TYPO3\CMS\Extbase\Utility\LocalizationUtility::translate(): Argument #1 ($key) must be of type string, bool given, called in /Users/riccardo/TYPO3-dists/typo3_master/typo3/sysext/fluid/Classes/ViewHelpers/TranslateViewHelper.php on line 184

Attached: the screenshot of the full message

I could be wrong, but at one point of the message I've read:

[...]
at TYPO3Fluid\Fluid\View\AbstractTemplateView->renderPartial('Modules/Item', null, array('module' => ....
[...]

I think it refers to

/sysext/adminpanel/Resources/Private/Partials/Modules/Item.html

where I see multiple lines like:

<f:translate key="LLL:EXT:adminpanel/Resources/Private/Language/locallang.xlf:settings.label" languageKey="{languageKey}"/>

Files


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #96473: Allow ServerRequestInterface in ext:fluidClosed2022-01-06

Actions
Actions

Also available in: Atom PDF