- π¬π§United Kingdom jacobupal Leeds
I don't know if this was the problem for OP, but I had this same error when I created the feed type by importing a config with drush.
When you you create a feed type manually, it creates the feed_item field on the content type.
However, importing the config with drush doesn't do anything to the content type.
To resolve this I went to the settings page for the problematic feed type and just hit save, this seems to have generated the field and fixed the problem. The importer was then able to run successfully.
- π³π±Netherlands megachriz
@jacobupal
The feed type indeed cannot work correctly if you don't have the feed_item field. So perhaps the bug is here that the feed type doesn't have declared a dependency on the feed_item field. - π¬π§United Kingdom jacobupal Leeds
Would that dependency force the feeds_item field to be created when you import a config, or just prevent the import?
- π³π±Netherlands megachriz
@jacobupal
Prevented. If a feed type would have a dependency on the feeds_item field, you cannot import the feed type configuration if the feeds_item field does not exist. So in that case you would also need to import the feeds_item field configuration. - π¬π§United Kingdom jacobupal Leeds
Got it. It's a shame that such a fix would prevent my workaround!
- π³π±Netherlands megachriz
@jacobupal
Well, there is more config in Drupal that you cannot import if other config does not exist. And you could still technically apply the workaround if you remove the dependency line from the config file. - πΊπΈUnited States jennypanighetti
Had this error today because I'd only imported the feed itself, and not the related field. Saving the content type as described in #6 fixed it for me.
- π³π±Netherlands megachriz
Setting the action to resolve the issue in the issue title.