Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When uninstalling the module at the same time as webform via drush:
drush pm-uninstall webform webform_ui webform_encrypt
I got this error:
PHP Error: Call to a member function setStorageClass() on null in /modules/contrib/webform_encrypt/webform_encrypt.module on line 44
The process terminated and now the site is continuously showing that error, which means that webform was uninstalled but not webform_encrypt.
Comment | File | Size | Author |
---|---|---|---|
#2 | 3037613-2.patch | 940 bytes | Manuel Garcia |
|
Comments
Comment #2
Manuel Garcia CreditAttribution: Manuel Garcia as a volunteer and at Appnovation for Pfizer, Inc. commentedThis will prevent any site that runs into this strange scenario from getting stuck with this error, and should not harm anything I believe.
The problem here appears to be that webform was uninstalled in the same command, but apparently getting uninstalled before
webform_encrypt
for some reason.Comment #4
vijaycs85Looks good to me @Manuel Garcia. +1 to RTBC. Probably the tests are failing at the HEAD. I just kicked one to see if so. Leaving it needs review until know the source of test failure.
Comment #5
Manuel Garcia CreditAttribution: Manuel Garcia as a volunteer and at Appnovation for Pfizer, Inc. commentedIndeed its broken. See #3007450: Incompatible with webform 8.x-5.0-rc22
Comment #7
vijaycs85Thank you!