Uploaded image for project: 'Ibexa IBX'
  1. Ibexa IBX
  2. IBX-1523

Cannot load product page because an exception occurred during rendering of a template

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: High High
    • 2.5.15
    • 2.5.x-dev
    • Commerce
    • eZ Commerce

    Description

      Preconditions:

      • Clean installation of Commerce on branch 2.5 using PHP 7.4

      Steps to reproduce:

      1. Log in to backoffice.
      2. Add new "Product" to "Product catalog" content.
      3. Go to product page on frontend site.

      Actual result:

      See attached screenshot.

      Cannot load product page because an exception occurred during rendering of a template.

      An exception has been thrown during the rendering of a template ("Notice: Trying to access array offset on value of type null").

      "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/Catalog/product.html.twig line 15
      Code 0

      Expected result:

      Product page is loaded properly.

       

      Designs

        Attachments

          Activity

            People

              Unassigned Unassigned
              bogdan.mazur@ibexa.co Bogdan Mazur
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: