- Issue created by @mike vogel
Using Drupal 10.1 PHP 8.2 , Redhen 2.1.0-rc
I'm encountering the same error. The referenced posts indicate that the issue lies in the access check parameter always being required in Drupal 10 when using EntityQuery. Its absence was causing too many bugs, whereas Drupal 9 defaulted to TRUE.
I managed to get it installed and "working" by using the 3402288-entityquery_requires_explicit_accesscheck.patch, Still testing in Drupal 10. The second patch is to fix the issue with "getSubscribedEvents() must be compatible with Drupal\Core\Routing\RouteSubscriberBase::getSubscribedEvents(): array " in drupal 10.
- πΊπΈUnited States rdworianyn
I can confirm that the patches in #3 have resolved this for me in Drupal 10.1, PHP 8.2, and Redhen 2.1.0-rc.
Thanks alurizar!
- Status changed to RTBC
11 months ago 11:27pm 23 January 2024 - πΉπ·Turkey orkut murat yΔ±lmaz Istanbul
The first patch on #3 works for me too. My environment is:
PHP 8.1.26
PostgreSQL 16.1
Drupal 10.2.2 - πΉπ·Turkey orkut murat yΔ±lmaz Istanbul
Also, second patch worked for other issue too.
Any chance for merge?
- Status changed to Fixed
8 months ago 11:48pm 17 April 2024 Automatically closed - issue fixed for 2 weeks with no activity.