Problem/Motivation

Permission by Entity Fatal Error - Undefined Constant MAIN_REQUEST

Error: Undefined constant Symfony\Component\HttpKernel\HttpKernelInterface::MAIN_REQUEST in /mnt/www/html/ucsf8/docroot/modules/contrib/permissions_by_term/modules/permissions_by_entity/src/EventSubscriber/PermissionsByEntityKernelEventSubscriber.php on line 85 #0 [internal function]: Drupal\permissions_by_entity\EventSubscriber\PermissionsByEntityKernelEventSubscriber->onKernelRequest(Object(Symfony\Component\HttpKernel\Event\RequestEvent), 'kernel.request', Object(Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher))

Steps to reproduce

Symfony Kernel only defines a MASTER_REQUEST constant for the HttpKernelInterface

at least within 4.4.0
-----

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

gr8tkicks created an issue. See original summary.

marcoliver made their first commit to this issue’s fork.

marcoliver’s picture

Status: Active » Fixed

Reverted back to using the older MASTER_REQUEST constant, which is deprecated but still usable in both D9 and D10.

Will tag 3.1.33 in a moment.

  • marcoliver committed 433606fd on 3.1.x-dev
    Issue #3439734 by marcoliver, gr8tkicks: Permission by Entity Fatal...

Status: Fixed » Closed (fixed)

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