Project

General

Profile

Actions

Bug #87958

closed

TranslateViewHelper error in AbstractViewHelper

Added by Harald Holzmann about 5 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
-
Target version:
-
Start date:
2019-03-20
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
9
PHP Version:
7.3
Tags:
Complexity:
easy
Is Regression:
Sprint Focus:

Description

Hello,

every time I try to login to Typo3 Backend, I receive the following error message " Core: Exception handler (WEB): Uncaught TYPO3 Exception: #1256475113: The argument "arguments" was registered with type "array", but is of type "string" in view helper "TYPO3\CMS\Fluid\ViewHelpers\TranslateViewHelper". | InvalidArgumentException thrown in file /var/www/html/vendor/typo3fluid/fluid/src/Core/ViewHelper/AbstractViewHelper.php in line 365."

I looked up where it is used and found that it is used in the File "UserToolbarItemDropDown.html" in line 36. When i cahnge the line from
<a href="{user.switchUserLink}" title="{f:translate(key: 'usermodule.su.tooltip', arguments: {0: user.username})}">
to
<a href="{user.switchUserLink}" title="{f:translate(key: 'usermodule.su.tooltip', arguments: '{0: user.username}')}">

everything is okay. I think there is the call of the translate view helper broken.

Kind regards,
Harald


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #87573: TYPO3 CMS Exception 1256475113 in Extension ManagerClosed2019-01-29

Actions
Related to TYPO3 Core - Bug #88415: InvalidArgumentException in SiteConfigurationClosed2019-05-22

Actions
Actions

Also available in: Atom PDF