TypeError: Drupal\audiofield\Plugin\AudioPlayer\WavesurferAudioPlayer::__construct(): Argument #4 ($library_discovery) must be of type Drupal\Core\Asset\LibraryDiscovery, Drupal\Core\Asset\LibraryDiscoveryCollector given, called in /var/www/html/docroot/modules/contrib/audiofield/src/Plugin/AudioPlayer/WavesurferAudioPlayer.php on line 54 in Drupal\audiofield\Plugin\AudioPlayer\WavesurferAudioPlayer->__construct() (line 44 of modules/contrib/audiofield/src/Plugin/AudioPlayer/WavesurferAudioPlayer.php).

Issue fork audiofield-3578292

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

dhavalpanchal created an issue. See original summary.

astonvictor’s picture

Version: 8.x-1.13 » 8.x-1.x-dev

astonvictor’s picture

Status: Active » Needs review

Prepared a new MR.
thanks

  • astonvictor committed 81cf31ec on 8.x-1.x
    Issue #3578292 - Fix construct method for the plugin
    
astonvictor’s picture

Status: Needs review » Fixed

merged to dev version

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

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