I'm using luma theme. Nothing haven't been changed I only installed latest version from Magento connect. Added test category and product. This problem is only on product detail page. Other pages works fine
On Product Page i have js error:
knockout.js:3012 Uncaught TypeError: Unable to process binding "attr:
function (){return {'data-config-scope':$data.scopeLabel} }"Message: Cannot read property
scopeLabel
of undefined
I tried php bin/magento setup:static-content:deploy
and clear cache etc but nothing changed.
Is it bug magento?
How can i fix it?
Best Answer
When making a copy the content (ex: Product labels) in Admin. There are some Java script code lines (Knockout Js) which are added to product description (WYSIWYG html editor) with content. So, this issue occurs.
We need to clean the product description.
It may not be a Magento bug. Seem that it's the default WYSIWYG html editor behaviour.