Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The field no longer has any valid bundle it can reference - Error #13

Open
mtodor opened this issue Jul 16, 2019 · 2 comments
Open

The field no longer has any valid bundle it can reference - Error #13

mtodor opened this issue Jul 16, 2019 · 2 comments

Comments

@mtodor
Copy link
Contributor

mtodor commented Jul 16, 2019

I have tried configuration provided in this comment: #4 (review)

And I'm getting a lot of errors in log. Like this:

31	0	entity_reference	The %field_name entity reference field (entity_type: %entity_type, bundle: %bundle) no longer has any valid bundle it can reference. The field is not working correctly anymore and has to be adjusted.	a:3:{s:11:"%field_name";s:19:"entity_reference_52";s:12:"%entity_type";s:13:"taxonomy_term";s:7:"%bundle";s:4:"tags";}	2		http://default/		127.0.0.1	1563276539
30	0	entity_reference	The %field_name entity reference field (entity_type: %entity_type, bundle: %bundle) no longer has any valid bundle it can reference. The field is not working correctly anymore and has to be adjusted.	a:3:{s:11:"%field_name";s:18:"entity_reference_4";s:12:"%entity_type";s:13:"taxonomy_term";s:7:"%bundle";s:4:"tags";}	2		http://default/		127.0.0.1	1563276538
...
4	0	entity_reference	The %field_name entity reference field (entity_type: %entity_type, bundle: %bundle) no longer has any valid bundle it can reference. The field is not working correctly anymore and has to be adjusted.	a:3:{s:11:"%field_name";s:18:"entity_reference_7";s:12:"%entity_type";s:4:"node";s:7:"%bundle";s:7:"article";}	2		http://default/		127.0.0.1	1563276518
3	0	entity_reference	The %field_name entity reference field (entity_type: %entity_type, bundle: %bundle) no longer has any valid bundle it can reference. The field is not working correctly anymore and has to be adjusted.	a:3:{s:11:"%field_name";s:18:"entity_reference_6";s:12:"%entity_type";s:4:"node";s:7:"%bundle";s:7:"article";}	2		http://default/		127.0.0.1	1563276518
2	0	entity_reference	The %field_name entity reference field (entity_type: %entity_type, bundle: %bundle) no longer has any valid bundle it can reference. The field is not working correctly anymore and has to be adjusted.	a:3:{s:11:"%field_name";s:18:"entity_reference_2";s:12:"%entity_type";s:4:"node";s:7:"%bundle";s:7:"article";}	2		http://default/		127.0.0.1	1563276516
1	0	entity_reference	The %field_name entity reference field (entity_type: %entity_type, bundle: %bundle) no longer has any valid bundle it can reference. The field is not working correctly anymore and has to be adjusted.	a:3:{s:11:"%field_name";s:18:"entity_reference_1";s:12:"%entity_type";s:4:"node";s:7:"%bundle";s:7:"article";}	2		http://default/		127.0.0.1	1563276516

It happens also for other reports I have, but not for default Thunder. 😞

@mtodor
Copy link
Contributor Author

mtodor commented Feb 3, 2020

It looks like this error is caused by entity reference field widgets where we do not have target bundles defined.

It's possible to reproduce it with: https://github.com/thunder/thunder-performance-site-templates/blob/master/thunder_base_set.json
For example: /admin/structure/types/manage/bundle_0/fields/node.bundle_0.field_22

@ol0lll
Copy link
Member

ol0lll commented Feb 12, 2020

This is caused (at least for field_22) by using a view as selection provider in entity reference field configuration.
Added bundle type manually for field_22 thunder/thunder-performance-site-templates#4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants