getCacheTags() Error on my edits with content translation

Created on 15 June 2017, over 7 years ago
Updated 25 October 2024, 28 days ago

Problem/Motivation

Testing against Drupal 8.3 with the following modules installed:

 "drupal/replication": "1.x-dev",
        "drupal/multiversion": "1.x-dev",
        "drupal/key_value": "~1.1",
        "drupal/conflict": "~1.0",
        "drupal/deploy": "~1.0",
        "drupal/workspace": "~1.0",
        "drupal/relaxed": "1.x-dev",
        "drupal/workbench": "1.x-dev",
        "drupal/workbench_moderation": "~1.2",

Additionally installed content translation (with patches 2816647 and 2816703 for replication and multiversion) to enable translations to work with workspaces.

All works fine other than when I go to the My Edits tab and receive the following error:

Error: Call to a member function getCacheTags() on null in Drupal\views\Plugin\views\query\Sql->getCacheTags() (line 1622 of 

A previous issue which seems related is #2730597: HTTP 500 Fatal errors on admin/workbench which reported that this patch #2714989: Views which load the same entity type as entity and non default revision cause fatal in Sql::getCacheTags() now committed to core should fix the issue. I haven't investigated any further, perhaps the issues mentioned are now un-related and it is still an issue of views. But reporting it here incase anyone has any insight and can help.

🐛 Bug report
Status

Closed: outdated

Version

1.0

Component

Code

Created by

🇬🇧United Kingdom roborew

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024