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
Comments
Comment #3
mw4ll4c3 commentedComment #4
mw4ll4c3 commentedComment #5
mw4ll4c3 commentedComment #6
yusuf_khan commented@mw4ll4c3 thank you for resolving the issue i will review the MR and release it in on next release
Comment #7
yusuf_khan commented@mw4ll4c3 i have merge the MR and closing the issue
Thank you