0

Magento2 - facing issue with below error in admin panel

error in console

category:1 Uncaught SyntaxError: Unexpected token C in JSON at position 473

at JSON.parse (<anonymous>)
at getData (main.js:58)
at Array.map (<anonymous>)
at Object.apply (main.js:74)
at HTMLDocument.bootstrap (bootstrap.js:106)
at fire (jquery.js:3232)
at Object.add [as done] (jquery.js:3291)
at jQuery.fn.init.jQuery.fn.ready (jquery.js:3542)
at jQuery.fn.init (jquery.js:2967)
at new jQuery.fn.init (jquery-migrate.js:225)
  • may be something issue for command line, try to put basic commands. – Anas Mansuri Sep 9 at 11:52
  • HI, @AnasMansuri can you please explain in brief. – Rohit Gohel Sep 9 at 11:56
  • are you facing only in category page or every pages ? – Anas Mansuri Sep 9 at 11:58
  • hi @AnasMansuri I facing the error the only URL rewrite page in category prnt.sc/p3ravt please check-in this shot – Rohit Gohel Sep 9 at 12:05
  • are you facing issue after data migration ? – Anas Mansuri Sep 9 at 12:09
0

Add in you current layout catalog_product_view.xml :

<referenceBlock name="product.review.form">
        <arguments>
            <argument name="jsLayout" xsi:type="array">
                <item name="components" xsi:type="array">
                    <item name="review-form" xsi:type="array">
                        <item name="component" xsi:type="string">Magento_Review/js/view/review</item>
                    </item>
                </item>
            </argument>
        </arguments>
 </referenceBlock>

Hope this helps you

  • Hi Pratik I try this but still issue – Rohit Gohel Sep 9 at 12:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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