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, one developer in Gdynia, working remotely and in writing, with WordPress since 2006. For Lisbon companies I run WordPress and WooCommerce maintenance. A consent banner is configured once and then a site changes around it: a plugin adds a tracker, a page builder embeds a map, a marketing team pastes a new tag into a container. Each of those can set a cookie before any visitor has chosen anything.
The Portuguese rule is short. It lives in article 5 of Lei 41/2004, as amended by Lei 46/2012, and the national authority for it, the CNPD, sits in Lisbon.

Photo: Haydn Blackey from Cardiff, Wales, CC BY-SA 2.0, Wikimedia Commons.
The consolidated text on the PGDL site, the same copy the CNPD links from its legislation menu, gives article 5, “Armazenamento e acesso à informação”, two paragraphs.
Paragraph 1: storing information, and accessing information already stored, in the terminal equipment of a subscriber or user is allowed only if they have given prior consent, based on clear and complete information under the data protection law, notably about the purposes of the processing.
Paragraph 2: article 5 and article 4 do not prevent technical storage or access that (a) has the sole purpose of transmitting a communication through an electronic communications network, or (b) is strictly necessary for the provider to deliver an information society service that the subscriber or user expressly requested.
The article does not say “cookie”. Its wording covers any storage of information on a visitor’s device and any access to what is stored there. The consolidated page lists Lei 46/2012 of 29 August as the amendment to this article and the original Lei 41/2004 of 18 August as the first version.
What that means for a site, in practice:
Article 14.1 e) makes a breach of the conditions for storage and access in article 5 an administrative offence. For legal persons the fine ranges from five thousand to five million euros. For individuals the range is fifteen hundred to twenty-five thousand euros. Under article 14.5 negligence and attempt are punishable and the limits are cut in half.
Article 15.1 gives the CNPD the power to open, investigate and close the proceedings, and to impose reprimands, fines and ancillary sanctions for article 5. Article 14.4 lets it order the offender to comply, on pain of a daily penalty under article 15-C. The CNPD’s address is Avenida D. Carlos I, 134, in Lisbon, as printed on its website.
These are the statutory floors and ceilings. Where a given case lands inside them is for the CNPD to decide.
On 13 November 2025 the CNPD reported a talk its information systems specialist gave at a direct marketing conference on 28 October 2025. Three points from the report matter for a website:
The same report says the CNPD received more than 2,500 complaints about unsolicited direct marketing in 2023 and 2024 together, and more than 1,100 in January to October 2025, under article 13-A of the same law. That is the email rule, a neighbour of the cookie rule, and the CNPD’s Diretriz 1/2022 on direct marketing says the consent required there must be express. A newsletter form on a WordPress site is therefore checked against both articles.
The Portuguese text does not describe banner design. The European Data Protection Board’s cookie banner taskforce did, in a report adopted on 18 January 2023. It states its limits: the positions are a common denominator and a minimum threshold, they do not give a green light to any website, and national requirements and guidance remain fully applicable. With that said, it records what authorities agreed on:
| Practice | Position in the report |
|---|---|
| No reject button on the first layer | A vast majority of authorities consider a banner with consent buttons but no refuse option on any layer to be an infringement. A few said article 5(3) of the ePrivacy Directive does not mention a reject option |
| Pre-ticked boxes | They do not give valid consent. The report cites recital 32 of the GDPR: silence, pre-ticked boxes or inactivity are not consent |
| Reject offered only as a link | Not valid where the alternative is a link in a paragraph of text, or outside the banner, without enough visual support to draw the user’s attention |
| Button colours and contrast | No general standard can be imposed, each banner is assessed case by case. Text on a reject button so low in contrast that it is unreadable to virtually any user is manifestly misleading |
| Legitimate interest as a basis | The legal basis for placing or reading cookies under article 5(3) cannot be the controller’s legitimate interests |
| Cookies labelled essential | Cookies that serve purposes beyond what is strictly necessary cannot be classed as essential. Cookies that retain a user’s preferences for a service should be deemed essential |
| Withdrawal | Withdrawing must be possible at any time and as easy as giving consent, for example a permanent small icon or a link in a standard visible place |
The report also says website owners are responsible for maintaining the list of cookies their site uses and for being able to show why a cookie is essential, and it notes that cookie features change regularly. That sentence describes maintenance work.
A list that is complete only on the day it was written is the usual gap. Typical sources:
Strictly necessary entries are allowed without consent under article 5(2) b), but only for a service the visitor requested. The test is what the visitor asked for. A tracking script that someone put in the “necessary” category in the banner settings does not become necessary by being placed there.
Whether a given cookie needs consent and whether a given vendor’s tool meets the rule is a decision for the company and its adviser. I report what the site stores and when it stores it, and I make the configuration match the decision.
You send the site URL, the host, the plugin list and the banner tool. My written answer comes within 24 hours on working days. I run the audit above, send you the findings and a scope with my assumptions, and test changes on a staging copy before they go live. Backups are stored away from the hosting account. A short written report arrives every month, and hours do not roll over. If the banner or the policy page needs a new layout, I design it or implement yours.
What I need from you: admin access, access to the tag manager or banner tool, and the person who approves cookie purposes.
For the general scope see WordPress maintenance and support.
If you run WordPress in Lisbon and want the cookie list, the banner and the policy checked and kept in line after every update, write to me through the contact page. Send the site URL, the banner or tag manager tool, and your plugin list. I send the first written estimate free of charge, and my reply comes within 24 hours on working days.
Examples of my work.
Photo Studio Balbriggan is a modern photography centre in Ireland offering professional photography services, advanced photo editing, high-quality printing, studio rental, and photography workshops.
The Port Brzeźno Rope Park is a place where both children and adults can experience an unforgettable adventure at height with a good dose of adrenaline in Gdańsk, Poland.
The Quality Watch project was created with the aim of presenting the services of a company specializing in improving customer service standards, quality management, customer experience, customer journeys and customer intelligence.
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.