Lots of warnings on the create new provider form

Created on 28 September 2023, about 1 year ago
Updated 16 January 2024, 11 months ago

Problem/Motivation

Drupal 10.1 & PHP 8.1
When I open up the form to create a new provider I can see a list of warnings about undefined variables.

Warning: Trying to access array offset on value of type null in /app/web/modules/contrib/lionbridge_translation_provider/tmgmt_contentapi/src/ContentApiTranslatorUI.php on line 88

Warning: Trying to access array offset on value of type null in /app/web/modules/contrib/lionbridge_translation_provider/tmgmt_contentapi/src/ContentApiTranslatorUI.php on line 165

Warning: Trying to access array offset on value of type null in /app/web/modules/contrib/lionbridge_translation_provider/tmgmt_contentapi/src/ContentApiTranslatorUI.php on line 173

Warning: Trying to access array offset on value of type null in /app/web/modules/contrib/lionbridge_translation_provider/tmgmt_contentapi/src/ContentApiTranslatorUI.php on line 181

Warning: Trying to access array offset on value of type null in /app/web/modules/contrib/lionbridge_translation_provider/tmgmt_contentapi/src/ContentApiTranslatorUI.php on line 189

Warning: Trying to access array offset on value of type null in /app/web/modules/contrib/lionbridge_translation_provider/tmgmt_contentapi/src/ContentApiTranslatorUI.php on line 197

Warning: Trying to access array offset on value of type null in /app/web/modules/contrib/lionbridge_translation_provider/tmgmt_contentapi/src/ContentApiTranslatorUI.php on line 205

Warning: foreach() argument must be of type array|object, null given in /app/web/modules/contrib/lionbridge_translation_provider/tmgmt_contentapi/src/ContentApiTranslatorUI.php on line 232

Warning: Trying to access array offset on value of type null in /app/web/modules/contrib/lionbridge_translation_provider/tmgmt_contentapi/src/ContentApiTranslatorUI.php on line 251

Warning: Trying to access array offset on value of type null in /app/web/modules/contrib/lionbridge_translation_provider/tmgmt_contentapi/src/ContentApiTranslatorUI.php on line 272

🐛 Bug report
Status

Fixed

Version

2.25

Component

Code

Created by

🇪🇪Estonia mikkmiggur

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024