Problem/Motivation

TypeError: Argument 1 passed to Drupal\entity\QueryAccess\QueryAccessEvent::__construct() must be an instance of Drupal\entity\QueryAccess\ConditionGroup, array given, called in /code/web/modules/contrib/entity/src/QueryAccess/QueryAccessHandlerBase.php on line 90 in Drupal\entity\QueryAccess\QueryAccessEvent->__construct() (line 59 of /code/web/modules/contrib/entity/src/QueryAccess/QueryAccessEvent.php)

#0 /code/web/modules/contrib/entity/src/QueryAccess/QueryAccessHandlerBase.php(90): Drupal\entity\QueryAccess\QueryAccessEvent->__construct(Array, 'view', Object(Drupal\Core\Session\AccountProxy), 'storage')
#1 /code/web/modules/contrib/entity/src/QueryAccess/EntityQueryAlter.php(107): Drupal\entity\QueryAccess\QueryAccessHandlerBase->getConditions('view')
#2 /code/web/modules/contrib/entity/entity.module(155): Drupal\entity\QueryAccess\EntityQueryAlter->alter(Object(Drupal\Core\Database\Query\Select), Object(Drupal\Core\Entity\ContentEntityType))

Comments

mxh created an issue. See original summary.

  • mxh committed 1616403 on 1.0.x
    Issue #3243752 by mxh: TypeError: Argument 1 passed to Drupal\entity\...
mxh’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.