Steps to reproduce:
Run drush rr command.
We saw warnings:
[warning]
Attempt to read property "language" on null common.inc:7950
[warning]
Attempt to read property "language" on null node.module:707
[warning]
Attempt to read property "language" on null field.info.inc:147

Comments

alena_stanul created an issue. See original summary.

alena_stanul’s picture

StatusFileSize
new1.66 KB
cilefen’s picture

Status: Active » Needs review
Issue tags: -PHP8.1 +PHP 8.1
poker10’s picture

There are more places where $GLOBALS['language']->language or $language->language is used without this check. These usages does not need to be fixed either?

alena_stanul’s picture

The problem was found to be related to the module ctools. Please see related issue.

poker10’s picture

Status: Needs review » Closed (won't fix)

Thanks for providing the information @alena_stanul. As this seems to be caused by the ctools module, I am closing this drupal core issue as Won't fix.