Problem/Motivation

Fatal error: Cannot override final method Drupal\video_embed_field\ProviderPluginBase::__construct() in /var/www/app/docroot/modules/contrib/video_embed_brightcove/src/Plugin/video_embed_field/Provider/Brightcove.php on line 48

Steps to reproduce

Install video_embed_field 3.0.0-alpha1 version for drupal 11 compatibility
run composer require 'drupal/video_embed_field:^3.0@alpha'

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

suryabhi created an issue. See original summary.

suryabhi’s picture

Issue summary: View changes

suryabhi’s picture

Title: Fatal error: Cannot override final method Drupal\video_embed_field\ProviderPluginBase::__construct() » Fatal error: Cannot override final method
suryabhi’s picture

Status: Active » Needs review

  • mably committed 72209d77 on 3.0.x authored by suryabhi
    Issue #3494934: Fatal error: Cannot override final method...
    
mably’s picture

Assigned: suryabhi » Unassigned
Status: Needs review » Fixed
mably’s picture

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

arkener’s picture

Can we get this issue backported to 2.x? Updating from 8.x-2.5 to 8.x-2.7 results in the following error when using the video_embed_spotify module and on custom plugin implementations that provide proper dependency injection.

PHP Fatal error:  Cannot override final method Drupal\video_embed_field\ProviderPluginBase::__construct() in /var/www/html/web/modules/contrib/video_embed_spotify/src/Plugin/video_embed_field/Provider/Spotify.php