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

landsman created an issue. See original summary.

landsman’s picture

Issue summary: View changes
jrockowitz’s picture

The 'webform.request_handler' service definition was updated.

Have you cleared Drupal's cache?

geroldk’s picture

@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.

landsman’s picture

@geroldk it works, thanks!

jrockowitz’s picture

@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.

landsman’s picture

I have problem with leaking memory right now :-(

landsman2-mbp:docroot michal.landsman$ ../bin/drush updb -y
The following updates are pending:

redirect module : 
  8108 -   Removes unnecessary settings. 

thunder_media module : 
  8106 -   Update url field labels in media entities. 

thunder_taxonomy module : 
  8002 -   Enable pinterest paragraph type on taxonomy terms. 

webform module : 
  8072 -   Issue #2901738: Add support conditions to WebformHandler. 
  8073 -   Issue #2905955: Update hook webform_update_8048 is broken. 
  8074 -   Issue #2906292: Display element description as help icon (tooltip). 
  8075 -   Issue #2895671: Entity reference format. 
  8076 -   Issue #2908080: Allow options single and multiple format to be specified during export. 
  8077 -   Issue #2909723: Improve hook requirements. 
  8078 -   Issue #2906792: Sender and Return-path headers are not used correctly. 
  8079 -   Issue #2911329: Create 'About' tab. 

Do you wish to run all pending updates? (y/n): y

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 74 bytes) in /Users/michal.landsman/localhost/marianne-thunder/vendor/composer/ClassLoader.php on line 444
The external command could not be executed due to an application error.                                                                                                                                  [error]
The command could not be executed successfully (returned:                                                                                                                                                [error]
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 74 bytes) in /Users/michal.landsman/localhost/marianne-thunder/vendor/composer/ClassLoader.php on line 444
, code: 255)
Cache rebuild complete.                                                                                                                                                                                  [ok]
Finished performing updates.                                                                                                                                                                             [ok]
DateTime::createFromFormat(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used[warning]
any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your
timezone. Response.php:207

Memory limit for that is 10 GB ...

jrockowitz’s picture

You 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

landsman’s picture

Damn, MAMP upgrade changed my custom limits.
Thanks for hint.
I am going to Docker :D

jrockowitz’s picture

Status: Active » Closed (duplicate)
Related issues: +#2907960: Upgrade from beta16 to beta17 result in an 'unrecoverable error'