Project

General

Profile

Actions

Bug #96622

closed

admin panel enabled breaks the frontend

Added by Riccardo De Contardi over 2 years ago. Updated over 1 year 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 #1

Updated by Gerrit Code Review over 2 years ago

  • Status changed from New to Under Review

Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/73131

Actions #2

Updated by Gerrit Code Review over 2 years ago

Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/73131

Actions #3

Updated by Gerrit Code Review over 2 years ago

Patch set 3 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/73131

Actions #4

Updated by Christian Kuhn over 2 years ago

  • Related to Task #96473: Allow ServerRequestInterface in ext:fluid added
Actions #5

Updated by Gerrit Code Review over 2 years ago

Patch set 1 for branch 11.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/73153

Actions #6

Updated by Susanne Moog over 2 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #7

Updated by Benni Mack over 1 year ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF