Fatal error: Call to a member function getAttributeText() on string
in/opt/lampp/htdocs/magento2_new/Sourcecode/app/design/frontend/Emthemes/em0150jewelry/jewelry/Magento_Catalog/templates/product/list.phtml
on line 539.
This error occured by using a function
$optionText=$_product->getId()->getAttributeText('Farben');
How can I resolve this in magento 2?
Best Answer
Maybe you mean check once