Wordfence broken / broke site?
-
Backstory:
I recently took over as Webmaster / junior dev / etc.
I did not setup the plugin or the WordPress installation. The site was migrated from one host to another and it was in working order when I got it but there was so much to look into that I did not have enough time before it was time to start a SEO firm partnership and me as their contact.
Credentials to the account which was used to install Wordfence is not available. Site seemingly worked fine without errors despite having the at the time latest update. (7.10.0)
July 05
The site started acting haywire and critical errors made most of the back-end malfunction.
– WordPress top-bar not visible on pages outside dashboard.
– WooCommerce stopped sync to their dashboard analytics.
– Elementor editor didn’t work.
– Tons of WordPress database errors in the server log (2,6MB file).
(I’d love to send it to you.)
I asked my current host to take a look at what’s going on. The first thing they wanted to do was to use an older backup of site + db. No dice.
I asked if they had taken a look at the server error logs and by that logic they asked me if it was alright to remove it. I said “sure whatever makes it work” again – at this point I didn’t really get the gravity of what could happen if just removing a plugin without doing it properly. The site seemingly worked alright I thought but missed that the WooCommerce product editor looks bugged. It seems to work in the broad sense, but the interface is bugged. some WYSIWYG editor input fields have buttons at the top which aren’t working some fields are very much dragged out horizontally, they don’t scroll vertically. The right bar where the “update” button is located as well as “categories” lists all categories without the UI box that scrolls vertically. etc. I also got strange errors in the server log like “server-generated directory index forbidden by Options directive”, the wp-admin login page is complaining about not being secure even though we never had an issue before. This guy: “PHP Fatal error: Uncaught wfWAFStorageFileException: Unable to save temporary file for atomic writing.”
I also have a small hunch that someone from RU sent their regards at the last line of the error log, it does however appear a few more times in the original albeit in the few last errors. There are also IP:s that seem to be from Amsterdam as well (not included in this excerpt).
Here’s a small excerpt from the 2,6MB error log. Notice the referer url:[redacted] [Wed Jul 05 20:24:15.132276 2023] [php7:error] [pid 57120] [client REDACTED] PHP Fatal error: Uncaught wfWAFStorageFileException: Unable to save temporary file for atomic writing. in /data/7/3/73955e7d-281c-483a-8c3e-f1d87a9f775e/[redacted]/web/wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/storage/file.php:35\nStack trace:\n#0 /data/7/3/73955e7d-281c-483a-8c3e-f1d87a9f775e/[redacted]/web/wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/storage/file.php(659): wfWAFStorageFile::atomicFilePutContents('/data/7/3/73955…', 'saveConfig('synced')\n#2 {main}\n thrown in /data/7/3/73955e7d-281c-483a-8c3e-f1d87a9f775e/[redacted]/web/wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/storage/file.php on line 35, referer https://xn--18-[rest-redacted-for-safety]
I copied back the plugin from the backup and named it “wordfence_bak”
and haven’t had server error logs since, and haven’t dared to touch it since and had no time to look up support before now.
Closing words
I understand that we’d need a premium subscription to get premium support but I’m begging you for some quality insight as how I could get your terrific plugin working again even if it means I have to manually somehow remove stuff so that we in the future can invest in a yearly subscription. Or do we have to invest in a subscription now to get real
help?
Thank you for any input.
- The topic ‘Wordfence broken / broke site?’ is closed to new replies.