Problem/Motivation
TypeError: Drupal\paragraphs_report\ParagraphsReport::__construct(): Argument #5 ($aliasManager) must be of type Drupal\path_alias\AliasManager, Drupal\workspaces\WorkspacesAliasManager given, called in /var/www/app/docroot/core/lib/Drupal/Component/DependencyInjection/Container.php on line 261 in Drupal\paragraphs_report\ParagraphsReport->__construct() (line 137 of modules/contrib/paragraphs_report/src/ParagraphsReport.php).
Steps to reproduce
1. enable paragraphs_report and workspaces
2. go to http://localhost/admin/reports/paragraphs-report
Proposed resolution
Use the AliasManagerInterface in \Drupal\paragraphs_report\ParagraphsReport::__construct
Remaining tasks
User interface changes
API changes
Data model changes
Issue fork paragraphs_report-3466474
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
Comment #3
malcomio commentedComment #4
chiragp185 commentedFacing the same issue when I am trying to save a node when I use am using this module - Domain Unique Path Alias.
This MR fixes the error since Domain Unique Path Alias is implementing the AliasManagerInterface
Comment #5
malcomio commentedSee also #3530910: Save content in workspace stage environment make __construct() error, where the proposed change is the same
Comment #6
lincoln-batsirayi commentedI was also getting this error but from having the domain access module enabled and this patch / mr resolved it, so i can confirm that this is working and would be good to get it merged in.
The error was getting was:
Comment #9
astonvictor commented