<!-- Troubleshooting Venue Map: Errors and Fixes | Docs -->
Page: https://spotthemes.com/docs/venue-map/troubleshooting/

# Troubleshooting

Most Venue Map problems come from four places: the SVG file (over 5 MB, no viewBox, shapes with no fill or names on groups), a page cache showing an old copy of the map, a security plugin blocking the site's own REST API, or theme CSS. This page lists every message the plugin shows, what causes it and the fix.

- After any change to a venue, clear your caching plugin's cache so visitors get the new map.
- Shapes that cannot be clicked almost always have no fill, or sit in a hidden layer.
- Licence messages are explained in [Licence, sites and staging](https://spotthemes.com/docs/venue-map/licence-and-sites/).

Updated 29 Nov 2026 · Tested with Venue Map 1.0.0 · By SpotThemes

On this page

- [SVG upload messages](#svg-upload-messages)
- [Shapes are not clickable or not linked](#shapes-are-not-clickable-or-not-linked)
- [The map shows old content after you save](#the-map-shows-old-content-after-you-save)
- ["The floor plan could not be loaded."](#the-floor-plan-could-not-be-loaded)
- [The map looks wrong in my theme](#the-map-looks-wrong-in-my-theme)
- [Other messages](#other-messages)
- [Related docs](#related-docs)

## SVG upload messages

These appear in the Floor panel after you upload an SVG. Each one is the exact text you see.

"Choose an SVG file under 5 MB."

The file is over 5 MB. Delete text turned into outlines, hidden layers, embedded pictures and unused shapes in your design app, then export again. A floor of a few hundred units is far below 5 MB.

"This file is not a valid SVG."

The file is not an SVG, or it is broken. Export it again from your design app as SVG. A PDF or PNG renamed to.svg does not work.

"The SVG needs a viewBox or a width and height."

The top `<svg>` tag has no size. Export again from your design app, which writes one, or add `viewBox="0 0 1000 700"` with your drawing's size.

"This SVG uses features that are not allowed. Export it again as plain SVG."

The file has entity definitions, which are refused for safety. Export the file again as a plain SVG from your design app.

"No usable shapes found in this SVG. Shops and rooms should be paths, polygons or rectangles."

Everything in the file is text, an embedded picture or hidden. Draw the units as shapes, or upload the image as a floor picture instead.

"Your server is missing the PHP XML extension."

Ask your host to turn on PHP's XML (DOM) extension. Picture floors work without it.

"212 shapes kept, 40 skipped (unsupported or hidden)."

Normal for many files. Skipped means shapes past the 4,000 per floor limit, or paths the plugin cannot read. If units you need are missing, check they are not inside a hidden layer or a clip path.

"Not allowed." or "Upload failed."

Your key is not active, you cannot edit this venue, or your login timed out. Reload the page and check the licence box.

## Shapes are not clickable or not linked

A shape is clickable only when it is linked to a place. If linking does not pick it up, or it shows as an outline only, check these causes in order.

| What you see | Cause | Fix |
| --- | --- | --- |
| Shape is a thin outline | It has `fill="none"`, or it is a line or polyline. Venue Map draws those as lines. | Give units a fill, even white. |
| Shape missing on the map | It sits inside a hidden layer, `defs`, a mask, a clip path or a symbol. | Move it to a visible layer and export again. |
| "0 places linked." | The names are on groups, or do not match any unit, name or slug. | Name the shape itself by unit number. Check a unit in the file with a text editor: `id="G-12"`. |
| Some places not linked | Those places already have a pin or a drawn shape. Linking skips placed places. | Press Remove from map on them, then link again. |
| Place sits on the wrong unit | The floor's SVG was replaced by a file with its shapes in another order. | See [Link SVG shapes to places](https://spotthemes.com/docs/venue-map/link-svg-shapes/). |
| Shapes in odd colours | "Use the colours from uploaded SVG plans" is on. | Turn it off in Settings for the clean style. |

## The map shows old content after you save

The map's places, hours and settings are written into the page's HTML. A page cache (from a caching plugin, your host or a CDN such as Cloudflare) keeps serving the old copy until it is cleared. Clear the cache for the page with the map after you press Update. Opening hours and "Open now" are worked out live in the visitor's browser, so they are always current even from a cached page.

## "The floor plan could not be loaded."

Visitors see this when a large floor cannot be fetched. When a venue's SVG floors add up to more than about 250 KB, the bigger floors load from your site's REST API at `/wp-json/spotthemes-venue-map/v1/floor/`. Security plugins that switch off the REST API for visitors block that address. Allow the `spotthemes-venue-map/v1` route in the security plugin, or make the SVG smaller. Floors of a draft venue only load for logged-in editors.

## The map looks wrong in my theme

All of the map's styles start with `.spotthemes-vm`, so they stay inside the map. A theme can still push its own rules in, such as underlined links, extra padding on buttons or list bullets. Try these in order:

- Place the map in a full-width or wide block, so the theme's narrow text column does not squeeze the two cards. On screens up to 640 pixels wide, the phone layout takes over.
- Switch Font to "Use my theme font" if the map's font stands out, or back to Geist if your theme's font breaks the layout.
- Add a small fix to Appearance, Customize, Additional CSS that starts with `.spotthemes-vm`, for example `.spotthemes-vm button{text-transform:none}`.
- Check whether a page builder or optimisation plugin delays or combines scripts. The map needs its script to run, and without it you see the plain list.

## Other messages

"Venue map not found. Pick one in the block settings."

The block, widget or shortcode points at an ID that is not a venue. Pick the venue again, or copy the shortcode from the venue's Show this venue box. Only editors see this line.

Nothing shows at all for visitors

The venue is a draft or private. Publish it.

"Changes were not saved: editing needs an active license."

See [Licence, sites and staging](https://spotthemes.com/docs/venue-map/licence-and-sites/).

"The first row must have a "name" column." / "The file has no rows."

The CSV needs a header row with a name column and at least one place below it. See [CSV import and export](https://spotthemes.com/docs/venue-map/csv-import-export/).

"This is not a venue backup file."

Restore takes only a JSON file made with Download backup.

"Open now" is an hour off

Your site's time zone is wrong. Set a city, not a UTC offset, in Settings, General, so summer time is handled.

Not covered here? Check the other topics in [all Venue Map docs](https://spotthemes.com/docs/). Comparing what you see with a working map helps: open the [mall directory demo](https://spotthemes.com/venue-map/mall-directory/) or the [campus map demo](https://spotthemes.com/venue-map/campus-map/).

## Related docs

- [Add floors and floor plans](https://spotthemes.com/docs/venue-map/add-floors/) Add up to 30 floors per venue. Each floor takes an SVG plan up to 5 MB with clickable shapes, or a PNG, JPG or WebP picture.
- [Link SVG shapes to places](https://spotthemes.com/docs/venue-map/link-svg-shapes/) Link the named shapes of an SVG floor plan to places in one click, create places from shapes, or link one shape at a time.
- [Licence, sites and staging](https://spotthemes.com/docs/venue-map/licence-and-sites/) How Venue Map licence keys count sites, why test and staging sites are free, how to move a site, and what happens when a plan ends.
- [Place the map: block, shortcode or Elementor](https://spotthemes.com/docs/venue-map/shortcode-block-elementor/) Show a venue with the Venue map block, the Elementor widget or [spotthemes_venue_map id]. All shortcode options: theme, height, floor.

Was this missing something? Email [support@spotthemes.com](mailto:support@spotthemes.com)
