0

I upgraded Magento from 2.2.1 to 2.3.2, after that when i add any product to cart, on cart page i got these console errors: enter image description here

and when i proceed to Checkout i get more error like these, also i can't see any option or fields like in below image:

Checkout Page enter image description here Console Errors enter image description here

UPDATED IMAGE enter image description here

2

From what i can see, your content hasnt been deployed properly. The solution for this is to redeploy. please follow the below steps to do this

rm -rf var/view_processed/ pub/static/ generation/
bin/magento setup:di:compile 
bin/magneto setup:static-content:deploy (if you have additional languages e.g. en_US en_GB de_DE) -f
bin/magento c:f

this should redeploy the static content and fix the issue if not i have seen a number of issues with the deployment process recently so you could try switching between production and development. you can do this by running

bin/magento deploy:mode:set developer
bin/magento deploy:mode:set production 

then run the commands above to redeploy content

  • I don't know what's actual issue, i disables all my custom modules, and the error gone also i saw that my deploy:mode is on default so i change it to production, now i'm getting 2 errors of Failed to Load Component and 404, should i update my question or raise another question. @DavaGordon – Partab Saifuddin Zakir Aug 22 at 10:28
  • Switch to developer then switch to production once you have done that run setup:di:compile and setup:static-content:deploy – Dava Gordon Aug 22 at 10:47
  • did as u said but getting the same error, i updated my question with an image please see above..... @DavaGordon – Partab Saifuddin Zakir Aug 22 at 11:05
0

BTW, in the last image of my question i got another error i just wanna share how i solved it, so the error was about 404 of jquery.hashchange.js, but i found that in Magento 2.3.2 there is no need for jquery.hashchange.js, in my project i have some Custome Module and overridden files which was messing with jquery, This Commited Changes helped me, Remove usage of $.browser as it's unused and deprecated in jQuery. Fixes

Thank You.

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.