Hi,
when I try to visit any of the invitation settings pages, I'm getting this error:
InvalidArgumentException: Class "\Drupal\webform\Controller\WebformController" does not exist. in Drupal\Core\DependencyInjection\ClassResolver->getInstanceFromDefinition() (line 24 of /siteroot/core/lib/Drupal/Core/DependencyInjection/ClassResolver.php).
When I remove the _title_callback in het webform_invitation.routing.yml file, the error is gone (and of course I do not get titles for my admin pages)
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | webform_invitation-2920715-6.patch | 2.51 KB | kyberman |
| #2 | invalidargumentexception-webformcontroller-2920715.patch | 1.76 KB | maxplus |
Comments
Comment #2
maxplus commentedI have attached my quick fix (not the best one but I needed a fast solution)
Comment #3
broonAre you going to work on a better solution? If not, please do not assign yourself to this bug.
Apart from that, which Webform version are you using?
Comment #4
kyberman@Paul Webform did few changes during last releases, so I'll try to bring better patch and we should update minimum version constraint.
Comment #5
broonThat was my guess and that's why I was asking for the module version used.
As long as Webform doesn't have a stable release, each update may break Webform Invitation.
Comment #6
kybermanThese problems started with webform version 8.x-5.0-beta20, where WebformController was replaced by more specific WebformEntityController. Patch attached.
Comment #7
kybermanPatch merged into dev. Going to create beta3 with note about compatibility.
Comment #8
maxplus commentedThanks Guys ,
I’m using webform 8.x-5.0-beta22.
What a super quick response and solution!