Skip to content

Troubleshooting ​

When the configuration doesn't fit the source data, the field shows a red message under the input in the control panel. Each message below is quoted exactly, with its cause and fix. On the front end, a misconfigured field renders nothing; the fir tag never throws.

Several misconfigured fields, each with a red warning: source field not found, wrong Save as for a list, wrong Save as for assets, image grid without images, global set not foundSeveral misconfigured fields, each with a red warning: source field not found, wrong Save as for a list, wrong Save as for assets, image grid without images, global set not found

Configuration warnings, from the testbench's Configuration warnings demo.

Configuration warnings ​

The source field "…" could not be found. ​

The source field "does_not_exist" could not be found.

Cause: Source type is Sibling or ancestor, and there's no field with that handle in the field's own Grid row or Replicator set, any row or set above it, or the top level of the blueprint.

Fix:

  • Check the spelling of Source field. It's the field's handle, not its display name.
  • If the source is in a different Replicator set, a different Grid row, or nested below the FIR field, it can't be reached. The lookup only goes up. Move one of the fields.
  • If the source lives in a Global set, set Source type to Global.

Global set "…" not found. ​

Global set "nope" not found.

Cause: Source type is Global, but no global set has the handle in Source global set.

Fix: Pick an existing global set in the field settings. If you edit YAML, use the global set's handle.

Field "…" not found in global set "…". ​

Field "offices" not found in global set "demo_settings".

Cause: The global set exists, but its blueprint has no field with the handle in Source field.

Fix: Check the handle against the global set's blueprint.

Please choose what to "Save as" in the field configuration. ​

Cause: Save as is empty. It has no default, because the right mode depends on the source.

Fix: Pick a mode, see Save as modes. This message only appears once the source has items.

The source field "photos" is an Assets field. Please set "Save as" to "Value" (recommended) or "Index".

Cause: The source is an Assets field, and Save as is key, id, object_key or object.

Fix: Set Save as to Value. It saves the asset ID (assets::path/to/file.jpg), which survives reordering. Index works but follows the position. See Assets as source.

The source field "…" data is an object. Please set the "Save as" to "Key" or "Value". ​

Cause: The source is a keyed object (for example an Array field with keys), and Save as is something other than key or value.

Fix: Use Key to save the array key, or Value to save the value.

The source field "…" data is a simple array of strings. Please set the "Save as" to "Value" or "Index". ​

The source field "colors" data is a simple array of strings. Please set the "Save as" to "Value" or "Index".

Cause: The source is a plain list (List, Checkboxes…), and Save as is key, id, object_key or object. Plain strings have no keys, IDs or objects.

Fix: Use Value or Index.

The source field "…" data is an array of objects. To save the entire object, please set the "Save as" option to "Object" instead of "Value". ​

Cause: The source is a Grid or Replicator (rows are objects), and Save as is value.

Fix: Use Item ID (recommended), Object key, Object or Index. Set Option label source too, so the options have readable labels.

Please set the "Object key" in the field configuration. ​

Cause: Save as is Object key but Object key is empty.

Fix: Enter the key to save, for example email or slug. Pick one that is unique per row.

The image grid needs an Assets source field or an "Option image source". ​

Cause: Input type is Image grid, but the source isn't an Assets field and Option image source is empty, so there are no images to show. The tiles show a placeholder.

Fix: Set Option image source to the handle of an Assets field inside each row, or choose a different input type.

Not an error ​

Source field "…" has no items. ​

The source exists but is empty. Add items to the source field (or the global) and they appear immediately.

Common questions ​

The selection moved to a different item ​

The field uses Save as: Index and the source was reordered, or had an item inserted or deleted. Switch to Value (lists, assets), Item ID (Grid/Replicator) or Key (Array). Existing values have to be picked again once.

The selection disappeared after renaming an item ​

With Value or Object key, the saved value is the old name. Use Item ID for Grid/Replicator rows, or Index for lists that are renamed but never reordered.

The template prints a number, an ID or a key instead of the item ​

That is the saved reference. Only Assets sources augment to the item itself. For other sources, use the fir tag: fir:field, fir:field:path or the tag pair.

A tag pair swallows the rest of the template ​

You used the same fir:… tag as a single tag and as a pair. Close the single one with /}}. See the Antlers tip.

The options come from the wrong language ​

Global sources use the site of the entry being edited. Make sure you are editing the right localization (the Working in site switcher), and that the global set has data for that site. If it doesn't, the default site's data is used.

Thumbnails are missing for Grid rows ​

Option image source must be the handle of the Assets field inside each row (e.g. photo), not the handle of the Grid. Rows with no file selected show a placeholder. Non-image files such as PDFs never get a thumbnail.

A value from an older version doesn't show ​

Values saved as a plain asset path (without the container:: prefix) are still recognised for Assets sources. Other values must match the current Save as mode. If you change the mode, existing content keeps the old kind of value and has to be picked again.

Released under the MIT License. Made with fruit by kiwikiwi