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. A Warsaw company that runs an English-language WooCommerce shop and sells to other businesses has a new duty since 2026: the invoice for such a sale has to go through the National e-Invoicing System, KSeF (Krajowy System e-Faktur). The system is run by the Polish Ministry of Finance and the official guidance is on ksef.podatki.gov.pl.
A shop is not an accounting program, but it is where the invoice data is born: the buyer’s legal name, tax number, the order lines and the date. When the invoice stops being a PDF and becomes a structured file that must reach a government system on time, the shop and the code around it become part of a tax process. That is a maintenance question, because it breaks when a plugin updates, a scheduled task stalls or a token expires.

Photo: Lopcio, CC BY-SA 3.0 pl, Wikimedia Commons.
The KSeF page “from when must invoices be issued” gives two start dates:
There is a transitional rule. Until 31 December 2026 a taxpayer may still issue invoices outside KSeF, on paper or electronically, if the monthly sales with VAT on those invoices do not exceed 10 thousand zloty. From 1 January 2027 the invoice duty covers those small issuers too. Sales to consumers are left out of that limit.
The statutory basis is the act of 5 August 2025 amending the VAT act, published as Dz.U. 2025 poz. 1203. It entered into force on 2 September 2025, and part of it, article 1 points 1 to 4, from 1 February 2026.
The ministry’s FAQ says penalties for KSeF errors were postponed to 1 January 2027. In 2026 an error therefore has no tax penalty attached, but the invoice is still wrong or late for the buyer, and the habits you build in 2026 are the ones audited from 2027.
The FAQ is clear on the dividing line. Issuing invoices to consumers in KSeF is not mandatory, and such invoices are issued on the consumer’s request. They can still be sent as a PDF by email. If a seller chooses to put a consumer invoice into KSeF, it is delivered to the buyer in an agreed way and carries a QR code with the KSeF number. The rule for everything else reads: every invoice other than a consumer invoice should be issued in KSeF.
For a shop this splits orders into two paths:
| Order type | Invoice route |
|---|---|
| Company buyer with a tax number | Structured invoice in KSeF, buyer sees it after logging in to KSeF |
| Consumer who asks for an invoice | Outside KSeF as paper or email, or voluntarily in KSeF |
| Buyer without a tax number | Can be issued with the buyer identifier field set to “1”, copy outside KSeF with a QR code |
A company buyer with a tax number retrieves invoices after logging in to KSeF. A buyer without one cannot download the invoice from KSeF, and the seller can give a copy outside the system if it carries a QR code with the KSeF number.
An invoice accepted by KSeF cannot be edited. The FAQ says errors are corrected with a correction invoice, and a file the system rejects is not an invoice at all, so you send a new, correct file. The correction route for a wrong buyer is a correction to zero with the incorrect tax number, then a new original invoice with the right one.
That makes the checkout form the cheapest place to fix quality:
None of this is a legal opinion on your tax position. It is what the official FAQ says about the file, and what I check in a shop.
The FAQ states that an invoice issued online is regarded as issued on the day it is sent to KSeF, and that it must be sent the same day. If it is not, the system treats it as an offline24 invoice.
WordPress runs scheduled tasks through WP-Cron. The developer documentation explains that it checks the list of scheduled tasks on every page load, and that a task can run late if nobody loads a page. A shop with little traffic at night can therefore send an invoice later than planned if the sending is a scheduled task. Two things follow for maintenance:
I do not promise a particular timing here. I say what the mechanism is and what I monitor.
The ministry’s explanation of the second stage lists the modes. The deadlines are the ones the page states:
| Mode | When | Deadline to send to KSeF |
|---|---|---|
| Offline24 | You issue without a connection to KSeF | No later than the next business day |
| Offline (unavailability) | Planned or temporary outage announced in the Ministry’s public bulletin | No later than the day after the outage ends |
| Emergency | After an announced KSeF failure | Within 7 business days of the end of the failure |
| Total failure | Extraordinary situation announced through mass media | Invoices issued outside KSeF, no later upload |
In the total failure mode the page warns against reissuing the same sale in KSeF later, which would create two invoices for one sale. In offline24, offline and emergency modes, a type 2 certificate allows marking the invoice with a verification QR code. A visual copy goes to the buyer only after the invoice has a KSeF number.
For a shop, this means a decision written in advance: which mode the shop uses when the connection fails, who triggers it, and how orders waiting for an invoice are marked. A shop that only knows the happy path stops issuing invoices on the day KSeF is unavailable.
Integration of a shop or an accounting system goes through the KSeF API. The FAQ states that tokens generated in KSeF 1.0 are not compatible with KSeF 2.0, and that the ministry keeps token authentication as a valid method with no end date. A program using a token can send and retrieve invoices, provided the token was issued by someone with the relevant permissions.
For maintenance this means:
FA(3) is the invoice structure and has been mandatory since 1 February 2026, including for those who issued voluntarily in February and March.
Attachments are optional and available from 1 February 2026. Only structured XML files go into KSeF. According to the FAQ, attachments have to be reported in advance through e-Urzad Skarbowy, confirmation takes up to 3 working days, and they can be added only through commercial programs integrated with the KSeF 2.0 API, not through the free ministry applications. The maximum size stated for such an invoice is 3 MB. A shop that sends a product sheet with every invoice has to check that before it plans anything.
A maintenance routine for a B2B shop in this situation covers:
First you describe the shop in an email: address, host, plugins, the invoicing or accounting system and the people with admin access. My answer follows within 24 hours on working days and contains the checks I would run and the assumptions behind them. After agreement I set up a staging copy and off-site backups, and every month a written report arrives. Hours do not carry over into the next month. Design changes are covered as well, either mine or implementing yours. For shop development rather than maintenance, see WooCommerce developer in Warsaw.
What I need from you: hosting access, WordPress admin, the name of the invoicing integration, and a person on your side who owns KSeF permissions.
Routine care outside the invoicing topic is explained on the WordPress maintenance and support page.
If your Warsaw company runs a WooCommerce shop that sells to businesses and you want the invoice flow watched and the updates tested before they reach live orders, write to me through the contact page. Tell me the shop address, what it sells, the host, the plugins in use and the invoicing system. The first estimate is written and costs nothing, and the reply comes by email within 24 hours on working days.
Examples of my work.
Digital World Capital LLP is an alternative investment manager specializing in the telecommunications and media sectors on a global scale. The company focuse...
In the eastern part of Mielno, an exclusive apartment complex by the Baltic Sea, DUNE Resort, is being developed. This exceptional investment evokes the lu...
Instytut-csr.net is one of the valuable projects in my WordPress developer portfolio, realised as an educational and informational platform dedicated to Corp...
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.