cancel
Showing results for 
Search instead for 
Did you mean: 

Magento 2.3.6 stuck in loading and doesn't load any page

Magento 2.3.6 stuck in loading and doesn't load any page

I have a Magento 2.3.6 app which was working fine and suddenly It stop responding. It keeps loading for like 5 minutes and then errors out with 504-Bad Gateway Timeout. I have already tried the following solutions without any luck:

  • Increase PHP max execution time and memory limit
  • Change server
  • Even changed my machine
  • Delete and reinstall composer dependencies
  • run Setup: install and Setup: upgrade commands

I have also turned on Developer mode and put these lines at the start of `index.php` to enable error in browser but not getting any error either

error_reporting(E_ALL);
ini_set('display_errors', 1)

 

Any clue How I can solve this? Thanks in advance.

4 REPLIES 4

Re: Magento 2.3.6 stuck in loading and doesn't load any page

I have the exact same issue with Magento 2.3.6-p1 using PHP 7.3.

 

Pages simply don't load, there does not seem to be any error message anywhere.

Re: Magento 2.3.6 stuck in loading and doesn't load any page

Hi @jawadrashef2af,

 

The error that you're facing might be due to: 

(1) Hosting Error 

You should contact your hosting provider to check if there's any problem. 

 

(2) Your site is running a command or requirement that takes too much time. You can check it by turning on the dev mode: 

php bin/magento deploy:mode:set developer

 

Hope this can help you! Let me know if you need further assistance. 

__________

If issue solved, Click Kudos & Accept as Solution.

LitExtension - #1 Shopping Cart Migration Expert

LitExtension helps store owners and agencies migrate all important data from one eCommerce platform to another accurately, securely and at the highest speed.

Visit website: http://litextension.com/

Re: Magento 2.3.6 stuck in loading and doesn't load any page

I have the same problems, and we have a great server!

Re: Magento 2.3.6 stuck in loading and doesn't load any page

Hello,

1. Try to run the following commands from the command line.

php bin/magento cache:clean
php bin/magento cache:flush
php bin/magento indexer:reindex
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy -f
sudo chmod -R 777 var/ generated/ pub/


after that try to compile one's

php bin/magento setup:di:compile


2. Now check if system show properly or still it show any error.

3. Still it show error then check following things.
    A. Check Consol is there any error?
    B. Check Magento Log files, is there any error?

4. Based on those error need to move into this one.

Was my answer helpful? You can Click Kudos/Accept As Solution.
200+ professional extensions for M1 & M2 with free lifetime updates!