georgringer / news

TYPO3 Extension news
GNU General Public License v2.0
264 stars 358 forks source link

TYPO3 Exception in BE: BackendUtility::wrapClickMenuOnIcon(): Argument #5 ($row) must be of type array, string given #2476

Closed mark-kirstein closed 4 months ago

mark-kirstein commented 4 months ago

Bug Report

After configuring Plugin for Listview, an error occurs in Page module: TYPO3\CMS\Backend\Utility\BackendUtility::wrapClickMenuOnIcon(): Argument #5 ($row) must be of type array, string given, called in /var/www/html/vendor/georgringer/news/Classes/Hooks/PluginPreviewRenderer.php on line 219

Current Behavior Displaying Error.

Expected behavior/output Seeing be preview without Error.

Environment

Additional context Does not appear if detailview plugin is choosen.

Finulin commented 4 months ago

I can confirm

hannesbochmann commented 4 months ago

Can confirm, too. A new release with a fix would be awesome.

criwe commented 4 months ago

Can confirm the error and @christophlehmann´s patch works like charm :-)