TypeError: Drupal\csp\LibraryPolicyBuilder::__construct(): Argument #5 ($logger) must be of type ?Drupal\csp\LoggerChannelInterface, Psr\Log\NullLogger given \web\core\lib\Drupal\Component\DependencyInjection\Container.php on line 261 in Drupal\csp\Librar

Created on 24 June 2024, 7 days ago

Problem/Motivation

After upgrading drupal core from 10.2.7 to 10.3.0 it shows below mentioned error
TypeError: Drupal\csp\LibraryPolicyBuilder::__construct(): Argument #5 ($logger) must be of type ?Drupal\csp\LoggerChannelInterface, Psr\Log\NullLogger given \web\core\lib\Drupal\Component\DependencyInjection\Container.php on line 261 in Drupal\csp\Librar

Steps to reproduce

1. Update drupal core to 10.3.0
2. Access the site

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Closed: duplicate

Version

1.0

Component

Code

Created by

🇮🇳India Asheef Chennai

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

Comments & Activities

Production build 0.69.0 2024