georgringer / news

TYPO3 Extension news
GNU General Public License v2.0
265 stars 355 forks source link

Naviagtion Error loading error / Logs Error: Undefined array key "title" #2175

Closed Chriss84 closed 1 year ago

Chriss84 commented 1 year ago

Bug Report

Current Behavior When editing pages, the following appears Navigation loading error. Got unexpected response from the server. The following error message is displayed in the backend in the logs "PHP Warning: Undefined array key "title" in Classes/Hooks/Labels.php line 45

Environment

Possible Solution Labels.php line 28 Extend the query whether $params['row']['title'] is set

if (!isset($params['row']) || !isset($params['row']['title'])) { return; }