- Issue created by @v.dovhaliuk
- Status changed to Needs review
10 months ago 12:29pm 16 February 2024
When using this module the following error arises:
The website encountered an unexpected error. Please try again later.
Dompdf\Exception: Calling Drupal\Core\Render\HtmlResponseAttachmentsProcessor::__construct() without the $languageManager argument is deprecated in drupal:10.1.0 and will be required in drupal:11.0.0 16384 in Dompdf\Helpers::record_warnings() (line 507 of /var/www/uat/csp/vendor/dompdf/dompdf/src/Helpers.php).
trigger_error() (Line: 112)
Drupal\Core\Render\HtmlResponseAttachmentsProcessor->__construct() (Line: 77)
Drupal\dfp\DfpHtmlResponseAttachmentsProcessor->__construct() (Line: 259)
Drupal\Component\DependencyInjection\Container->createService() (Line: 177)
Drupal\Component\DependencyInjection\Container->get() (Line: 440)
Drupal\Component\DependencyInjection\Container->resolveServicesAndParameters() (Line: 237)
Drupal\Component\DependencyInjection\Container->createService() (Line: 177)
Drupal\Component\DependencyInjection\Container->get() (Line: 105)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch() (Line: 214)
Symfony\Component\HttpKernel\HttpKernel->filterResponse() (Line: 202)
Symfony\Component\HttpKernel\HttpKernel->handleRaw() (Line: 76)
Symfony\Component\HttpKernel\HttpKernel->handle() (Line: 58)
Drupal\Core\StackMiddleware\Session->handle() (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle() (Line: 106)
Drupal\page_cache\StackMiddleware\PageCache->pass() (Line: 85)
Drupal\page_cache\StackMiddleware\PageCache->handle() (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle() (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle() (Line: 51)
Drupal\Core\StackMiddleware\StackedHttpKernel->handle() (Line: 704)
Drupal\Core\DrupalKernel->handle() (Line: 19)
Proved the @language_manager argument for the DfpHtmlResponseAttachmentsProcessor
Needs review
2.0
Code