ArrayException: Warning: Cannot modify header information - headers already sent by (output started at /home/chirag1demo/wpro.demoproject.info/wpro/vendor/amasty/module-shop-by-brand/Controller/Index/Index.php:134) in /home/chirag1demo/wpro.demoproject.info/wpro/vendor/magento/framework/Stdlib/Cookie/PhpCookieManager.php on line 145 in /home/chirag1demo/wpro.demoproject.info/wpro/vendor/magento/framework/App/ErrorHandler.php:62 Stack trace: #0 [internal function]: Magento\Framework\App\ErrorHandler->handler(2, 'Cannot modify h...', '/home/chirag1de...', 145) #1 /home/chirag1demo/wpro.demoproject.info/wpro/vendor/magento/framework/Stdlib/Cookie/PhpCookieManager.php(145): setcookie('_sbp', '', Array) #2 /home/chirag1demo/wpro.demoproject.info/wpro/vendor/magento/framework/Stdlib/Cookie/PhpCookieManager.php(312): Magento\Framework\Stdlib\Cookie\PhpCookieManager->setCookie('_sbp', '', Array) #3 /home/chirag1demo/wpro.demoproject.info/wpro/vendor/stape/gtm-server-side-magento-module/Plugin/HttpPlugin.php(173): Magento\Framework\Stdlib\Cookie\PhpCookieManager->deleteCookie('_sbp', Object(Magento\Framework\Stdlib\Cookie\PublicCookieMetadata)) #4 /home/chirag1demo/wpro.demoproject.info/wpro/vendor/magento/framework/Interception/Interceptor.php(121): Stape\Gtm\Plugin\HttpPlugin->beforeSendResponse(Object(Magento\Framework\App\Response\Http\Interceptor)) #5 /home/chirag1demo/wpro.demoproject.info/wpro/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\Response\Http\Interceptor->Magento\Framework\Interception\{closure}() #6 /home/chirag1demo/wpro.demoproject.info/wpro/generated/code/Magento/Framework/App/Response/Http/Interceptor.php(86): Magento\Framework\App\Response\Http\Interceptor->___callPlugins('sendResponse', Array, Array) #7 /home/chirag1demo/wpro.demoproject.info/wpro/vendor/magento/framework/App/ExceptionHandler.php(103): Magento\Framework\App\Response\Http\Interceptor->sendResponse() #8 /home/chirag1demo/wpro.demoproject.info/wpro/vendor/magento/framework/App/ExceptionHandler.php(70): Magento\Framework\App\ExceptionHandler->handleDeveloperMode(Object(Magento\Framework\App\Bootstrap), Object(Exception), Object(Magento\Framework\App\Response\Http\Interceptor)) #9 /home/chirag1demo/wpro.demoproject.info/wpro/vendor/magento/framework/App/Http.php(156): Magento\Framework\App\ExceptionHandler->handle(Object(Magento\Framework\App\Bootstrap), Object(Exception), Object(Magento\Framework\App\Response\Http\Interceptor), Object(Magento\Framework\App\Request\Http)) #10 /home/chirag1demo/wpro.demoproject.info/wpro/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\App\Http->catchException(Object(Magento\Framework\App\Bootstrap), Object(Exception)) #11 /home/chirag1demo/wpro.demoproject.info/wpro/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\App\Http\Interceptor->___callParent('catchException', Array) #12 /home/chirag1demo/wpro.demoproject.info/wpro/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\Http\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Bootstrap), Object(Exception)) #13 /home/chirag1demo/wpro.demoproject.info/wpro/generated/code/Magento/Framework/App/Http/Interceptor.php(32): Magento\Framework\App\Http\Interceptor->___callPlugins('catchException', Array, Array) #14 /home/chirag1demo/wpro.demoproject.info/wpro/vendor/magento/framework/App/Bootstrap.php(270): Magento\Framework\App\Http\Interceptor->catchException(Object(Magento\Framework\App\Bootstrap), Object(Exception)) #15 /home/chirag1demo/wpro.demoproject.info/wpro/pub/index.php(30): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http\Interceptor)) #16 {main}