Problem/Motivation
It seems that the encrypt_kms.install file refers to a function that is not present in Drupal core.
Error: Call to undefined method Drupal\\Core\\Utility\\Error::decodeExceptionWithMessage() in /app/app/modules/contrib/encrypt_kms/encrypt_kms.install on line 61 #0 [internal function]: encrypt_kms_requirements('runtime')\n#1
I'm using version 2.0.0 of the encrypt_kms module and Drupal version 9.5.11.
Steps to reproduce
For the moment I'm not using the encrypt_kms module yet, but the problem occurred when I tried to rebuild the access rights to the nodes.
Am I the only one with this error, or have I missed something?
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | encrypt_kms-undefined_method_error-3391016-7.patch | 683 bytes | tido |
Issue fork encrypt_kms-3391016
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
tidoComment #5
shreya_th commentedHi @nicksanta,
As per my knowledge i have made changes in encrypt_kms.install file that will allow us to use the encrypt_kms module without encountering the error related to decodeExceptionWithMessage(). Also created MR for this issue . Kindly review the changes.
Thank you.
Comment #6
tidoI've just tested the MR provided by Shreya_th, it works on my side by applying the patch.
Comment #7
tidoHere's the patch.
Comment #9
jacobbell84 commentedThank you!