- Issue created by @Andreas Dvorak
Please add information about specific versions installed and the update commands you used, and the command output. This class does exist in Webform 6.3.x but not 6.2.x. Is is possible you downgraded webform?
- π©πͺGermany Andreas Dvorak
In the report section I got the message, that I should update the webform module to the new beta-version.
IΒ΄ve started the process in the drupal update section.
The website use the drupal version 10.5.1.
Now I canΒ΄t do anything on the website and the webseite is blocked for use (see screen attached). - πͺπΈSpain pcambra Asturies
I'm seeing the same thing on 10.5
function webform_ui_entity_type_alter(array &$entity_types) { \Drupal::service(WebformUiHooks::class)->entityTypeAlter($entity_types); }
It's a classic catch 22 issue and you won't probably be able to reproduce it unless you do an upgrade from say beta2 to beta4
The service doesn't exist and then you can't clear the cache because it complains about it, clearing the cache would solve the issue.
You have requested a non-existent service "Drupal\webform_ui\Hook\WebformUiHooks".
- πͺπΈSpain pcambra Asturies
Seems that webform beta is using
Drupal\Core\Hook\Attribute\Hook
but that's not in D10 is it? https://www.drupal.org/node/3442349 β - @pcambra opened merge request.
- πͺπΈSpain pcambra Asturies
I'm seeing why this is being an issue for some, drush cr did not have bootstrap none on top until https://github.com/drush-ops/drush/pull/6243
So basically this is not an issue for those running drush >13.4.rc1 https://github.com/drush-ops/drush/releases/tag/13.4.0-rc1
Leaving in NR in case we want to be super duper sure and include the workaround