Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Steps to reproduce:
- install Locale
- add french language
- enable multilingual support for articles
- create a french article
- remove french language
- visit admin/content
The following notices are raised:
* Notice: Undefined index: in node_admin_nodes() (line 466 of modules\node\node.admin.inc).
* Notice: Undefined index: in node_admin_nodes() (line 483 of modules\node\node.admin.inc).
* Notice: Trying to get property of non-object in node_admin_nodes() (line 483 of modules\node\node.admin.inc).
Comment | File | Size | Author |
---|---|---|---|
#1 | language-821560-1.patch | 1.57 KB | plach |
Comments
Comment #1
plachThe attached patch should fix the issue by introducing a check if the node language is defined.
Comment #2
marcingy CreditAttribution: marcingy commentedComment #3
MustangGB CreditAttribution: MustangGB commentedTag update
Comment #4
spearhead93 CreditAttribution: spearhead93 commentedI was able to reproduce the bug following steps in post.
I've applied the batch and it resolves the bug. Moved to reviewed.
Comment #5
webchickCommitted to HEAD. Thanks!