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:
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:
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.
Sign up to join this communityFrom 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/magento setup:static-content:deploy (if you have additional languages e.g. en_US en_GB de_DE) -f
bin/magento cache:flush
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
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
Aug 22, 2019 at 10:28
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.