Missing use declaration for RefinableCacheableDependencyInterface and CacheableMetadata

Created on 25 September 2023, about 1 year ago

I noticed when upgrading to D10.1 that I was getting this error:

PHP message: Uncaught PHP Exception TypeError: "node_menu_local_tasks_alter(): Argument #3 ($cacheability) must be of type RefinableCacheableDependencyInterface, Drupal\Core\Cache\CacheableMetadata given, called in /var/www/html/docroot/core/lib/Drupal/Core/Extension/ModuleHandler.php

I Identified that it was due to a missing use declaration of both the RefinableCacheableDependencyInterface and the CacheableMetadata classes.

🐛 Bug report
Status

Closed: works as designed

Version

10.1

Component
Node system 

Last updated 4 days ago

No maintainer
Created by

🇬🇧United Kingdom samberry

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

Comments & Activities

Production build 0.71.5 2024