After updating the webfrom module from "8.x-5.0-beta5" to "8.x-5.0-beta7" (screenshot attached) I got the following error message:
TypeError: Argument 1 passed to Drupal\webform\WebformRequest::__construct() must be an instance of Symfony\Component\HttpFoundation\RequestStack, instance of Drupal\Core\Routing\RouteProv

And the website was completely broken. Unexpected error on every single page i was trying to open.
the drush command:
drush watchdog-list

helped me trace the error to the webform module.
After uninstalling the "webform" module, the site was working without any problems and the annoying "Unexpected error" gone away.

CommentFileSizeAuthor
Screen Shot 2017-02-28 at 16.23.26.png589.42 KBANDiTKO
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

ANDiTKO created an issue. See original summary.

ANDiTKO’s picture

Issue summary: View changes
jrockowitz’s picture

Did you clear the cache after the update?

jrockowitz’s picture

Status: Active » Postponed (maintainer needs more info)

So the cache would be cleared after the drush updb.

I think your WebformRequest class is literally out of sync. It should look like http://cgit.drupalcode.org/webform/tree/src/WebformRequest.php

ANDiTKO’s picture

Yes. Drush cleared the cache (one line before the end). See the attached screenshot.

All I did was install webform on my website about 1-2 months ago. And then I created a simple webform, just to see what are the differences in Drupal 8.
Haven't done anything else since then.

Try installing 8.x-5.0-beta5 then make a simple webform. After that perform the update.

jrockowitz’s picture

Does a clean install with the webform module completely deleted work?

jrockowitz’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)