row.node_field_data_langcode in views-view-field--status.html.twig may be null
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3591598. --> Reported by: [gease](https://www.drupal.org/user/771370) Related to !788 >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>Upgrading to PHP 8.5 revealed a bunch of warnings on the admin/content/media page:</p> <p>Deprecated function: Using null as an array offset is deprecated, use an empty string instead in Drupal\Core\Entity\ContentEntityBase-&gt;hasTranslation() (line 984 of core/lib/Drupal/Core/Entity/ContentEntityBase.php) </p> <h4 id="summary-steps-reproduce">Steps to reproduce</h4> <p>Generally, it is due to rather awkward config, when the site is multilingual, but media is untranslatable and in default language.</p> <h3 id="summary-proposed-resolution">Proposed resolution</h3> <p>Add a check for not null in template.</p> > Related issue: [Issue #3591533](https://www.drupal.org/node/3591533)
issue