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 Malaga companies I run WordPress and WooCommerce maintenance. The question a shop owner who sells to other businesses should ask now is a narrow one: from which date must the invoices leaving my shop be structured electronic messages, and who has to be able to produce them?
Spain answered with a law, a royal decree and a ministerial order. All three are published, so the dates can be calculated. Below is what they say and what they leave to the tax agency.

Photo: Bj.schoenmakers, CC0, Wikimedia Commons.
Article 12 of Ley 18/2022, the law on the creation and growth of companies, rewrites article 2 bis of Ley 56/2007. Its first paragraph states that all businesses and professionals must issue, send and receive electronic invoices in their commercial dealings with other businesses and professionals, and that issuer and recipient must provide information on the status of the invoice.
The other paragraphs set the frame for software:
The effect on the website side is indirect. A WooCommerce shop is the place where the order and the buyer’s data are created, so the shop decides whether the invoicing tool downstream receives complete data.
| Text | Published | In force | What it does |
|---|---|---|---|
| Ley 18/2022 | 29 September 2022 (law dated 28 September 2022) | Article 12 takes effect one year after the regulation for businesses above 8 million euros, two years after for the rest | Sets the duty and the deadlines |
| Real Decreto 238/2026 of 25 March 2026 | BOE no. 79, 31 March 2026 | 20 April 2026, with effective application deferred | Sets the technical and information requirements |
| Orden HAC/1028/2026 of 2 October 2026 | BOE no. 247, 5 October 2026 | 6 October 2026 | Regulates the public solution and starts the clock |
The Real Decreto, in its final provision four, defers application until after the order. Twelve months after the order enters into force, the duty applies to businesses and professionals whose volume of operations, calculated under article 121 of the VAT law, exceeded 8 million euros in the previous calendar year. Twenty-four months after, it applies to everyone else. The order’s final provision confirms that its entry into force starts the periods in the law and the decree.
Counting from 6 October 2026, twelve months ends on 6 October 2027 and twenty-four months on 6 October 2028. Those two dates are my arithmetic from the published texts, so a shop should confirm its own category with its tax adviser.
The Real Decreto also requires the public solution to be available at least two months before the first date of application, so that businesses can test. It names the Agencia Tributaria as the body that develops and runs it, and it says use of the public solution is free.
Article 7.1 of the Real Decreto says the invoice must be a structured computer message on the EN 16931 semantic data model, in one of four syntaxes: CII, UBL (with adaptations for business to business use), EDIFACT or Facturae. The preamble adds that Peppol BIS messages are accepted on private platforms because they use UBL and the European standard.
Two rules matter for a shop that sends invoices through a platform and not through the public solution:
A recipient that has not agreed to receive its invoices through a private platform is deemed to have chosen the public solution without any statement (article 6.1). A recipient that does use a platform must publish its entry point for e-invoices in its communications with other businesses and on its website, if it has one (article 6.3).
Article 3 of the Real Decreto applies the duty to invoices from businesses and professionals to a recipient business or professional who has its seat of economic activity, a permanent establishment or, failing those, its residence in Spain. Article 4 exempts operations documented by simplified invoices under article 4 of the invoicing regulation, Real Decreto 1619/2012, unless they are qualified simplified invoices under article 7.2 of that regulation. The Ministry of Economy may exclude further operations by order.
A shop that sells only to consumers is therefore outside the duty as the decree defines it. A shop that sells to companies, freelancers and professionals is inside it for those orders. Most WooCommerce shops that serve both have to tell the two groups apart at checkout, and that is the first technical consequence.
Article 10 requires the recipient of an electronic invoice to inform the issuer of two statuses: commercial acceptance or rejection with its date, and full payment with the effective payment date. The information goes out within four calendar days, not counting weekends and national holidays, from the date of the event (article 10.3). Further statuses may be reported voluntarily, such as partial payment or assignment of the invoice.
The purpose is stated in the text: the tax agency uses the copies and the payment information to calculate and monitor payment periods. For a shop that issues invoices to business customers, this means the invoicing tool needs an inbound path as well as an outbound one, and somebody must watch the statuses that arrive.
Transitional provision two of the Real Decreto covers businesses above 8 million euros in operations volume. For twelve months from the date the decree takes effect for them, they must accompany each electronic invoice with a PDF that ensures readability, unless the recipient voluntarily and expressly agrees to receive the original format only. The PDF goes to the recipient and not to the public solution.
Transitional provision three treats individuals below that threshold, and entities attributing income under personal income tax: the status reporting is voluntary for them until twelve months after the decree takes effect for the 24-month group.
Maintenance cannot decide the legal route. The company and its tax adviser choose between a private platform, the public solution or both. Maintenance can make sure the shop supports whichever is chosen:
Whether a company counts as a business or professional for VAT purposes, and which side of the threshold it sits on, is for the shop owner and the tax adviser to decide. I take the result as a configuration input.
You send the site URL, the host, the invoicing tool and the plugin list. A written reply reaches you within 24 hours on working days. I check the points above, return the findings in writing and send you a scope with my assumptions. Each update is tried on a staging copy before the live shop sees it, and a copy of the backups lives away from the hosting account. A short report follows every month, and hours do not roll over into the next one. If you need a new business checkout layout, I design it or implement yours.
What I need from you: admin access, the name of the invoicing tool and its vendor documentation, and the person who confirms your deadline category.
The general maintenance offer is described on the WordPress maintenance and support page.
If you run a WooCommerce shop in Malaga that invoices other businesses and want the checkout and invoicing flow tested after every update, write to me through the contact page. Send the site URL, who your business customers are, the invoicing tool and your plugin list. I send the first written estimate free of charge and answer in writing within 24 hours on working days.
Examples of my work.
Osiedlegalaktyka.pl is a professional project in my WordPress developer portfolio, realised as a website promoting a modern residential estate in Szczecin, l...
predko.pl is a modern website dedicated to the life and career of rally driver Krzysztof Predko. The site was designed with fans of motorsports and anyone in...
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...
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.
Stores, checkout flow, and sales logic.
Store outage, slow checkout, post-update chaos.
Ongoing WooCommerce care, monitoring, and uptime.
EU store checklist: VAT, accessibility, evidence pack.
White-label WordPress development for agencies.
WooCommerce sync with ERP and wholesale systems.
Business process automation around WordPress and company systems.
Library of concrete automation use cases.

Architecture for a WooCommerce catalog on Astro 7. What stays in wp-admin, which plugins die with the theme, Store API versus GraphQL, and why checkout stays on WooCommerce.

Lemon Squeezy stops processing payments on 31 March 2027. What changes when moving to Stripe Managed Payments (no license keys, digital delivery, storefront, affiliates, or PayPal subscriptions) and how to migrate to WooCommerce.

Barn2's HTTP Archive analysis puts Shopify ahead of WooCommerce in the UK. What the numbers measure, why Ireland is missing, and how payments, e-invoicing dates and ownership change the choice for a UK or Irish shop.