PHP Fatal error: Uncaught Symfony\Component\Debug\Exception\FatalThrowableError: Cannot use object of type Symfony\Component\HttpFoundation\ParameterBag as array in /home/xxxxx/xxxxxx.in/src/Adapter/Security/Admin.php:91
Stack trace:
#0 /home/smithikakart/smithikamobiles.in/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/WrappedListener.php(115): PrestaShop\PrestaShop\Adapter\Security\Admin->onKernelRequest(Object(Symfony\Component\HttpKernel\Event\GetResponseEvent), 'kernel.request', Object(Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher))
#1 /home/smithikakart/smithikamobiles.in/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php(212): Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke(Object(Symfony\Component\HttpKernel\Event\GetResponseEvent), 'kernel.request', Object(Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher))
#2 /home/smithikakart/smithikamobiles.in/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Eve in /home/xxxx/xxxxxxxx.in/src/Adapter/Security/Admin.php on line 91
Changes done
src/Adapter/Security/Admin.php
line 91 code is : && isset($event->getRequest()->attributes['exception'])
Replace code is : && $event->getRequest()->attributes->has('exception')