Fatal error: Access level to Drupal\brightcove\Services\ExpirableAccessTokenStorage::$time must be protected (as in class Drupal\Core\KeyValueStore\DatabaseStorageExpirable) or weaker in /var/www/web/modules/contrib/brightcove/src/Services/ExpirableAccess

Created on 10 July 2024, 9 months ago
Updated 5 August 2024, 8 months ago

Problem/Motivation

Getting the following errors after updating to Drupal 10.3

Fatal error: Access level to Drupal\brightcove\Services\ExpirableAccessTokenStorage::$time must be protected (as in class Drupal\Core\KeyValueStore\DatabaseStorageExpirable) or weaker in /var/www/web/modules/contrib/brightcove/src/Services/ExpirableAccessTokenStorage.php on line 0

Steps to reproduce

- Upgrade to drupal 10.3.
- Navigate to any page using Brightcove embed

Proposed resolution

Change the type declaration of $time in ExpirableAccessTokenStorage to TimeInterface|string|null.

🐛 Bug report
Status

Fixed

Version

3.2

Component

Code

Created by

🇺🇸United States andysipple

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

Comments & Activities

Production build 0.71.5 2024