Views Error: when delete referenced node Call to a member function getCacheTags() on null in Drupal\views\Plugin\views\query\Sql->getCacheTags() (line 1697 of core/modules/views/src/Plugin/views/query/Sql.php).

Created on 8 February 2024, about 1 year ago
Updated 25 March 2024, about 1 year ago

Problem/Motivation

If we use drupal views with nodes with reference node and delete referenced node.
Views return error, because query still return node.

Steps to reproduce

Create content type node with reference field to another node.
Move to trash referenced node.
Create views add referenced node in Relationships. Try to run query

🐛 Bug report
Status

Closed: outdated

Version

3.0

Component

Code

Created by

🇵🇱Poland Pawelgorski87

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

Comments & Activities

Production build 0.71.5 2024