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
-----
Issue fork permissions_by_term-3439734
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
Comment #4
marcoliverReverted 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.