It looks like there’s a bug that stops the code from working with wordpress installs hosted in sub-directories. (e.g. https://www.thirdwavedance.com/mikeandreuel/).
Also, the url in the script includes ‘/contact-form-7-db/’, which gave a 404 error. Some sleuthing indicated that it should be ‘/contact-form-7-to-database-extension/’, which worked.