Problem/Motivation

A fatal error occurs when the user tries to create, update, or delete an entity, and this module attempts to invalidate its cache tags.

Error: Call to undefined method Drupal\Core\Cache\DatabaseBackend::invalidateTags() in paragraph_usage_dashboard_entity_update() (line 55 of modules/contrib/paragraph_usage_dashboard/paragraph_usage_dashboard.module).

Steps to reproduce

Install this module and create, update, or delete a paragraph or a node.

(I am using Drupal 11.3).

Proposed resolution

Invalidate the cache tags using the Cache::invalidateTags() function from \Drupal\Core\Cache\Cache

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

mw4ll4c3 created an issue. See original summary.

mw4ll4c3’s picture

Issue summary: View changes
Status: Active » Needs review
mw4ll4c3’s picture

Issue summary: View changes
mw4ll4c3’s picture

Assigned: mw4ll4c3 » Unassigned
Issue summary: View changes
yusuf_khan’s picture

@mw4ll4c3 thank you for resolving the issue i will review the MR and release it in on next release

yusuf_khan’s picture

Status: Needs review » Fixed

@mw4ll4c3 i have merge the MR and closing the issue
Thank you

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.