Earlier today I spent a lot longer than necessary debugging an unexpected HTTP response code in my oik-clone plugin. Because I’d had a problem before I even contacted SiteGround hosting to have a look. Previously I’d discovered that Wordfence’s firewall was stopping the request from going through. The SiteGround support team found some Wordfence files that shouldn’t have been there anymore.
Debugging steps performed
- Check that Wordfence is not activated
- Deactivate server plugins causing Warnings in the PHP error log
- Yoast SEO: local, Yoast SEO: News, Yoast SEO Premium
- Deactivate client plugins causing Warnings
- Take a full backup before doing anything else.
- Deactivate SiteGround Optimizer in the server
- Prevent Wordfence WAF from running
- Check other sites working
- Start setting up another environment with cloning
- Check the current configuration’s settings
- Wonder where the Clone menu item is in the oik-options menu
- Discover that oik-clone had been deactivated on the server.
- Activate oik-clone and discover cloning works
- Reactivate other plugins as required
- Update both these notes and the issue that I’d raised bobbingwide/oik-clone#69