Problem

A fresh installation with the canvas sub-module runs into the following error when opening the settings form:

Steps to reproduce

Install canvas sub-module and open settings form:

The website encountered an unexpected error. Try again later.

ArgumentCountError: Drupal\lupus_decoupled_canvas\Hook\LupusDecoupledSettingsFormAlter::__construct(): Argument #1 ($configFactory) not passed in Drupal\lupus_decoupled_canvas\Hook\LupusDecoupledSettingsFormAlter->__construct() (line 25 of modules/contrib/lupus_decoupled/modules/lupus_decoupled_canvas/src/Hook/LupusDecoupledSettingsFormAlter.php).

Drupal\Component\DependencyInjection\Container->createService() (Line: 177)
Drupal\Component\DependencyInjection\Container->get() (Line: 28)
Drupal\Core\DependencyInjection\ClassResolver->getInstanceFromDefinition() (Line: 100)
Drupal\Core\Utility\CallableResolver->getCallableFromDefinition() (Line: 7
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

fago created an issue. See original summary.

fago’s picture

Status: Active » Needs review

  • fago committed e6067cf8 on 1.x
    fix: #3583088 Canvas integration has ArgumentCountError for...
fago’s picture

Status: Needs review » Fixed

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.

  • fago committed e6067cf8 on feature/recipe-register-docs
    fix: #3583088 Canvas integration has ArgumentCountError for...

Status: Fixed » Closed (fixed)

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