Okay
  Public Ticket #2241373
Compare list page error
Closed

Comments

  • Roman started the conversation

    Magento 2.3.3

    Applied patch > patch_for_magento_2.3.1+


    Hello,

    the compare list page has an error.

    Description

    Fatal error: Uncaught TypeError: preg_match() expects parameter 2 to be string, object given in /www/htdocs/w00d3bf0/mag233/vendor/magento/module-catalog/Helper/Output.php:229 Stack trace: #0 /www/htdocs/w00d3bf0/mag233/vendor/magento/module-catalog/Helper/Output.php(229): preg_match('/{{([a-z]{0,10}...', Object(MagentoFrameworkPhrase)) #1 /www/htdocs/w00d3bf0/mag233/vendor/magento/module-catalog/Helper/Output.php(169): MagentoCatalogHelperOutput->isDirectivesExists(Object(MagentoFrameworkPhrase)) #2 /www/htdocs/w00d3bf0/mag233/app/design/frontend/Mgs/hebes/Magento_Catalog/templates/product/compare/list.phtml(126): MagentoCatalogHelperOutput->productAttribute(Object(MagentoCatalogModelProductInterceptor), Object(MagentoFrameworkPhrase), 'description') #3 /www/htdocs/w00d3bf0/mag233/vendor/magento/framework/View/TemplateEngine/Php.php(59): include('/www/htdocs/w00...') #4 /www/htdocs/w00d3bf0/mag233/vendor/magento/framework/View/Element/Template.php(271): MagentoFrameworkViewTemplateEnginePhp->render(Ob in /www/htdocs/w00d3bf0/mag233/vendor/magento/module-catalog/Helper/Output.php on line 229


    Please help. Thank You.