Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
Since beta15 I received this error:
Fatal error: Cannot instantiate interface Drupal\Core\Cache\CacheBackendInterface in /Volumes/webdev/www/personal/footbel-d8/public/core/lib/Drupal/Component/DependencyInjection/Container.php on line 265
Proposed resolution
varnish.services.yml
Replacing
factory_method: get
factory_service: cache_factory
with
factory: cache_factory:get
Remaining tasks
User interface changes
API changes
Data model changes
Comment | File | Size | Author |
---|---|---|---|
#2 | varnish-cache-factory-get-2564717-2-D8.patch | 542 bytes | KevinVanRansbeeck |
Comments
Comment #2
KevinVanRansbeeck CreditAttribution: KevinVanRansbeeck commentedComment #3
KevinVanRansbeeck CreditAttribution: KevinVanRansbeeck commentedComment #4
Greg BoggsLooks good. This is at least the 4th module now with this same issue and patch.
Comment #5
Leksat CreditAttribution: Leksat at Amazee Labs commentedWorks great!
Comment #7
deadbeef CreditAttribution: deadbeef commented