I updated ctools from rc1 to rc2 and entity_reference from beta5 to rc1. My entity reference fields don't work anymore. If I go to the field settings, it says:

The selected selection handler is broken.

instead of the bundle selection form element. If I change the target type, it doesn't work better and I get this error in the watchdog:

Illegal choice 'base' in 'Entity selection mode'.

I tried to find the source of this problem. Here's what happens in function _entityreference_field_settings_process:
line 382: $handlers = ctools_get_plugins('entityreference', 'selection'); returns an empty array, and I guess it shouldn't.

Comments

gaëlg’s picture

Status: Active » Closed (cannot reproduce)

I uploaded the module again, and it works. It looks like some file was missing, probably because of an FTP error.

davidwhthomas’s picture

I had the same error that was fixed by clearing all caches.

FR6’s picture

Issue summary: View changes

Same here, I needed to clear Drupal cache.
I am using Drupal 7.24 with Entity Reference 7.x-1.1+3-dev.

Thank's @davidwhthomas , I have been struggling making it work!