wp omnioffloader errors
Lists the media that has an error: the attachment, whether it is offloaded, when the last error happened and what it said. It also retries failed offloads, and clears error logs once you have fixed the cause.
An item that is not offloaded is a failed offload: it is still on your server only. An offloaded item logged its error during a Bring Back, retention update or move. The admin screen with the same list is the Failed Items card on OmniOffloader → Tools (see Failed Items).
Synopsis
Section titled “Synopsis”wp omnioffloader errors [--state=<state>] [--retry] [--clear] [--limit=<number>] [--format=<format>] [--dry-run] [--force] [--concurrency=<number>] [--yes]| Option | Description |
|---|---|
--state=<state> |
all (default), local (failed offloads) or offloaded (in the cloud, with errors from another job). |
--retry |
Offload the failed offloads again. Runs wp omnioffloader offload with their IDs, so it takes offload’s --dry-run, --force and --concurrency. |
--clear |
Delete the error logs of the listed items. Changes no files. Asks first, unless you pass --yes. |
--limit=<number> |
At most this many items, newest first. |
--format=<format> |
table (default), json, csv, ids or count. |
--dry-run |
With --retry or --clear: show what would happen without changing anything. |
--force |
With --retry: run even when a bulk job started from the admin screen is active. |
--concurrency=<number> |
With --retry: files uploaded at the same time, 1 to 64. |
--yes |
With --clear: skip the confirmation. |
Examples
Section titled “Examples”List everything with an error:
wp omnioffloader errorsid title offloaded time error errors3220 team-photo no 2026-10-16 15:49 Upload failed for "2026/10/team-photo.jpg" 22928 brochure yes 2026-10-16 15:12 Bring Back download failed 11 failed offload(s). Retry them with: wp omnioffloader errors --retryRetry the failed offloads, after a dry run:
wp omnioffloader errors --retry --dry-runwp omnioffloader errors --retryFailed offloads as JSON, for a script:
wp omnioffloader errors --state=local --format=jsonClear the logs of offloaded items once you have fixed the cause:
wp omnioffloader errors --state=offloaded --clear --yes--retryfollows the same rules asoffload: it refuses in Safe mode and while another job runs (unless--force), and failed items go last in line.- An attachment whose file is missing on the server is not a failed offload here.
statusreports those separately; they are picked up again once the file is back. --clearrefuses while a job runs, since that job may be writing to the same logs.- A successful offload or Bring Back clears the attachment’s error log on its own.