Slow WordPress site and Failing Contact-Form-7
Had a problem with our WordPress website recently where is just suddenly slowed down. Every page used to load in less than 2 seconds but now takes between 6 and 10 seconds just to complete the initial GET response. I've tried several things to troubleshoot and fix this including drilling through long log files, restarting services, disabling/enabling plugins and themes, and even setting up Caching on this small site, to no success. After many hours, I gave up and decided to look at another issue that's popped up on the site - the Contact-Form-7 Captcha stopped working. It would just show a spinning wheel and will get stuck there. Even if I put in the correct captcha key on the form, the email gets sent out but the form stays on with the spinning wheel, so there's no visual acknowledgement to the user. Have gone to google and found a suggestion here to change the permissions on the dynamically created captcha image and text files. From line 70 onwards of \wp-content\plugins...