- πΊπΈUnited States Jon Pugh Newburgh, NY
It looks like the fix to webprofiler in devel never made it to webprofiler:
https://gitlab.com/drupalspoons/devel/-/merge_requests/59/diffs?commit_i...
Getting below error after webprofiler module is installed.
TypeError: Argument 1 passed to "Symfony\Contracts\EventDispatcher\EventDispatcherInterface::dispatch()" must be an object, string given. in Drupal\webprofiler\EventDispatcher\TraceableEventDispatcher->dispatch() (line 84 of modules/contrib/webprofiler/src/EventDispatcher/TraceableEventDispatcher.php).
Drupal\webprofiler\EventDispatcher\TraceableEventDispatcher->dispatch('advagg.optimize_css', Object) (Line: 91)
Drupal\advagg\Asset\CssOptimizer->optimizeFile(Array, Array) (Line: 255)
Drupal\advagg\Asset\AssetOptimizer->scanFile(Array) (Line: 169)
Drupal\advagg\Asset\AssetOptimizer->processAssetArray(Array) (Line: 112)
advagg_css_alter(Array, Object, NULL) (Line: 562)
Drupal\Core\Extension\ModuleHandler->alter('css', Array, Object, NULL) (Line: 114)
Drupal\hook_event_dispatcher\HookEventDispatcherModuleHandler->alter('css', Array, Object) (Line: 159)
Drupal\Core\Asset\AssetResolver->getCssAssets(Object, 1) (Line: 312)
Drupal\Core\Render\HtmlResponseAttachmentsProcessor->processAssetLibraries(Object, Array) (Line: 158)
Drupal\Core\Render\HtmlResponseAttachmentsProcessor->processAttachments(Object) (Line: 45)
Drupal\Core\EventSubscriber\HtmlResponseSubscriber->onRespond(Object, 'kernel.response', Object)
call_user_func(Array, Object, 'kernel.response', Object) (Line: 110)
Drupal\webprofiler\EventDispatcher\TraceableEventDispatcher->dispatch(Object, 'kernel.response') (Line: 202)
Symfony\Component\HttpKernel\HttpKernel->filterResponse(Object, Object, 1) (Line: 190)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 81)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 58)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 106)
Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 85)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 44)
Drupal\services\StackMiddleware\FormatSetter->handle(Object, 1, 1) (Line: 86)
Drupal\idt_user_redirects\IDTUserRedirectsMiddleware->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 38)
Drupal\webprofiler\StackMiddleware\WebprofilerMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 36)
Drupal\renesas_cache\Middleware\TrueClientIpMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 709)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
Active
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
It looks like the fix to webprofiler in devel never made it to webprofiler:
https://gitlab.com/drupalspoons/devel/-/merge_requests/59/diffs?commit_i...