On my magento 2.3 website when i go to checkout page, it take too much time to load. It goes to infinite loading and does not display anything. see https://prnt.sc/ph91kn Please help how to solve this issue. I am loosing customers because of this.
-
Check any module 3rd party module you installed which makes checkout page loading– Arshad SyedOct 10, 2019 at 5:30
-
check logs - debug log and or exception log– fmsthirdOct 10, 2019 at 5:34
-
@ArshadSyed how can i solve with the third party module. I need all the modules.– NafsssOct 10, 2019 at 6:33
-
what error it is giving in logs and if you don't find it, Just check the modules related to checkout.– Arshad SyedOct 11, 2019 at 5:47
1 Answer
First, you need to remove generated/code/* and var/cache/*
rm -rf generated/code/* var/cache/*
Second, Clean the cache
php bin/magento cache:clean
Third, Change the file permission
sudo chmod 777 -R generated/ var/ pub/
Fourth, run Generated Compile the code
php bin/magento setup:di:compile