Fatal error: Uncaught Error: Call to a member function getRequestPath() on null in /mnt/data/home/134741.cloudwaysapps.com/qgdjpscjjp/public_html/app/code/Greecs/SmartSearch/Observer/CategoryRedirect.php:86 Stack trace: #0 /mnt/data/home/134741.cloudwaysapps.com/qgdjpscjjp/public_html/vendor/magento/framework/Event/Invoker/InvokerDefault.php(73): Greecs\SmartSearch\Observer\CategoryRedirect->execute(Object(Magento\Framework\Event\Observer)) #1 /mnt/data/home/134741.cloudwaysapps.com/qgdjpscjjp/public_html/vendor/magento/framework/Event/Invoker/InvokerDefault.php(61): Magento\Framework\Event\Invoker\InvokerDefault->_callObserverMethod(Object(Greecs\SmartSearch\Observer\CategoryRedirect), Object(Magento\Framework\Event\Observer)) #2 /mnt/data/home/134741.cloudwaysapps.com/qgdjpscjjp/public_html/vendor/magento/framework/Event/Manager.php(66): Magento\Framework\Event\Invoker\InvokerDefault->dispatch(Array, Object(Magento\Framework\Event\Observer)) #3 /mnt/data/home/134741.cloudwaysapps.com/qgdjpscjjp/public_html/var/generatio in /mnt/data/home/134741.cloudwaysapps.com/qgdjpscjjp/public_html/app/code/Greecs/SmartSearch/Observer/CategoryRedirect.php on line 86