Fatal error: Uncaught Symfony\Component\Debug\Exception\FatalThrowableError: Call to a member function isPlgMembersOnlyPage4() on null in /home/sun-a-ec/www/app/Plugin/MembersOnlyPage4/Event.php:91
Stack trace:
#0 /home/sun-a-ec/www/vendor/symfony/event-dispatcher/EventDispatcher.php(214): Plugin\MembersOnlyPage4\Event->onKernelResponse(Object(Symfony\Component\HttpKernel\Event\FilterResponseEvent), 'kernel.response', Object(Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher))
#1 /home/sun-a-ec/www/vendor/symfony/event-dispatcher/EventDispatcher.php(44): Symfony\Component\EventDispatcher\EventDispatcher->doDispatch(Array, 'kernel.response', Object(Symfony\Component\HttpKernel\Event\FilterResponseEvent))
#2 /home/sun-a-ec/www/vendor/symfony/http-kernel/HttpKernel.php(191): Symfony\Component\EventDispatcher\EventDispatcher->dispatch('kernel.response', Object(Symfony\Component\HttpKernel\Event\FilterResponseEvent))
#3 /home/sun-a-ec/www/vendor/symfony/http-kernel/HttpKernel.php(259): Symfony\Component\HttpKernel in /home/sun-a-ec/www/app/Plugin/MembersOnlyPage4/Event.php on line 91