Typerror in ApiclientFactory with argument must be type of LoggerInterface

Created on 23 July 2025, 6 days ago

Problem/Motivation

TypeError: Drupal\acquia_optimize\ApiClientFactory::__construct(): Argument #4 ($logger) must be of type Psr\Log\LoggerInterface, Drupal\Core\Logger\LoggerChannelFactory given, called in /var/www/html/docroot/core/lib/Drupal/Component/DependencyInjection/Container.php on line 259 in Drupal\acquia_optimize\ApiClientFactory->__construct() (line 15 of modules/contrib/acquia_optimize/src/ApiClientFactory.php).

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇮🇳India ankitv18

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