- 🇳🇱Netherlands gopisathya
We had the same issue after upgrading to webform-6.2.0 together with Drupal 10. We did the following
1. Find out which config files have empty/null uuid. In our case, we wanted to search in config/excluded directory where webforms were config excluded.
grep -Rnw 'config/excluded' -e 'uuid: null'
Assume, we have null uuid in the form
webform.webform.cancel_form
2. On those file(s) from step1, generate a uuid and update it.
Change
uuid: null
to
uuid: 0a3ba68e-3a84-459b-89c2-fd13d78b92d2
3. Execute '
drush cim
'4. If you see below error from step3
"Error: Call to a member function label() on null in /drupalpath/html/core/lib/Drupal/Core/Entity/Event/BundleConfigImportValidate.php on line 67 #0 [internal function]: Drupal\Core\Entity\Event\BundleConfigImportValidate->onConfigImporterValidate()"
then do the followingdrush cdel webform.webform.cancel_form
5. Then retry '
drush cim
' andadmin/structure/webform
show all the forms.