I'm implementing "search api" with "field collection" version 8.x-1.0-alpha1

"Search api" indexes the fields but in the search page I get the following error:

The website encountered an unexpected error. Please try again later.
Error: Call a member function access () on null in Drupal \ field_collection \ FieldCollectionItemAccessControlHandler-> checkAccess () (line 33 of modules / field_collection / src / FieldCollectionItemAccessControlHandler.php).

I found this possible solution but for version 8.x-3.x:
Https://www.drupal.org/node/2820570#comment-11741994

When updating from 8.x-1.0-alpha1 to 8.x-3.x the site is broken, so I ask:

Is there a way to implement the proposed solution for version 8.x-3.x to version 8.x-1.0-alpha1?

Thanks for your time and help

Comments

dejahvuuu created an issue. See original summary.

ram4nd’s picture

Status: Active » Closed (won't fix)