Closed colinmeinke closed 6 years ago
I'm getting this error when I try to import JSON or CSV as a channel entries.
Twig Runtime Error – Twig_Error_Runtime Impossible to access a key ("0") on a null variable. 1. in /path/to/vendor/verbb/feed-me/src/templates/_includes/fields/entries.html at line 83 7475767778798081828384858687 {% endfor %} <div class="element-group element-group-entrytype" data-items="{{ entryTypes | json_encode }}"> <span>{{ 'Type:' | t('feed-me') }}</span> {{ forms.selectField({ name: 'options[group][typeId]', class: '', value: feed.fieldMapping[handle].options.group.typeId ?? '', options: entryTypes['item_' ~ sources[0].id] ?? [], }) }} {{ forms.selectField({ name: 'options[group][typeId]', class: '', value: feed.fieldMapping[handle].options.group.typeId ?? '', options: entryTypes['item_' ~ sources[0].id] ?? [], }) }} </div> </div> {% endblock %}
items
I’ve fixed this up in 3.0.0-beta.7
Description
I'm getting this error when I try to import JSON or CSV as a channel entries.
Steps to reproduce
items
as root elementAdditional info