Drupal 11 compatibility fixes
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3535014. -->
Reported by: [andras_szilagyi](https://www.drupal.org/user/1217938)
Related to !12
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>Resolve issues in the <code>core-errors-inc-changes</code> pipeline sourced from <code>errors.in</code>c and <code>errors.inc.diff</code></p>
issue