ArgumentCountError: Too few arguments to function Drupal\acquia_contenthub\Client\ClientMetaDataBuilder::__construct()

Created on 11 October 2024, about 1 month ago

Problem/Motivation

Using Drupal 10.3.6 and installing drupal/acquia_contenthub 3.6 an error is thrown when I access my site:

ArgumentCountError: Too few arguments to function Drupal\acquia_contenthub\Client\ClientMetaDataBuilder::__construct(), 4 passed in /app/docroot/core/lib/Drupal/Component/DependencyInjection/Container.php on line 261 and exactly 5 expected in /app/docroot/modules/contrib/acquia_contenthub/src/Client/ClientMetaDataBuilder.php on line 74 #0 /app/docroot/core/lib/Drupal/Component/DependencyInjection/Container.php(261): Drupal\acquia_contenthub\Client\ClientMetaDataBuilder->__construct(Object(Drupal\acquia_contenthub\EventSubscriber\CdfAttributes\AchVersionAttribute), Object(Drupal\acquia_contenthub\EventSubscriber\CdfAttributes\ValidSslAttribute), Object(Drupal\acquia_contenthub\PubSubModuleStatusChecker), Object(Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher))

Steps to reproduce

Install drupal/acquia_contenthub 3.6 via composer in a Drupal 10.3.6.
Access your site or try to clear your cache using drush cr.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

3.6

Component

Code

Created by

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

Comments & Activities

Production build 0.71.5 2024