Exception in Webform Handler

Created on 20 December 2023, 6 months ago
Updated 3 January 2024, 6 months ago

Problem/Motivation

When using the webform handler:

ArgumentCountError: Too few arguments to function Drupal\helpdesk_integration\Plugin\WebformHandler\Helpdesk::__construct(), 3 passed in /var/www/html/web/modules/contrib/webform/src/Plugin/WebformHandlerBase.php on line 148 and exactly 4 expected in Drupal\helpdesk_integration\Plugin\WebformHandler\Helpdesk->__construct() (line 43 of modules/contrib/helpdesk_integration/src/Plugin/WebformHandler/Helpdesk.php).
Drupal\webform\Plugin\WebformHandlerBase::create() (Line: 21)
Drupal\Core\Plugin\Factory\ContainerFactory->createInstance() (Line: 76)
Drupal\Component\Plugin\PluginManagerBase->createInstance() (Line: 81)
Drupal\Core\Plugin\DefaultLazyPluginCollection->initializePlugin() (Line: 37)
Drupal\webform\Plugin\WebformHandlerPluginCollection->initializePlugin() (Line: 80)
Drupal\Component\Plugin\LazyPluginCollection->get() (Line: 149)
Drupal\Component\Plugin\LazyPluginCollection->getIterator() (Line: 2606)
Drupal\webform\Entity\Webform->getHandlers() (Line: 2722)
Drupal\webform\Entity\Webform->invokeHandlers() (Line: 1525)
Drupal\webform\Entity\Webform->initElements() (Line: 917)
Drupal\webform\Entity\Webform->getAssets() (Line: 23)
webform_library_info_build()
call_user_func_array() (Line: 400)
Drupal\Core\Extension\ModuleHandler->invoke() (Line: 374)
Drupal\Core\Asset\LibraryDiscoveryParser->parseLibraryInfo() (Line: 130)
Drupal\Core\Asset\LibraryDiscoveryParser->buildByExtension() (Line: 87)
Drupal\Core\Asset\LibraryDiscoveryCollector->getLibraryDefinitions() (Line: 66)
Drupal\Core\Asset\LibraryDiscoveryCollector->resolveCacheMiss() (Line: 149)
Drupal\Core\Cache\CacheCollector->get() (Line: 44)
Drupal\Core\Asset\LibraryDiscovery->getLibrariesByExtension() (Line: 58)
Drupal\Core\Asset\LibraryDiscovery->getLibraryByName() (Line: 68)
Drupal\Core\Asset\LibraryDependencyResolver->doGetDependencies() (Line: 41)
Drupal\Core\Asset\LibraryDependencyResolver->getLibrariesWithDependencies() (Line: 87)
Drupal\Core\Asset\LibraryDependencyResolver->getMinimalRepresentativeSubset() (Line: 113)
Drupal\Core\Asset\AssetResolver->getLibrariesToLoad() (Line: 131)
Drupal\Core\Asset\AssetResolver->getCssAssets() (Line: 321)
Drupal\Core\Render\HtmlResponseAttachmentsProcessor->processAssetLibraries() (Line: 165)
Drupal\Core\Render\HtmlResponseAttachmentsProcessor->processAttachments() (Line: 97)
Drupal\big_pipe\Render\BigPipeResponseAttachmentsProcessor->processAttachments() (Line: 45)
Drupal\Core\EventSubscriber\HtmlResponseSubscriber->onRespond()
call_user_func() (Line: 111)
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: 50)
Drupal\ban\BanMiddleware->handle() (Line: 80)
Drupal\crowdsec\Middleware->handle() (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle() (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle() (Line: 36)
Drupal\Core\StackMiddleware\AjaxPageState->handle() (Line: 51)
Drupal\Core\StackMiddleware\StackedHttpKernel->handle() (Line: 704)
Drupal\Core\DrupalKernel->handle() (Line: 19)
πŸ› Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡©πŸ‡ͺGermany danielspeicher Steisslingen

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

Merge Requests

Comments & Activities

Production build 0.69.0 2024