Troubleshooting Super Speedy Imports
Most Super Speedy Imports problems fall into one of six groups. Find yours below.
- A stage failed: per-stage failure recipes for load-csv, match-existing, images, relationships and the rest.
- The whole import crashed: MySQL stopped or the database connection dropped mid-import.
- Your imports vanished after a database wipe: recovering after
wp db reset, WP Reset or a similar tool. - Counts, filters and search are empty after an import.
- Setup and environment issues: collations, file types, SQLite, stock fields, custom fields, browser tabs and hosting limits.
- An error that updating fixes: messages that come from an older version of the plugin.
A stage failed: stage-by-stage failure recipes
Every import is a sequence of stages, and a failure happens inside one of them. The CLI prints a --- Stage: <name> --- line as each stage starts, and the History tab records every stage that finished, so the failing stage is the first one without a finished record. Find it below.
- source-fetch
- load-csv
- import-taxonomies
- match-existing
- update-posts / insert-posts
- update-postmeta / insert-postmeta
- upsert-relationships
- attach-existing-images
- upload-remote-images
- attach-gallery-images
- fix-attributes
- process-deletes
source-fetch
This stage runs first, and only for an import whose source is a URL: one created with Import from URL, or switched to a URL with Change Source > Use a URL on the import’s screen. It downloads the file again and checks it before the import reads it. Its label in the browser is Fetching source file.
“The file downloaded from the import’s URL no longer has the column(s) … that this import was set up with”
The full message reads:
The file downloaded from the import’s URL no longer has the column(s)
price, stockthat this import was set up with, so nothing was imported and the previous copy offeed.csvwas kept. If the file at the URL is right, open this import, click Change Source, choose Use a URL and save the URL again to download it, map the new columns and press Save Import, then run it again.
with your own column names and file name. The CSV at the URL has lost one or more columns the import was set up with, usually because the supplier renamed or dropped them. A file like that would write blanks into the mapped fields, so the run stops before anything is imported, on the browser, WP-CLI and scheduled runners, and the import’s current file is left in place. Added columns and a different column order do not trigger it.
Compare the header row at the URL with the columns the message names. If the supplier changed the file by mistake, have it fixed and run again. If the new columns are permanent, open the import, click Change Source, choose Use a URL, enter the same URL and click Save and download. That download is taken whatever its columns, and the previous copy is kept in the previous folder. Your mappings are not changed or saved: the Source row lists the mapped columns that are no longer in the file and the new columns, and each field mapped to a column that has gone is marked “(missing from the file)”. Map those fields to the new columns (or clear them), click Save Import, and run again. Later runs check against the new columns. On a version without Change Source, create a new import from the URL with Import from URL, which accepts the new layout.
“Remote source returned HTTP 404” (or another status)
The server at the URL answered with an error instead of the file. Open the URL in a browser to check it still works; a feed that needs a login or an API key in the query string must have it in the URL you enter in Change Source > Use a URL. The import’s current file is left in place.
load-csv
This stage reads the file into the import’s staging table. It is the first stage that reads the file, so most file-format problems surface here.
“No rows found in CSV”
The file has a header row but no data rows. The import stops before anything is written, on every runner (browser, schedule and WP-CLI), and no items are changed. With Delete missing items ticked this is what protects your catalogue from an empty feed. Check the file, or the feed that produced it, and run again.
The first column will not map, or “Required fields are not mapped yet”
A CSV saved by Excel as CSV UTF-8 starts with an invisible byte order mark before the header row. Super Speedy Imports removes it when it reads the headers, so the first column auto-maps like any other. If your first column looks correctly named but stays unmapped, or Start Import stays disabled with “Required fields are not mapped yet”, the site is running a version older than 3.18: update the plugin, then create the import again so the columns are read afresh.
Prices were refused: “is not in this import’s number format”
Every import has a Decimal Point setting, Dot (.) or Comma (,). New Import reads it from the prices in the file itself, and you can correct it under the import options (the gear button) before you click Create Import. A price written in the other format is refused rather than imported as a wrong number: 12,99 in a Dot import would otherwise become 1299, and 1.234,50 would become 1.2345.
A refused price is a warning, not a failure. The rest of the row imports, every other row imports, and the completion screen reports the run as completed with issues. Each refusal is one line in Download error report (CSV) and on the History tab, naming the CSV row, your CSV column, the value, and the Decimal Point that would read it:
Price '12,99' is not in this import's number format (Dot (.)) ā the Comma (,) is not a thousands separator here (a thousands separator always has three digits after it). No price was written for this column: correct the cell, or set the import's Decimal Point to Comma (,).
When a price on a row is refused, none of that row’s prices are written: the product keeps its existing regular price, sale price and active price. Symbols and spaces are fine (Ā£12.99, EUR 19.90). Thousands separators are accepted when they group whole thousands (1,234.50 in a Dot import, 1.234,50 in a Comma import).
Fix: if one or two rows are wrong, correct those cells. If every price is refused, the import has the wrong Decimal Point; create it again with the right one, or with wp ssi create --decimal=,.
Dates were refused: “Unrecognised date”
A mapped post date is imported only when its day and month cannot be confused. Accepted:
2026-01-15and2026-01-15 10:00:00- ISO 8601, such as
2026-01-20T10:00:00Z; a value with a time zone or offset is converted to the site’s time zone - a month written in letters, such as
19 January 2026,21 Jan 2026orJan 21, 2026
Refused: a date written only in numbers with the year last, such as 01/02/2026, 01-02-2026 or 01.02.2026, because it could be 1 February or 2 January; a bare number such as a Unix timestamp; and anything that is not a date. An empty cell is not refused.
What happens to the row depends on whether it matched an item you already have, and the reason in the error report and History says which:
... - imported, existing date left unchanged.The row matched an existing item. Every other mapped field is applied, and the item keeps the date it had.... - new item, row skipped.The row would have created a new item. It is skipped, because there is no date to keep and the import will not invent one.
Fix: export the dates from your source as YYYY-MM-DD or YYYY-MM-DD HH:MM:SS, or convert the column in a spreadsheet, and run again.
A browser import keeps re-sending a segment: “re-sending with chunk …”
The browser sends the import to the server in segments, and waits up to 30 seconds for each answer. When a request outruns that, the browser asks again and the server answers for the original request: it carries on from where that request got to, so each row is loaded once and each image downloaded once. On a slow or busy server you see this as a pause, not an error.
A load-csv segment also stops itself after 20 seconds, returns the rows it has loaded and continues from the next row, so the web server does not cut it off with a gateway timeout. History and the run output record it as Segment returned early: 20s time budget reached after N row(s); the run continues from row N+1. That is normal on a slow server.
A segment request whose PHP process dies (killed by the host, out of memory, out of time) is re-run from the rows it had committed, and so is a request that times out. There is no retry limit: the browser keeps re-sending, halving the chunk each time, until the import completes or you press Stop. Each attempt is in the run log with its cause, for example Worker 2/3: rows 2001-4000: request timed out (3 since the last committed rows), re-sending with chunk 250....
The other steps of a browser import recover the same way. A stage that is safe to repeat (all but a few), a stage’s finishing step or the final step whose PHP process dies is run again until the import completes or you press Stop, and the run log names each death, for example Finalizing died server-side (attempt 1): the PHP process ended without finishing - re-sending it. A step that is slow but still working is waited for, however long it takes. Setup is the one exception: a setup whose PHP process dies ends the run straight away with the reason (The import setup request ended without answering: its PHP process stopped after 42 s ...). Nothing has been imported at that point, and a setup that dies usually means the server’s memory or time limits are too low for it, so check the PHP error log before running the import again.
If the log shows the same rows being re-sent again and again, the server is too slow or too short of memory for the segment size. In Performance Options, lower REST chunk size (rows) under Load CSV, or run the import from WP-CLI, which has no request timeout:
wp ssi <import-id>
The import aborts because rows have a blank unique identifier
The message starts Import aborted and gives the number of rows whose unique identifier (the SKU for products, the post title for posts) is empty. The option Rows with a blank unique identifier under Additional Options decides what happens: Abort import (the default) stops before anything is written, so you can fix the file; Skip blank rows and continue drops those rows and imports the rest.
Fix: fill in the blank cells or delete the empty rows, then run again. See Choosing your unique identifier.
The import stops because the same identifier appears on two rows
Two rows in one file carry the same unique identifier, so the import cannot tell which row should update the item. The run stops after loading and names the rows. There is no setting to allow it: remove the duplicate rows, or choose an identifier that is unique per row.
Two spellings map to the same term slug
Two values in a taxonomy column (for example Cp and C+P) sanitise to the same WordPress term slug. Either correct the file to use one spelling, or change Additional Options > Duplicate term-slug behaviour from Alert to Merge. See Handling duplicate term slugs.
Memory exhausted partway through
Symptom: Allowed memory size of NNN bytes exhausted after thousands of rows.
In the paid edition and the GitHub edition of Lite, the load loop switches off $wpdb and talks to MySQL directly (superspeedyimports_set_use_wpdb(false)), because $wpdb keeps per-query state that is never freed inside a long loop. The WordPress.org edition always uses $wpdb, as does any site that sets SUPERSPEEDYIMPORTS_FORCE_WPDB (see Running imports through $wpdb). A custom template or mapping function that calls WordPress functions for every row can bring that growth back.
- Run the stage on its own with
wp ssi <id> load-csv --verboseand watch whether memory climbs steadily. - If a custom mapping function calls WordPress functions per row, move that work out of the row loop or into a later stage.
- Reduce the worker count for the run (
--workers=2) so each worker has more headroom.
The file cannot be found
The import stores the name of its file, relative to wp-content/uploads/super-speedy-imports/. If the file was moved or deleted, upload it again on the Config tab. For a one-off run against a different file with the same columns, pass it on the command line:
wp ssi <id> --file=/absolute/path/to/file.csv
The alternative file must contain every column the import’s own file has.
“Deadlock found when trying to get lock” while staging categories
Versions before 3.35 could stop with this in load-csv on browser imports, and on WP-CLI imports with several workers, while staging hierarchical categories. Update the plugin and run the import again.
“Import aborted – the unique item identifier is not unique within your CSV”, on rows that are not duplicated
If the rows it names are not repeated in your file, and the import matches on the post title or on several columns, the cause is a browser request that was re-sent on a slow server and loaded its rows twice. Versions from 3.17 answer a re-sent request instead of running it again. Update the plugin and run the import again.
import-taxonomies
Creates any terms named in the file that do not exist yet.
Slow, or appears to hang
At large scale (tens of thousands of new terms), creating terms is slow because each one goes through WordPress’s term functions. This stage always runs with a single worker, whatever the Workers setting says, because parallel term creation races and measured almost no gain. The settings that do affect it are Hierarchy batch flush size (Performance Options) and Additional Options > Optimise DB session settings for slow stages.
- Check that it is making progress:
wp db query "SELECT tt.taxonomy, COUNT(*) FROM wp_terms t INNER JOIN wp_term_taxonomy tt ON t.term_id = tt.term_id GROUP BY tt.taxonomy". If the counts are rising, it is working. - If the same terms are created again on every run, see Handling duplicate term slugs.
“Duplicate entry” while creating terms
When WordPress reports that a term already exists, the stage looks the term up and uses it rather than failing. If a duplicate-key error still stops your import, the likely source is an add-on that writes terms from a stage of its own that runs in parallel. Check callbacks on superspeedyimports_register_stages for taxonomy writes.
match-existing
Finds the existing item for each row by its unique identifier.
Nothing matched when you expected many matches
Causes, most likely first:
- The unique identifier changed between runs. An item is matched on the identifier you chose; if the first import used SKU and the second uses something else, nothing matches. See Choosing your unique identifier.
- The values differ slightly. The comparison is exact text:
ABC-123with a trailing space is notABC-123, and00123is not123. - The stored identifier was removed. For the SKU the stored value is
_sku; for other identifiers the import keeps its own_ssi_unique_item_idmetadata. Check it exists:wp db query "SELECT COUNT(*) FROM wp_postmeta WHERE meta_key = '_ssi_unique_item_id'".
Diagnostic SQL against the staging table (replace <id> with the import ID):
SELECT id, _ssi_unique_item_id, post_id
FROM wp_super_speedy_imports_batch_<id>
WHERE post_id IS NULL
LIMIT 10;
Then check one of those identifiers against the site:
SELECT post_id FROM wp_postmeta
WHERE meta_key = '_ssi_unique_item_id' AND meta_value = '<one of the IDs above>';
The import stops because an identifier matches several items
Two or more items on the site share the identifier, so the row cannot be matched safely. The run stops and lists the item IDs. Remove or correct the duplicates, or choose an identifier that is unique on the site, then run again.
update-posts / insert-posts
Write to wp_posts.
New items get numbered slugs
When the slug is not mapped, a new item’s slug is derived from its title and numbered (shirt-2, shirt-3) if it collides with an existing slug. If you see this every run, map post_name explicitly so each slug is predictable. A mapped slug is written exactly as supplied.
Some items end up as drafts
New items are published by default. If you see drafts, either a column is mapped to the status field (check the values), or another plugin is changing the status. Imports write with SQL, so a plugin that changes status on save only acts when something later saves the item.
update-postmeta / insert-postmeta
Bulk writes to wp_postmeta.
“Got a packet bigger than ‘max_allowed_packet’ bytes”
A single bulk statement exceeded MySQL’s maximum packet size. Raise it:
SET GLOBAL max_allowed_packet = 268435456; -- 256MB
and make it permanent in my.cnf. See MySQL stopped mid-import for the full fix.
“Duplicate entry for key” in wp_postmeta
wp_postmeta has no unique key on (post_id, meta_key) in a standard WordPress install. If you see this, something has added one. Check SHOW CREATE TABLE wp_postmeta.
upsert-relationships
Writes term relationships (which item is in which category, tag or attribute).
Takes hours instead of minutes
- Temporary tables spilling to disk. The stage builds a large
SELECT DISTINCT; at the common defaulttmp_table_sizeof 16M it spills to disk for any taxonomy with tens of thousands of relationships. Turn on Additional Options > Optimise DB session settings for slow stages, which raises the session limits for this one connection during this stage. See Database tuning. - One taxonomy dominates. The stage prints one line per taxonomy with its deleted and created counts and elapsed time. If one taxonomy takes most of the time, that is the one to look at.
- A missing index on the staging table. Check
SHOW INDEX FROM wp_super_speedy_imports_hierarchies_<id>;listshier_source_idx. It is added when the file is loaded; if it is missing, run the import again from load-csv.
“Cannot add or update a child row: a foreign key constraint fails”
wp_term_relationships has no foreign keys in a standard install. A plugin or custom build has added one. Check SHOW CREATE TABLE wp_term_relationships.
attach-existing-images
Attaches images that are already in the media library.
Nothing attached when you expected many
The stage finds existing images through the wp_ssi_image_lookup table, which maps each image URL to its attachment. Images uploaded outside Super Speedy Imports are not in it, so they are not found and would be downloaded again. Rebuild the table from your current media library:
wp ssi resync-image-lookup
The tool empties the lookup table and rebuilds it from every attachment’s guid. Run it again whenever you have changed the media library by other means.
upload-remote-images
Downloads images that are not in the media library and attaches them.
Many failed downloads
Each image is tried up to three times in a run, on every runner: browser, scheduled and WP-CLI. On WP-CLI you see Retrying N failed image URL(s), attempt 2 of 3... after the first pass. An image that downloads on a retry is not reported as a problem. An image that fails all three times is skipped, so one broken URL cannot stall the import, and the item imports without it.
Only images that never downloaded are reported. The completion screen says how many (3 images could not be downloaded) with a link to Open this run in History, where every failed URL is listed with its reason, and the email report gives the same count. Common causes:
- The remote server returns 403 or 404. The URLs are wrong, expired or need a login. Test one:
curl -I "<an image URL from the file>". - The remote server is rate-limiting you. Reduce the workers for this stage in Performance Options.
- SSL certificate errors on the remote server.
- The host resolves to a private address. Image hosts on private or loopback addresses are refused by default. See Allowing image downloads from private hosts.
The image gets a generic filename
When the URL has no filename in its path (for example https://example.com/image.php?id=12345), WordPress uses the Content-Disposition header, and invents a name if there is none. If you control the source, set that header.
“HTTP/1.1 503 Service Unavailable”
The source server is overloaded. Reduce the workers for this stage, or run the image stage at a quieter time: wp ssi <id> upload-remote-images.
attach-gallery-images
The same causes as upload-remote-images apply. One extra point:
The featured image also appears in the gallery
The gallery is exactly what the gallery column lists. If the same URL is in both the featured image and gallery columns, it appears in both places. Remove it from the gallery column if you do not want it there.
fix-attributes
Rebuilds WooCommerce product attribute data.
Attributes look right in the admin but the shop does not filter by them
WooCommerce filters by attribute using its attribute lookup table (wp_wc_product_attributes_lookup), not the product data itself. Choose a rebuild for WooCommerce Attribute Lookup table in the After Import panel on the Config tab, or rebuild it once from WooCommerce > Status > Tools, or:
wp wc tool run regenerate_product_attributes_lookup_table --user=<admin-user>
Attributes disappear after a re-import
The stage rebuilds attribute data from the attributes mapped in this import. An attribute that exists on the product but is not mapped is not carried over, so keep every attribute in the mapping.
process-deletes
Removes items that an earlier run of this import loaded but that are missing from the current file. It runs only in the default mode (Update existing items and create new ones) with Delete missing items ticked, or when you pass --delete-all.
It deleted far more than expected
The stage removes every item this import created or updated that is not in the current file. If the file was cut short or filtered, valid items look “missing”. Check the row count before running:
wc -l data.csv
If it is lower than expected, fix the file first. For a daily feed that may arrive incomplete, untick Delete missing items, or use a mode that never deletes.
The completion screen, History and the email report show how many items each run moved to the trash or deleted permanently, so a large number is visible straight after the run.
“Delete missing items did not run: this run identified no items in the source file”
Every row in the file was empty or skipped (for example, every unique identifier was blank under Skip blank rows and continue), so deleting the missing items would have removed everything this import loaded. The run fails and nothing is deleted. Fix the file and run again. A file with no data rows at all stops earlier, with “No rows found in CSV”.
Can a forced delete be undone?
No. With Force delete (skip trash) ticked, items are deleted permanently, whether they were removed by Delete missing items, the Delete all ⦠loaded by this import link or --delete-all. Without it, they go to the trash and can be restored from there. Delete trashed items permanently and --delete-all --trashed-only always delete permanently. See Trashed items and deletes and Undoing an import. Restore from a database backup if you need permanently deleted items back.
The whole import crashed: MySQL stopped mid-import
You’re in the middle of an import and see:
--- Stage: update-postmeta ---
Error: Error establishing a database connection.
PHP Fatal error: Uncaught TypeError: mysqli_get_server_info(): Argument #1 ($mysql) must be of type mysqli, null given
The second error is a consequence of the first: the import lost its database connection. This section covers the four most likely causes and how to tell them apart.
Step 1: did the connection drop, or did MySQL itself stop?
sudo systemctl status mariadb # or mysql, depending on your distribution
If MySQL is active (running) with a recent start time, it was stopped and restarted during the import. Likely causes:
- A hosting watchdog restarted it (GridPane, cPanel, Plesk, RunCloud and others; see below).
- An unattended security upgrade restarted the package.
- The OOM killer stopped it because the server ran short of memory.
If MySQL is failed, it crashed. Likely causes:
- Out of memory.
- Disk full, which is common during large image imports.
- A MySQL bug or assertion failure (rare).
Step 2: check the MySQL error log
The definitive answer is in the log. Its location varies:
sudo tail -200 /var/log/mysql/error.log
sudo tail -200 /var/lib/mysql/$(hostname).err
sudo journalctl -u mariadb --since "1 hour ago" | tail -100
Look for the time your import failed:
| Log message | Cause |
|---|---|
Normal shutdown (initiated by: unknown) | Something sent SIGTERM: systemctl stop, a hosting watchdog, or a package upgrade. Check the journal for Stopping MariaDB. |
Aborted connection ... (Got an error reading communication packets) | max_allowed_packet was exceeded by a single statement. Raise it to 128M to 256M. |
Got error 28 from storage engine | Disk full. df -h confirms it. |
[ERROR] InnoDB: Cannot allocate memory for the buffer pool | innodb_buffer_pool_size is larger than the memory available. Check my.cnf. |
Assertion failure in ... | A MySQL bug. Check the version (mariadbd --version) and upgrade if a fix exists. |
If the log shows nothing at the time of the failure, MySQL was killed from outside. Check the kernel log:
sudo dmesg -T | grep -iE 'oom|killed process' | tail -10
Killed process <PID> (mariadbd) means the OOM killer stopped it.
Cause 1: a hosting watchdog
GridPane runs a MySQL memory monitor (/usr/local/bin/gpworker) every 15 minutes, which restarts MariaDB when it has used more than a fixed amount of memory for a set time. Those limits suit an ordinary WordPress host and are far too low for an import server with a large buffer pool. The journal shows it:
May 18 13:11:19 ... root[2853929]: ***** GridPane Monitoring - SYS_MEM_USAGE 99% RAM Warning *****
May 18 13:11:20 ... systemd[1]: Stopping MariaDB 10.11.16 database server...
May 18 13:11:28 ... root[2854251]: ***** GridPane Monitoring - MYSQL MEM_RESTART Error *****
MYSQL has been using at least 1953MB RAM for at least the last 40 minutes... Restarting MYSQL!
Options:
- Disable the monitor in GridPane’s control panel or CLI (preferred).
- Raise the threshold in
/usr/local/bin/gpworker(GridPane’s updates overwrite this). - Comment out the gpworker cron entry for the duration of the import, then restore it.
cPanel, Plesk and RunCloud have similar “MySQL high memory” settings. Check them before a large import.
Cause 2: max_allowed_packet exceeded
Look for Got an error reading communication packets in the MySQL log. Bulk statements during a large import can exceed the default packet size.
wp db query "SHOW GLOBAL VARIABLES LIKE 'max_allowed_packet';"
Raise it:
SET GLOBAL max_allowed_packet = 268435456; -- 256MB, applies to new connections immediately
and make it permanent in my.cnf:
[mysqld]
max_allowed_packet = 256M
128M is enough for most imports.
Cause 3: unattended upgrades
On Ubuntu and Debian, unattended-upgrades can install a MySQL or MariaDB update and restart the service during an import.
sudo grep -iE "mariadb|mysql" /var/log/apt/history.log* 2>/dev/null | tail -10
sudo grep -iE "Allowed origins" /var/log/unattended-upgrades/unattended-upgrades.log 2>/dev/null | tail -3
If MariaDB or MySQL appears among the allowed origins, it can be restarted automatically. Mitigations:
Pause unattended upgrades around the import:
sudo systemctl mask unattended-upgrades.service apt-daily-upgrade.timer
# ... run the import ...
sudo systemctl unmask unattended-upgrades.service apt-daily-upgrade.timer
Exclude the database packages permanently. Edit /etc/apt/apt.conf.d/50unattended-upgrades:
Unattended-Upgrade::Package-Blacklist {
"mariadb-server";
"mariadb-server-core";
"mariadb-client";
"libmariadb3";
"libmysqlclient21";
};
You still see available updates with apt list --upgradable and install them in a maintenance window.
Stop needrestart restarting services. Edit /etc/needrestart/needrestart.conf:
$nrconf{restart} = 'l'; # list only, never auto-restart
Cause 4: out of memory
If MySQL crashed and its log explains nothing, check the kernel log:
sudo dmesg -T | grep -iE 'oom|killed process'
Out of memory: Kill process ... (mariadbd) means the kernel killed MariaDB to keep the server alive. Contributing factors:
innodb_buffer_pool_sizetoo large for the server. Total memory, less everything else running, must comfortably exceed it. Check withfree -hbefore the import.- Optimise DB session settings for slow stages adds up to about 600MB for the import’s own connection during upsert-relationships.
- Too many parallel workers. Each worker is a separate PHP process with its own memory.
In order of impact:
- Reduce
innodb_buffer_pool_sizeto about half the server’s memory, less on a server that also runs PHP. - Reduce the workers in Performance Options (2 to 4 on smaller servers).
- Turn off Optimise DB session settings for slow stages if memory is tight.
See Database tuning for sized configurations.
What to do after the failure
Browser and scheduled runs check whether a stage that stopped responding is still running and, for stages that are safe to repeat, run it again automatically. For a command-line run, you do not have to start again from the beginning. Find the stages that finished:
SELECT stage_number, stage_name, start_time, end_time, duration
FROM wp_ssi_import_history_stages
WHERE history_id = (SELECT MAX(id) FROM wp_ssi_import_history WHERE import_id = <YOUR-IMPORT-ID>)
ORDER BY stage_number;
A stage is recorded when it finishes, so the stage that died is the one after the last row. Run the remaining stages:
wp ssi <your-import-id> update-postmeta,insert-postmeta,upsert-relationships,...
The staging tables (wp_super_speedy_imports_batch_<id> and the others) survive the failure, so the remaining stages carry on from the rows load-csv already loaded. Include post-import-jobs at the end if you want the After Import tasks.
Your imports vanished after a database wipe
wp db reset drops every table in the database, and WP Reset and similar tools can drop plugin tables too, depending on the options chosen. When Super Speedy Imports’ tables go, they take the saved imports (wp_ssi_imports), their options (wp_ssi_imports_meta), the history and staging tables, and the image lookup table with them.
What you’ll see
The tables are recreated, empty, the next time an admin page loads or an import runs, so the plugin keeps working. Your saved imports are gone: the Import Name dropdown on the Config tab is empty. The CSV files in wp-content/uploads/super-speedy-imports/ survive only if the tool left the uploads folder alone.
Recovery
If you exported the import’s configuration before the wipe:
- Upload the CSV and create a new import for it on the Config tab.
- Select the new import in Import Name.
- Next to Configuration file (JSON), click Import and choose the saved
.jsonfile. The mappings and Additional Options are applied to the selected import. - Check the options, then click Save Import.
If you have no exported configuration, set the import up again. Afterwards, run wp ssi resync-image-lookup so images already in the media library are reused rather than downloaded again.
To confirm the tables exist:
wp db query "SHOW TABLES LIKE 'wp_ssi_%'"
If they are missing, deactivating and reactivating the plugin creates them:
wp plugin deactivate super-speedy-imports
wp plugin activate super-speedy-imports
Preventing this
- Export each import’s configuration after any meaningful change: select the import, then Configuration file (JSON) > Export. Keep the file outside
wp-content/uploads/, which reset tools often clear. - Take a snapshot or database backup before any reset. Restoring it brings every table back. See Wiping WordPress for a fresh import for the snapshot workflow.
Counts, filters and search are empty after an import
Super Speedy Imports writes with direct SQL and does not fire WordPress save hooks during the import, so anything another plugin normally rebuilds on save is left stale: category and attribute counts show 0, “Filter by attribute” widgets and filter plugins return nothing, a category page shows fewer products than the admin count, and search or filter indexes are out of date. Opening one product and clicking Update fixes that single product, which confirms the cause.
Choose the rebuilds you need in the After Import panel on the Config tab, below Additional Options. They are saved with the import, so scheduled runs repeat them, and the completion screen offers any that did not run, with a button and the equivalent command:
- Recount category, tag and attribute counts.
- WooCommerce Attribute Lookup table and WooCommerce Product Lookup tables.
- Clear WooCommerce caches and transients.
- Rebuild Super Speedy Search index and Rebuild Super Speedy Filters index, when those plugins are installed.
A new import starts with the counts recounted in full, the attribute lookup handed to WooCommerce to rebuild in the background, the product lookup tables rebuilt in bulk during the import, and the WooCommerce caches cleared, so a finished import normally leaves nothing to run. An import created before those defaults keeps the choices it had, which can be Off. If counts or filters are empty after a run, open the import’s After Import panel and check what each task is set to.
The Super Speedy Search rebuild works with Search 5.80 and with earlier versions. If the rebuild stopped working after you updated Super Speedy Search to 5.80, update Super Speedy Imports to 3.29 or later.
For other plugins that rebuild their data on save, run the save-posts tool, which saves the import’s top-level items through WordPress and WooCommerce, the same as editing and saving each one. It is slow on a large catalogue:
wp ssi <id> save-posts
Flush any object cache afterwards (Redis, LiteSpeed, Breeze and similar), or it can keep serving stale data.
Setup and environment issues
Collation mismatch: “Illegal mix of collations”
Super Speedy Imports creates its own tables with the character set and collation of your wp_posts.post_name column, so its tables always match your posts table. An “Illegal mix of collations” error, or the mapping screen’s warning Database collation mismatch will slow this import, means your WordPress and WooCommerce tables do not all use the same collation as each other. The warning names the columns. The plugin does not change core tables for you, because converting a large table locks it. Ask your host to convert the named tables to one collation, ideally the one wp_posts uses.
The file is not listed, or its fields do not appear
The file must be a .csv, .txt, .xml or .json file in wp-content/uploads/super-speedy-imports/. If you copied it there by FTP, reload the page for it to appear. Plain file names with hyphens and no spaces or special characters avoid problems with hosts and shells.
“Failed to insert or find term”
A term in a hierarchical path could not be created or found. Check that the hierarchy and multiple-value separators on the taxonomy’s mapping row match the file (by default > and |), and that no term name contains a separator character. Spaces around separators are trimmed. See Mapping hierarchical and multi-path taxonomies.
An update did not take effect
Every import prints its version first, for example Welcome to Super Speedy Imports version 3.40.0. If that is older than the version you installed, the server is running cached PHP. Flush opcache, and any object cache, on the server.
Imports on SQLite and WordPress Playground
Imports run on SQLite sites, including WordPress Playground and the WordPress.org Live Preview: the bundled Demo Data samples import with their categories and images. If the Imports tab says “No imports created yet” when imports exist, products arrive as untitled posts, or a screen fails with no such function: REGEXP_REPLACE or no such function: IS_FREE_LOCK, update the plugin. A screen whose database query fails shows the database error rather than an empty list, so quote that error when you report a problem.
Running imports through $wpdb
The paid edition and the GitHub edition of Lite run their bulk statements over a direct database connection, for speed. The WordPress.org edition uses $wpdb throughout. To run the paid edition the WordPress.org way, for example to rule the direct connection out while diagnosing a database problem, add this to wp-config.php:
define('SUPERSPEEDYIMPORTS_FORCE_WPDB', true);
Remove it again once you have your answer.
WooCommerce lists Super Speedy Imports as incompatible with HPOS
Super Speedy Imports declares compatibility with WooCommerce High-Performance Order Storage. If WooCommerce’s Features screen still lists it as incompatible, the site runs a version older than 3.25: update the plugin.
An import that works from the terminal can be killed under cron with Aborted connection ... Got an error reading communication packets, usually because of a 300-second execution limit or a database resource limit. Run imports one after another from a single cron script rather than overlapping them, and if there is a hard limit, run each stage as its own cron step. A limit like that on a legitimate job is worth raising with the host.
Stock quantity, stock status and backorders
Map _stock and the import works out Manage stock and Stock status from it. A new product gets Backorders set to “Do not allow”; an existing product keeps its backorders setting unless you map _backorders (no, notify or yes). Import modes and what each stage writes lists exactly which stock fields each mode changes.
A custom slug or permalink is ignored
Map your slug column to post_name, the real slug field. A mapped slug is written exactly as supplied. When the slug is not mapped, an existing item keeps its current slug even if its title changes.
Updating items without a title column
A file that only updates prices or stock does not need a title. Use the mode Only update prices & other item details (fastest), which matches existing items and updates their mapped fields without creating anything. See Controlling which stages of an import actually run.
save-posts is slow because of other plugins
The save-posts tool saves each product through WooCommerce, which fires every active plugin’s save hooks, so its speed is set by what those plugins do on save. Disable suspect plugins one at a time to find the one responsible.
ACF or SCF fields are blank although the data imported
ACF and SCF store a field-key reference alongside each value, and some field types store serialised arrays, so a value written as plain metadata does not always appear in the field. When ACF or SCF is active, the paid edition shows a Custom Fields section on the mapping screen listing your field groups; map to the fields there rather than to raw metadata keys.
Images from the Delayed Image Import add-on download immediately
Do not map the image to the Featured Image field, which downloads it during the import. See Delayed Image Import for the fields to map instead.
The import stalls when you leave the browser tab
A browser run is driven by the admin tab: the page sends the server one batch at a time. Browsers suspend background tabs to save memory and battery (Chrome’s Memory Saver, Edge’s Sleeping Tabs, Firefox unloading tabs, macOS App Nap), and a suspended tab sends nothing, so the import pauses until you return. Nothing is lost; it carries on from the last completed batch.
- Chrome: at
chrome://settings/performance, add your site under Always keep these sites active, or turn Memory Saver off. - Edge: at
edge://settings/system, add your site under Never put these sites to sleep. - Firefox: set
browser.tabs.unloadOnLowMemorytofalseinabout:config. - Mac: keep part of the import window visible, and stop the Mac sleeping (
caffeinate -disin Terminal while the import runs).
Or run the import from the command line, which needs no browser at all and is faster:
wp ssi <import-id>
An error that updating fixes
These messages come from defects fixed in the plugin. Check the version in the first line of the run output and update if it is older than the one listed.
| Message or symptom | Fixed in |
|---|---|
Could not acquire the import bookkeeping lock. during a force delete, while the browser checks progress | 3.06 |
| An empty file changes items instead of stopping with “No rows found in CSV” in the browser or on a schedule | 3.07 |
Import aborted - the unique item identifier is not unique within your CSV on a slow server, for rows that are not duplicated | 3.17 |
| An Excel “CSV UTF-8” file loses its first column | 3.18 |
| The Imports tab is blank, or shows a critical error, on a site with thousands of saved imports | 3.18 |
A browser import fails with 504 Gateway Time-out part way through loading the file | 3.18 |
Deadlock found when trying to get lock; try restarting transaction while staging hierarchical categories | 3.35 |
| WP-CLI imports leave images out after a single failed download | 3.38 |
- Diagnosing slow imports: when stages are not failing, just slow.
- Database tuning: server sizing that prevents most crashes.
- Choosing parallel workers per stage: worker counts for your server.
- CLI reference: every
wp ssicommand and flag. - Common questions: short answers to common questions.
- Fixing Slow WooCommerce Imports: the hub guide, including fixes that work whichever importer you use.
Written for Super Speedy Imports 3.68.0.
Comments