Error: Object of class Magento\Framework\DB\Statement\Pdo\Mysql could not be converted to string in /var/www/html/dtib/app/code/Dtib/Redirects/Helper/Data.php:160 Stack trace: #0 /var/www/html/dtib/app/code/Dtib/Redirects/Helper/Data.php(98): Dtib\Redirects\Helper\Data->getCategoryUrl() #1 /var/www/html/dtib/app/code/Dtib/Redirects/Plugin/NoroutePlugin.php(39): Dtib\Redirects\Helper\Data->matchPotentialRedirect() #2 /var/www/html/dtib/vendor/magento/framework/Interception/Interceptor.php(135): Dtib\Redirects\Plugin\NoroutePlugin->aroundExecute() #3 /var/www/html/dtib/vendor/magento/framework/App/Action/Plugin/ActionFlagNoDispatchPlugin.php(51): Magento\Cms\Controller\Noroute\Index\Interceptor->Magento\Framework\Interception\{closure}() #4 /var/www/html/dtib/vendor/magento/framework/Interception/Interceptor.php(135): Magento\Framework\App\Action\Plugin\ActionFlagNoDispatchPlugin->aroundExecute() #5 /var/www/html/dtib/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Cms\Controller\Noroute\Index\Interceptor->Magento\Framework\Interception\{closure}() #6 /var/www/html/dtib/generated/code/Magento/Cms/Controller/Noroute/Index/Interceptor.php(23): Magento\Cms\Controller\Noroute\Index\Interceptor->___callPlugins() #7 /var/www/html/dtib/vendor/magento/framework/App/Action/Action.php(111): Magento\Cms\Controller\Noroute\Index\Interceptor->execute() #8 /var/www/html/dtib/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\App\Action\Action->dispatch() #9 /var/www/html/dtib/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Cms\Controller\Noroute\Index\Interceptor->___callParent() #10 /var/www/html/dtib/app/code/Magedelight/Customerprice/Plugin/App/Action/Context.php(53): Magento\Cms\Controller\Noroute\Index\Interceptor->Magento\Framework\Interception\{closure}() #11 /var/www/html/dtib/vendor/magento/framework/Interception/Interceptor.php(135): Magedelight\Customerprice\Plugin\App\Action\Context->aroundDispatch() #12 /var/www/html/dtib/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Cms\Controller\Noroute\Index\Interceptor->Magento\Framework\Interception\{closure}() #13 /var/www/html/dtib/generated/code/Magento/Cms/Controller/Noroute/Index/Interceptor.php(32): Magento\Cms\Controller\Noroute\Index\Interceptor->___callPlugins() #14 /var/www/html/dtib/vendor/magento/framework/App/FrontController.php(186): Magento\Cms\Controller\Noroute\Index\Interceptor->dispatch() #15 /var/www/html/dtib/vendor/magento/framework/App/FrontController.php(118): Magento\Framework\App\FrontController->processRequest() #16 /var/www/html/dtib/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\App\FrontController->dispatch() #17 /var/www/html/dtib/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\App\FrontController\Interceptor->___callParent() #18 /var/www/html/dtib/vendor/magento/module-store/App/FrontController/Plugin/RequestPreprocessor.php(99): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}() #19 /var/www/html/dtib/vendor/magento/framework/Interception/Interceptor.php(135): Magento\Store\App\FrontController\Plugin\RequestPreprocessor->aroundDispatch() #20 /var/www/html/dtib/vendor/magento/module-page-cache/Model/App/FrontController/BuiltinPlugin.php(71): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}() #21 /var/www/html/dtib/vendor/magento/framework/Interception/Interceptor.php(135): Magento\PageCache\Model\App\FrontController\BuiltinPlugin->aroundDispatch() #22 /var/www/html/dtib/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}() #23 /var/www/html/dtib/generated/code/Magento/Framework/App/FrontController/Interceptor.php(23): Magento\Framework\App\FrontController\Interceptor->___callPlugins() #24 /var/www/html/dtib/vendor/magento/framework/App/Http.php(116): Magento\Framework\App\FrontController\Interceptor->dispatch() #25 /var/www/html/dtib/vendor/magento/framework/App/Bootstrap.php(263): Magento\Framework\App\Http->launch() #26 /var/www/html/dtib/pub/index.php(29): Magento\Framework\App\Bootstrap->run() #27 {main}