cancel
Showing results for 
Search instead for 
Did you mean: 

Magento Setup error

SOLVED

C:\xampp\htdocs\magento\vendor\magento\framework\App\ErrorHandler.php:61 Stack trace: #0 C:\xampp\ht

C:\xampp\htdocs\magento\vendor\magento\framework\App\ErrorHandler.php:61 Stack trace: #0 C:\xampp\htdocs\magento\vendor\composer\ClassLoader.php(444):

 

Pleases any one send solution to its

 

Re: Magento Setup error

XAMPP Version: 7.2.34
15:38:04 [main] Control Panel Version: 3.2.4

 

mangento -2.3.0

  Not Found

The requested URL was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


Apache/2.4.46 (Win64) OpenSSL/1.1.1g PHP/7.2.34 Server at localhost Port 80 

Re: Magento Setup error

Perfect solution. Solved my 8 Hours problems. Thanks God.

Re: Magento Setup error

The error you're encountering is due to a compatibility issue between the version of PHP used in XAMPP and Magento 2.3.0. Specifically, the error is related to the use of the "continue" statement in PHP 7.3, which requires the use of "continue 2" inside switch statements.

To resolve this issue, you can try one of the following solutions:

Solution 1: Downgrade PHP Version

Magento 2.3.0 is not fully compatible with PHP 7.3. You can downgrade your PHP version to 7.2 in XAMPP to avoid this error.

  1. Download XAMPP with PHP 7.2 from the official XAMPP website.
  2. Install the version that supports PHP 7.2.
  3. Move your htdocs and mysql data from the current installation to the new one.
  4. Restart XAMPP and try accessing Magento again.

Solution 2: Update Magento

You can update Magento to a newer version that is compatible with PHP 7.3.

  1. Go to your Magento project folder.

  2. Run the following commands to update Magento:

    bash
    Copy code
    composer require magento/product-community-edition 2.3.5 --no-update composer update bin/magento setup:upgrade bin/magento cache:clean
  3. Check if the issue is resolved.

Solution 3: Modify the Code

If you prefer not to downgrade or update, you can modify the code where the error occurs. Open the file located at:

C:\xampp\htdocs\magento\vendor\zendframework\zend-stdlib\src\ArrayObject.php

Look for the "continue" statement inside a switch block and change it to continue 2. This will prevent the error in PHP 7.3.


If you have any doubts you can visit top rated adobe commerce agency.