WordPress Fixes
Ten problems that take small WordPress sites down, break them or slow them, each one fixed, measured and runnable with one command.
The cases
-
Pages broke after an Elementor update
I brought the workshop page back and checked that its button opens the details.
WordPress · Elementor · Plugin conflict -
There has been a critical error on this website
I fixed the error. The calculator works.
WordPress · PHP fatal error · Rollback -
Mobile PageSpeed in the 30s–40s
I brought the main content into view in 1.58 seconds instead of 45.47, keeping the page and its working controls.
WordPress · Speed · Images -
Checkout errors and a slow cart
I fixed the delivery error and cut the median basket update from 3.38 s to 0.35 s.
WooCommerce · Checkout · Performance -
Video will not play or embed
I restored playback of a video hosted on WordPress.
WordPress · Video playback · Security headers -
A theme update wiped my changes
I restored the colours and repair notice, updated the theme again, and checked that the notice link and menu still worked.
WordPress · Child theme · Theme update -
Form entries should land in a sheet and my inbox
I fixed the disappearing enquiry: the saved spreadsheet and received email contain the same name and message.
WordPress · Form delivery · Automation -
Show data from an outside service on my site
I made the rates readable, saved them between visits and kept a clear fallback when the service cannot respond.
WordPress · External API · Caching -
Customers should book online
I completed a booking and received its matching confirmation in the local inbox.
WordPress · Online booking · Availability -
My site was hacked
I removed the unwanted changes and kept the original page and download working.
WordPress · Security · Cleanup
Run a case locally
You need Git, Bash, and a running Docker Engine with Docker Compose v2. Docker must be available to your user, with network access to download the case images and dependencies.
For example, to reproduce the critical-error repair:
git clone https://github.com/Ardholt/wordpress-fixes.git
cd wordpress-fixes/critical-error-after-update
./run.sh
To try a different repair, choose its folder from the case list above, open that folder in the cloned repository, and run ./run.sh. Run one case at a time; its README explains the checks and any case-specific conditions.
How every case is laid out
Each folder opens with the problem and a before/after picture, then what was wrong, what I did, the proof (numbers linked to the files they come from), one command to run it yourself, and the tests that check it.
Maintained by Genco Doganay, Ardholt
More of my work: ardholt.com/p · Licence: MIT (a plugin or theme file that states a licence in its header is under that licence) · Third-party files