0

I am getting this error TypeError: sections is undefined in section-config.js:50:30 in firefox but not in chrome. I added

<referenceContainer name="content">
    <block name="customer.section.config" class="Magento\Customer\Block\SectionConfig"
           template="Magento_Customer::js/section-config.phtml"/>
    <block name="customer.customer.data"
           class="Magento\Customer\Block\CustomerData"
           template="Magento_Customer::js/customer-data.phtml"/>
</referenceContainer>

But still, I am getting that error. Please help me how to solve that.

0

1 Answer 1

0

It might be a browser cache issue. Please try to remove your browser cache and see. Still, you are facing the same error then you have debugged in customer-data.js and see which section is throwing an error.

Hope this will help you.

Your Answer

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

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