Call to a member function getHost() on null

Created on 10 June 2019, over 5 years ago
Updated 20 February 2024, 10 months ago

I am getting this error:

The website encountered an unexpected error. Please try again later.
Error: Call to a member function getHost() on null in Drupal\fastly\Api->__construct() (line 112 of modules/contrib/fastly/src/Api.php).
Drupal\fastly\Api->__construct(Object, 'https://api.fastly.com/', Object, Object, Object, 3, Object, Object) (Line: 297)
Drupal\Component\DependencyInjection\Container->createService(Array, 'fastly.api') (Line: 173)
Drupal\Component\DependencyInjection\Container->get('fastly.api', 1) (Line: 487)
Drupal\Component\DependencyInjection\Container->resolveServicesAndParameters(Array) (Line: 237)
Drupal\Component\DependencyInjection\Container->createService(Array, 'fastly.cache_tags.invalidator') (Line: 173)
Drupal\Component\DependencyInjection\Container->get('fastly.cache_tags.invalidator', 1) (Line: 487)
Drupal\Component\DependencyInjection\Container->resolveServicesAndParameters(Array) (Line: 326)
Drupal\Component\DependencyInjection\Container->createService(Array, 'cache_tags.invalidator') (Line: 173)
Drupal\Component\DependencyInjection\Container->get('cache_tags.invalidator', 1) (Line: 487)
Drupal\Component\DependencyInjection\Container->resolveServicesAndParameters(Array) (Line: 237)
Drupal\Component\DependencyInjection\Container->createService(Array, 'token') (Line: 173)
Drupal\Component\DependencyInjection\Container->get('token', 1) (Line: 487)
Drupal\Component\DependencyInjection\Container->resolveServicesAndParameters(Array) (Line: 237)
Drupal\Component\DependencyInjection\Container->createService(Array, 'dfp.token') (Line: 173)
Drupal\Component\DependencyInjection\Container->get('dfp.token') (Line: 80)
Drupal\dfp\View\TagView->__wakeup()
🐛 Bug report
Status

Fixed

Version

4.0

Component

Code

Created by

🇸🇮Slovenia joco_sp

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