Fatal error: Uncaught Error: Call to undefined method Magento\Framework\View\Result\Page\Interceptor::setPath() in /opt/magento/americanfreight2/versions/39/app/code/Nextopia/Search/Controller/Index/Index.php:70 Stack trace: #0 /opt/magento/americanfreight2/versions/39/vendor/magento/framework/Interception/Interceptor.php(58): Nextopia\Search\Controller\Index\Index->execute() #1 /opt/magento/americanfreight2/versions/39/vendor/magento/framework/Interception/Interceptor.php(138): Nextopia\Search\Controller\Index\Index\Interceptor->___callParent('execute', Array) #2 /opt/magento/americanfreight2/versions/39/vendor/magento/framework/Interception/Interceptor.php(153): Nextopia\Search\Controller\Index\Index\Interceptor->Magento\Framework\Interception\{closure}() #3 /opt/magento/americanfreight2/versions/39/generated/code/Nextopia/Search/Controller/Index/Index/Interceptor.php(26): Nextopia\Search\Controller\Index\Index\Interceptor->___callPlugins('execute', Array, Array) #4 /opt/magento/americanfreight2/versions/39/vendor/magento/framework/App/Action/Action.php(108): Nextopia\Search\Controller\Index\Index\Interceptor->execute() #5 /opt/magento/americanfreight2/versions/39/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\App\Action\Action->dispatch(Object(Magento\Framework\App\Request\Http)) #6 /opt/magento/americanfreight2/versions/39/vendor/magento/framework/Interception/Interceptor.php(138): Nextopia\Search\Controller\Index\Index\Interceptor->___callParent('dispatch', Array) #7 /opt/magento/americanfreight2/versions/39/vendor/magento/framework/Interception/Interceptor.php(153): Nextopia\Search\Controller\Index\Index\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Request\Http)) #8 /opt/magento/americanfreight2/versions/39/generated/code/Nextopia/Search/Controller/Index/Index/Interceptor.php(39): Nextopia\Search\Controller\Index\Index\Interceptor->___callPlugins('dispatch', Array, Array) #9 /opt/magento/americanfreight2/versions/39/vendor/magento/framework/App/FrontController.php(159): Nextopia\Search\Controller\Index\Index\Interceptor->dispatch(Object(Magento\Framework\App\Request\Http)) #10 /opt/magento/americanfreight2/versions/39/vendor/magento/framework/App/FrontController.php(99): Magento\Framework\App\FrontController->processRequest(Object(Magento\Framework\App\Request\Http), Object(Nextopia\Search\Controller\Index\Index\Interceptor)) #11 /opt/magento/americanfreight2/versions/39/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\App\FrontController->dispatch(Object(Magento\Framework\App\Request\Http)) #12 /opt/magento/americanfreight2/versions/39/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\App\FrontController\Interceptor->___callParent('dispatch', Array) #13 /opt/magento/americanfreight2/versions/39/vendor/magento/module-store/App/FrontController/Plugin/RequestPreprocessor.php(94): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Request\Http)) #14 /opt/magento/americanfreight2/versions/39/vendor/magento/framework/Interception/Interceptor.php(135): Magento\Store\App\FrontController\Plugin\RequestPreprocessor->aroundDispatch(Object(Magento\Framework\App\FrontController\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http)) #15 /opt/magento/americanfreight2/versions/39/vendor/magento/module-page-cache/Model/App/FrontController/BuiltinPlugin.php(73): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Request\Http)) #16 /opt/magento/americanfreight2/versions/39/vendor/magento/framework/Interception/Interceptor.php(135): Magento\PageCache\Model\App\FrontController\BuiltinPlugin->aroundDispatch(Object(Magento\Framework\App\FrontController\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http)) #17 /opt/magento/americanfreight2/versions/39/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\FrontController\Int in /opt/magento/americanfreight2/versions/39/app/code/Nextopia/Search/Controller/Index/Index.php on line 70