0

Not able to view the product in the admin panel. getting below error in console.

Unable to process binding "if: function(){return label }"
Message: label is not defined

I am not finding any fix for this.

1 Answer 1

1

If it's not your custom extension that it's causing that, I recommend testing disabling all third-party modules running this command below if it disappears you can enable each module until discovering which one is causing it.

alias mage="php -d memory_limit=-1 -f bin/magento"
mage module:status | grep -v Magento | grep -v List | grep -v None | grep -v -e '^$'| xargs php bin/magento module:disable
rm -rf  vendor/magento var/composer_home/cache
composer update -vvvv
mage setup:upgrade
mage cache:flush
mage indexer:reindex
mage deploy:mode:set developer
setup:static-content:deploy -f

If you are creating a custom module you need to add a ko.observable(), like in the example below.

self.label = ko.observable(null);
3
  • Where i need to add this code? Commented Aug 29, 2018 at 14:48
  • @jafarpinjar I changed my answer Commented Aug 31, 2018 at 12:46
  • okay let me try this Commented Aug 31, 2018 at 12:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.