Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Here is full backtrace:
The website encountered an unexpected error. Please try again later.
TypeError: Argument 3 passed to Drupal\webform\WebformRequest::__construct() must be an instance of Drupal\Core\Routing\AdminContext, instance of Drupal\Core\Routing\CurrentRouteMatch given, called in /Users/michal.landsman/localhost/marianne-thunder/docroot/core/lib/Drupal/Component/DependencyInjection/Container.php on line 284 in Drupal\webform\WebformRequest->__construct() (line 94 of modules/contrib/webform/src/WebformRequest.php).
Drupal\webform\WebformRequest->__construct(Object, Object, Object, Object, Object) (Line: 284)
Drupal\Component\DependencyInjection\Container->createService(Array, 'webform.request') (Line: 177)
Drupal\Component\DependencyInjection\Container->get('webform.request', 1) (Line: 494)
Drupal\Component\DependencyInjection\Container->resolveServicesAndParameters(Array) (Line: 236)
Drupal\Component\DependencyInjection\Container->createService(Array, 'webform.breadcrumb') (Line: 177)
Drupal\Component\DependencyInjection\Container->get('webform.breadcrumb', 1) (Line: 494)
Drupal\Component\DependencyInjection\Container->resolveServicesAndParameters(Array) (Line: 329)
Drupal\Component\DependencyInjection\Container->createService(Array, 'breadcrumb') (Line: 177)
Drupal\Component\DependencyInjection\Container->get('breadcrumb') (Line: 63)
Drupal\system\Plugin\Block\SystemBreadcrumbBlock::create(Object, Array, 'system_breadcrumb_block', Array) (Line: 21)
Drupal\Core\Plugin\Factory\ContainerFactory->createInstance('system_breadcrumb_block', Array) (Line: 76)
Drupal\Component\Plugin\PluginManagerBase->createInstance('system_breadcrumb_block', Array) (Line: 65)
Drupal\Core\Plugin\DefaultSingleLazyPluginCollection->initializePlugin('system_breadcrumb_block') (Line: 57)
Drupal\block\BlockPluginCollection->initializePlugin('system_breadcrumb_block') (Line: 80)
Drupal\Component\Plugin\LazyPluginCollection->get('system_breadcrumb_block') (Line: 45)
Drupal\block\BlockPluginCollection->get('system_breadcrumb_block') (Line: 138)
Drupal\block\Entity\Block->getPlugin() (Line: 113)
Drupal\block\BlockAccessControlHandler->checkAccess(Object, 'view', Object) (Line: 105)
Drupal\Core\Entity\EntityAccessControlHandler->access(Object, 'view', Object, 1) (Line: 340)
Drupal\Core\Entity\Entity->access('view', NULL, 1) (Line: 56)
Drupal\block\BlockRepository->getVisibleBlocksPerRegion(Array) (Line: 137)
Drupal\block\Plugin\DisplayVariant\BlockPageVariant->build() (Line: 259)
Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object, Object) (Line: 117)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object) (Line: 66)
Drupal\webprofiler\EventDispatcher\TraceableEventDispatcher->dispatch('kernel.view', Object) (Line: 149)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 64)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 57)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 99)
Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 78)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 38)
Drupal\webprofiler\StackMiddleware\WebprofilerMiddleware->handle(Object, 1, 1) (Line: 50)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 656)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
Devel version:
landsman2-mbp:docroot michal.landsman$ drush pm-info devel
Extension : devel
Project : devel
Type : module
Title : Devel
Description : Various blocks, pages, and functions for developers.
Version : 8.x-1.0
Date : 2017-08-14
Package : Development
Core : 8.x
PHP : 5.5.9
Status : enabled
Path : modules/contrib/devel
Schema version : 8002
Requires : none
Required by : webform_devel, webprofiler
Permissions : access devel information, execute php code, switch users
Configure : devel.admin_settings
Drupal version:
landsman2-mbp:docroot michal.landsman$ drush status
Drupal version : 8.3.7
Site URI : http://default
Database driver : mysql
Database hostname : 127.0.0.1
Database port : 3306
Database username : root
Database name : marianne-thunder
Database : Connected
Drupal bootstrap : Successful
Drupal user :
Default theme : marianne
Administration theme : thunder_admin
PHP configuration :
PHP OS : Darwin
Drush script : /usr/local/bin/drush
Drush version : 8.1.10
Drush temp directory : /tmp
Drush configuration :
Drush alias files :
Install profile : thunder
Drupal root : /Users/michal.landsman/localhost/marianne-thunder/docroot
Drupal Settings File : sites/default/settings.php
Site path : sites/default
File directory path : sites/default/files/public
Private file directory path : sites/default/files/private
Temporary file directory path : ../tmp/private
Sync config path : ../config/sync
Comments
Comment #2
landsman CreditAttribution: landsman commentedComment #3
jrockowitz CreditAttribution: jrockowitz as a volunteer and at The Big Blue House commentedThe 'webform.request_handler' service definition was updated.
Have you cleared Drupal's cache?
Comment #4
geroldk CreditAttribution: geroldk as a volunteer commented@landsman I had the same issue. Using drupal console I couldn't update & clear the cache after using composer to get the beta19 of webform.
Clearing the cache from the backend (admin side) fixed the issue for me. Then I could use drupal console to perform the update.
Comment #5
landsman CreditAttribution: landsman commented@geroldk it works, thanks!
Comment #6
jrockowitz CreditAttribution: jrockowitz as a volunteer and at The Big Blue House commented@see #2907960: Upgrade from beta16 to beta17 result in an 'unrecoverable error' which includes steps to run database updates when recent API changes throw fatal errors.
The short summary is you need to make sure you are able to access /update.php (aka have /update.php open in your browser) before applying the latest webform updates.
Finally, emphasize to @everyone that all Webform API will be finalized before RC and this should prevent these types of fatal errors from occurring during the update process.
Comment #7
landsman CreditAttribution: landsman commentedI have problem with leaking memory right now :-(
Memory limit for that is 10 GB ...
Comment #8
jrockowitz CreditAttribution: jrockowitz as a volunteer and at The Big Blue House commentedYou have other module updates running at the same time. It is difficult to determine which module is running into the memory limit issue.
BTW, you are running into PHP's memory limit which seems to be set to 134217728 byte (134 MB). For Drush/CLI, I usually allocate 320M+
@see https://www.google.com/search?q=drush+php+memory+limit
Comment #9
landsman CreditAttribution: landsman commentedDamn, MAMP upgrade changed my custom limits.
Thanks for hint.
I am going to Docker :D
Comment #10
jrockowitz CreditAttribution: jrockowitz as a volunteer and at The Big Blue House commentedMarking as duplicate and directing people to #2907960: Upgrade from beta16 to beta17 result in an 'unrecoverable error'