WordPress update failed? How to restore your site
Comprehensive guide to safely restoring WordPress after failed updates. Learn backup strategies, manual recovery via FTP/phpMyAdmin, plugin-based restoration, and prevention techniques.
I am Mariusz Szatkowski, a developer in Gdynia who has worked with WordPress since 2006, remotely and in writing. For companies in Valencia the cookie banner is rarely the problem on the day it is installed. The problem is the day a plugin update, a new tracking tag or a theme change quietly alters what the site sets in the browser while the banner still looks fine.
Spanish law puts the duty in one sentence. Article 22.2 of Ley 34/2002 (LSSI-CE) says service providers may use storage and retrieval devices on the visitor’s terminal equipment on condition that the visitor has given consent after being given clear and complete information about their use, in particular about the purposes of the data processing. Two exceptions follow: technical storage for the sole purpose of carrying out a transmission over an electronic communications network, and, where strictly necessary, storage for a service the visitor expressly asked for. The consolidated BOE text still points to the old data protection law 15/1999 in that sentence, and the AEPD reads the article together with the GDPR and the Spanish data protection act (LOPDGDD), according to its own guide.
A site is not compliant because a banner exists. It is compliant while its behaviour in the browser matches what the banner promises. That behaviour changes with maintenance, so it has to be checked during maintenance.

Photo: Diego Delso, CC BY-SA 3.0, Wikimedia Commons.
Article 43 of the LSSI-CE assigns the power to sanction. In general the Ministry for Economic Affairs and Digital Transformation handles very serious infringements, and the State Secretariat for Digitalisation and Artificial Intelligence handles serious and minor ones. The same article gives the Spanish data protection agency (AEPD) the power to impose sanctions for the infringements listed in articles 38.3 c), d) and i) and 38.4 d), g) and h). Article 38.4 g) is the cookie provision: using storage and retrieval devices without having provided the information or obtained the consent required by article 22.2.
The classification and the range matter for planning:
| Item | What the text says | Source |
|---|---|---|
| Cookies without information or consent | Minor infringement, article 38.4 g | LSSI-CE art. 38 |
| Fine for a minor infringement | Up to 30,000 euros | LSSI-CE art. 39.1 c |
| Failing to offer a working way to revoke consent to commercial emails (art. 22.1) | Serious infringement if significant (art. 38.3 d), minor otherwise (art. 38.4 h) | LSSI-CE art. 38 |
| Fine for a serious infringement | 30,001 to 150,000 euros | LSSI-CE art. 39.1 b |
| Procedure length | Nine months from the start decision, three for the simplified procedure | LSSI-CE art. 43.2 |
Article 22.1 is a separate duty: the recipient of commercial emails must be able to revoke consent with a simple, free procedure. A newsletter unsubscribe link that stops working after an update is a different exposure from a cookie banner that stops working, and article 43 gives the AEPD the sanction power over both.
The Guide on the use of cookies is the AEPD’s own interpretation, and its cover states that it was updated in May 2024. The points that affect how a WordPress site is built and maintained:
Most of these are behaviours, and behaviours can regress. Pre-ticked defaults can return when a plugin is reset. A second layer can lose its reject button after a theme update. A newly embedded script can add a cookie that is not in the banner list.
The AEPD publishes its resolutions. Procedure PS/00213/2022 concerns the website of a company, started by a complaint that the site had no cookie policy, no banner and asked for no consent. The case file is a lesson in how a regulator checks.
The AEPD opened the site in a browser after clearing history and cookies, and without clicking anything inspected the cookies in Chrome’s application tab. It found third-party cookies of Google that are not technical or necessary, among them cookies named _GRECAPTCHA, CONSENT, NID, SOCS and AEC. The banner had an accept button and a settings link. In the panel, switching the cursor to off and saving left the same Google cookies in use. Pressing “Reject” in the banner and “Reject all” in the panel did the same.
The company’s answer is the part that matters for maintenance. According to the certificate from its IT provider quoted in the resolution, a cookie management plugin had been installed on the site in March 2022 as part of a compliance update. Later checks found faults in remembering the visitor’s accept and reject choices. After several fixes failed, the whole plugin was replaced, in the middle of the season, on a public holiday so the downtime would hurt less. The AEPD tested the site again in July and September 2022 and still recorded the same Google cookies set without consent, and a cookie policy that did not identify the purposes of the cookies.
The Director of the AEPD found an infringement of article 22.2 LSSI on three counts: non-technical third-party cookies, no possibility to reject them, and missing information in the banner. The infringement was classified as minor under article 38.4 g) and the fine was 2,000 euros.
What I take from it as a maintenance rule, not as legal advice:
The guide says that when information on third-party cookies is offered through a link to the third party’s page, the publisher must make sure the link is not broken, and that the information must also be offered in Castilian or in the co-official language used on the publisher’s site. Valencian is co-official in the Comunitat Valenciana: the preamble of Ley Orgánica 1/2006, the reform of the Statute of Autonomy, defines Valencian as the region’s own language and, together with Castilian, one of its two official languages.
For a WordPress site with Valencian, Castilian and English versions, that gives maintenance one more routine: after a multilingual plugin update, open the banner in every language and confirm that the text, the accept and reject buttons and the settings panel exist in each, and that the choice saved in one language applies in the others.
I run the same routine on a staging copy before anything reaches the live site, and again on the live site after deployment. The first column is what changed, the second is what I look at.
| What changed | What I check in a clean browser profile |
|---|---|
| Consent plugin or banner theme | Cookie list before any click, after reject, after accept, after saving an empty panel; the banner in each language |
| Analytics, ads or pixel tag | The tag does not fire before consent; it stops after withdrawal |
| Theme or page builder update | Embedded video, maps and fonts still wait for consent; no new third-party request on first load |
| Contact form or captcha plugin | Where the captcha script loads, and whether it sets cookies before the visitor agrees |
| WooCommerce extension | Cookies set at cart and checkout, separating technical from analytical |
| Hosting or cache change | Cached pages do not serve a banner state saved for another visitor |
The result goes into a short written note: which cookies were present at each step, with names and domains. That note is also what makes the cookie policy table accurate, because the policy must describe the cookies the site actually sets.
I do not decide whether a particular purpose needs consent in your case. That legal call belongs to the controller and its adviser. My part is to make the site behave as decided, and to tell you when it stops doing so.
You send the site URL, the host, the consent tool in use and the list of plugins. Written answers follow within 24 hours on working days. I do a first pass in a clean browser, write down the cookies found at each step, and send a scope with assumptions in writing. Updates are tested on staging first, backups are kept outside the hosting account, and a monthly written report lists what was updated and what the cookie checks showed. Unused hours expire at month end. If the banner or the consent panel needs a new layout, I design it or implement yours. All of it is remote.
The wider offer is described on the WordPress maintenance and support page.
If your company in Valencia runs WordPress and you want the cookie behaviour tested and kept under control through updates, write to me through the contact page. Include the site URL, what the site does, the consent plugin and the main third-party tools you use. You get a first written estimate at no charge, and my email answer follows within 24 hours on working days.
Examples of my work.
Rezydencja Park Mielno is a complex of boutique apartments by the sea, created with the idea of harmony with the surrounding nature and providing a family at...
Sportostroda.pl is one of the interesting projects in my portfolio as a WordPress developer, realised as a local sports portal dedicated to the residents of ...
surfuje.pl is a website for surfers and watersports enthusiasts, with clear content, simple publishing, and stable technical operation.
Describe your project by e-mail. I reply within 24 hours.
Describe your projectComprehensive guide to safely restoring WordPress after failed updates. Learn backup strategies, manual recovery via FTP/phpMyAdmin, plugin-based restoration, and prevention techniques.
WordPress.org has cut the mandatory update cooldown from 24 hours to six, with work underway to skip it entirely when the Gandalf AI review finds no issues. What changed, and what agencies maintaining B2B sites should do about it.
Update crashed your site? Don't panic. See 3 proven ways to rollback WordPress core, plugins, or themes to a previous version.
Custom WordPress engineering and architecture.
Scalable headless, ERP, and AI architecture for enterprise.
Stores, checkout flow, and sales logic.
Stability, updates, and post-launch support.
What the monthly care fee covers and what changes it.
Business process automation around WordPress and company systems.
Headless WordPress, Sanity, Strapi, and Contentful with Astro or Next.js.
Astro, MDX, edge delivery, and Core Web Vitals measured on real traffic.

How to start as a WordPress developer in 2026. Local environment, theme and plugin development, REST API and headless paths, security and Core Web Vitals. A practitioner playbook that does not waste your first month.

WordPress 7.0 with AI Client against Astro 7 with the Rust compiler and Vite 8. Speed, cost, SEO and security compared, plus the real bill for my own Astro 6 to 7 migration.

A detailed comparison table of EmDash CMS and WordPress across architecture, security, plugins, AI features, content model, hosting, and ecosystem maturity.