Details
Description
Preconditions:
- Clean installation of Commerce on 2.5.0-dev using PHP 7.4
- Tested on pull request: https://github.com/ezsystems/ezcommerce-shop/pull/374
Steps to reproduce:
Scenario1:
- Go to product page on FT site.
- Add product to basket.
- Move your cursor at the basket widget and then click on "Go to basket" button.
- Verify if basket page is loaded.
Scenario2:
- Go to product page on FT site.
- Add product to basket.
- Move your cursor at the basket widget and then click on "Go to checkout" button.
- Fill in all required fields and proceed through checkout steps.
- Verify if confirmation order page is loaded.
Actual result:
See attached screenshots.
Cannot load basket and confirmation order pages because an error 500 occurred
Basket page:
Exception occurred! Exception message:"An exception has been thrown during the rendering of a template ("Notice: Trying to access array offset on value of type null")."Occured in file /Users/bogdanmazur/ec25/ezcommerce/vendor/ezsystems/ezcommerce-shop/src/Silversolutions/Bundle/EshopBundle/Resources/views/Basket/show.html.twig line 6 Code 0
Confirmation order page:
Exception occurred! Exception message:"An exception has been thrown during the rendering of a template ("Notice: Trying to access array offset on value of type null")."Occured in file /Users/bogdanmazur/ec25/ezcommerce/vendor/ezsystems/ezcommerce-shop/src/Silversolutions/Bundle/EshopBundle/Resources/views/Checkout/order_confirmation.html.twig line 11 Code 0
Expected result:
Basket and order confirmation pages are loaded properly.
Designs
Attachments
Issue Links
- discovered while testing
-
IBX-1452 Cannot load frontend site of commerce while using PHP 7.4 version
- Closed