TypeError: str_replace(): Argument #2 ($replace) must be of type array|string, Magento\Framework\Phrase given in /var/www/html/app/code/Amasty/CustomTabs/Block/Product/View/ProductTab.php:340 Stack trace: #0 /var/www/html/app/code/Amasty/CustomTabs/Block/Product/View/ProductTab.php(340): str_replace() #1 /var/www/html/app/code/Amasty/CustomTabs/Block/Product/View/ProductTab.php(102): Amasty\CustomTabs\Block\Product\View\ProductTab->parseVariables() #2 /var/www/html/vendor/magento/framework/View/Layout.php(578): Amasty\CustomTabs\Block\Product\View\ProductTab->toHtml() #3 /var/www/html/vendor/magento/framework/View/Layout.php(555): Magento\Framework\View\Layout->_renderBlock() #4 /var/www/html/vendor/magento/framework/View/Layout.php(510): Magento\Framework\View\Layout->renderNonCachedElement() #5 /var/www/html/app/design/frontend/Webury/shootingsocks/Magento_Catalog/templates/product/view/details.phtml(29): Magento\Framework\View\Layout->renderElement() #6 /var/www/html/vendor/magento/framework/View/TemplateEngine/Php.php(71): include('...') #7 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\View\TemplateEngine\Php->render() #8 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\View\TemplateEngine\Php\Interceptor->___callParent() #9 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\View\TemplateEngine\Php\Interceptor->Magento\Framework\Interception\{closure}() #10 /var/www/html/generated/code/Magento/Framework/View/TemplateEngine/Php/Interceptor.php(23): Magento\Framework\View\TemplateEngine\Php\Interceptor->___callPlugins() #11 /var/www/html/vendor/magento/framework/View/Element/Template.php(263): Magento\Framework\View\TemplateEngine\Php\Interceptor->render() #12 /var/www/html/vendor/magento/framework/View/Element/Template.php(293): Magento\Framework\View\Element\Template->fetchView() #13 /var/www/html/vendor/magento/framework/View/Element/AbstractBlock.php(1095): Magento\Framework\View\Element\Template->_toHtml() #14 /var/www/html/vendor/magento/framework/View/Element/AbstractBlock.php(1099): Magento\Framework\View\Element\AbstractBlock->Magento\Framework\View\Element\{closure}() #15 /var/www/html/vendor/magento/framework/View/Element/AbstractBlock.php(660): Magento\Framework\View\Element\AbstractBlock->_loadCache() #16 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\View\Element\AbstractBlock->toHtml() #17 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Catalog\Block\Product\View\Details\Interceptor->___callParent() #18 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Catalog\Block\Product\View\Details\Interceptor->Magento\Framework\Interception\{closure}() #19 /var/www/html/generated/code/Magento/Catalog/Block/Product/View/Details/Interceptor.php(41): Magento\Catalog\Block\Product\View\Details\Interceptor->___callPlugins() #20 /var/www/html/vendor/magento/framework/View/Layout.php(578): Magento\Catalog\Block\Product\View\Details\Interceptor->toHtml() #21 /var/www/html/vendor/magento/framework/View/Layout.php(555): Magento\Framework\View\Layout->_renderBlock() #22 /var/www/html/vendor/magento/framework/View/Layout.php(510): Magento\Framework\View\Layout->renderNonCachedElement() #23 /var/www/html/vendor/magento/framework/View/Layout.php(606): Magento\Framework\View\Layout->renderElement() #24 /var/www/html/vendor/magento/framework/View/Layout.php(557): Magento\Framework\View\Layout->_renderContainer() #25 /var/www/html/vendor/magento/framework/View/Layout.php(510): Magento\Framework\View\Layout->renderNonCachedElement() #26 /var/www/html/vendor/magento/framework/View/Layout.php(606): Magento\Framework\View\Layout->renderElement() #27 /var/www/html/vendor/magento/framework/View/Layout.php(557): Magento\Framework\View\Layout->_renderContainer() #28 /var/www/html/vendor/magento/framework/View/Layout.php(510): Magento\Framework\View\Layout->renderNonCachedElement() #29 /var/www/html/vendor/magento/framework/View/Layout.php(606): Magento\Framework\View\Layout->renderElement() #30 /var/www/html/vendor/magento/framework/View/Layout.php(557): Magento\Framework\View\Layout->_renderContainer() #31 /var/www/html/vendor/magento/framework/View/Layout.php(510): Magento\Framework\View\Layout->renderNonCachedElement() #32 /var/www/html/vendor/magento/framework/View/Layout.php(606): Magento\Framework\View\Layout->renderElement() #33 /var/www/html/vendor/magento/framework/View/Layout.php(557): Magento\Framework\View\Layout->_renderContainer() #34 /var/www/html/vendor/magento/framework/View/Layout.php(510): Magento\Framework\View\Layout->renderNonCachedElement() #35 /var/www/html/vendor/magento/framework/View/Layout.php(606): Magento\Framework\View\Layout->renderElement() #36 /var/www/html/vendor/magento/framework/View/Layout.php(557): Magento\Framework\View\Layout->_renderContainer() #37 /var/www/html/vendor/magento/framework/View/Layout.php(510): Magento\Framework\View\Layout->renderNonCachedElement() #38 /var/www/html/vendor/magento/framework/View/Layout.php(606): Magento\Framework\View\Layout->renderElement() #39 /var/www/html/vendor/magento/framework/View/Layout.php(557): Magento\Framework\View\Layout->_renderContainer() #40 /var/www/html/vendor/magento/framework/View/Layout.php(510): Magento\Framework\View\Layout->renderNonCachedElement() #41 /var/www/html/vendor/magento/framework/View/Layout.php(975): Magento\Framework\View\Layout->renderElement() #42 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\View\Layout->getOutput() #43 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\View\Layout\Interceptor->___callParent() #44 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\View\Layout\Interceptor->Magento\Framework\Interception\{closure}() #45 /var/www/html/generated/code/Magento/Framework/View/Layout/Interceptor.php(41): Magento\Framework\View\Layout\Interceptor->___callPlugins() #46 /var/www/html/vendor/magento/framework/View/Result/Page.php(260): Magento\Framework\View\Layout\Interceptor->getOutput() #47 /var/www/html/vendor/magento/framework/View/Result/Layout.php(171): Magento\Framework\View\Result\Page->render() #48 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\View\Result\Layout->renderResult() #49 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\View\Result\Page\Interceptor->___callParent() #50 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\View\Result\Page\Interceptor->Magento\Framework\Interception\{closure}() #51 /var/www/html/generated/code/Magento/Framework/View/Result/Page/Interceptor.php(32): Magento\Framework\View\Result\Page\Interceptor->___callPlugins() #52 /var/www/html/vendor/magento/framework/App/Http.php(120): Magento\Framework\View\Result\Page\Interceptor->renderResult() #53 /var/www/html/vendor/magento/framework/App/Bootstrap.php(264): Magento\Framework\App\Http->launch() #54 /var/www/html/pub/index.php(30): Magento\Framework\App\Bootstrap->run() #55 {main}