Issue with module installation - incorrect class names

Created on 18 June 2024, 4 months ago
Updated 27 June 2024, 4 months ago

Steps to reproduce

1: Installed the module using Composer with the command: composer require 'drupal/media_download_tracker:^1.0@beta'.

2: When i tried to enabling this module it throws an error, the error mentioned below.

TypeError: Drupal\media_download_tracker\EventSubscriber\MediaDownloadTrackerSubscriber::__construct(): Argument #2 ($time) must be of type Drupal\Core\Datetime\TimeInterface, Drupal\Component\Datetime\Time given, called in \web\core\lib\Drupal\Component\DependencyInjection\Container.php on line 259 in Drupal\media_download_tracker\EventSubscriber\MediaDownloadTrackerSubscriber->__construct() (line 48 of modules\contrib\media_download_tracker\src\EventSubscriber\MediaDownloadTrackerSubscriber.php).

I've attached an image illustrating my actionsโ€”installing the module and searching within the extend panel.

๐Ÿ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

๐Ÿ‡ฎ๐Ÿ‡ณIndia aman_lnwebworks

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024