Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Since the recent fix in #1555894: Store entity information in EntityReference_SelectionHandler, Organic groups 7.x-2.x is no longer in sync with the most recent version of EntityReference.
I am getting this error:
Fatal error: Declaration of OgSelectionHandler::getInstance() must be compatible with that of EntityReference_SelectionHandler::getInstance() in DRUPAL_ROOT/profiles/myprofile/modules/contrib/og/plugins/entityreference/selection/OgSelectionHandler.class.php on line 7
The class definition needs to change to match.
Comments
Comment #1
amitaibuThanks, this is fixed in #1541672: Don't check "create" access in OgSelectionHandler::buildEntityFieldQuery()