This module requires the PHP extension SOAP to be installed on the web server.
However, there is no mention of this requirement anywhere, and the SoapClient class (provided by the extension mentioned above) is just being called, without checking for its existence beforehand. This results in a WSOD if the extension is not installed.
| Comment | File | Size | Author |
|---|
Issue fork vat_number-2073743
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 #1
roball commentedThe attached patch fixes this problem.
Comment #2
dwkitchen commentedI have committed, but marked as still needs work as I think a hoor_requirements in an install file would also cover this.
Comment #3
roball commentedThank you for the commit. Yes, I agree that checking this requirement in
hook_requirementsshould be done in addition to the check before actually calling the extension's function.However, since the second mentioned check is now in Git, I think this issue can be changed from a bug report to a feature request.
Comment #4
dieterholvoet commentedComment #5
dieterholvoet commentedComment #6
dieterholvoet commentedIt would probably be a good idea to add a
hook_requirementsimplementation that checks if the extension exists usingextension_loaded(), just likesystem_requirements()does.Comment #7
dieterholvoet commentedComment #9
dieterholvoet commentedComment #11
dieterholvoet commented