0
Welcome Guest! Login
0 items Join Now

An exception has been thrown during the rendering of a template

  • An exception has been thrown during the rendering of a template

    Posted 4 years 2 weeks ago
    • I have updated old site iotanet.gr and got this error:
      An exception has been thrown during the rendering of a template ("Trying to access array offset on value of type null").
      /var/www/html/media/gantry5/engines/nucleus/templates/page.html.twig73
      {%- set page_footer %}
          {% block page_footer %}
              {% do gantry.platform.finalize() -%} /// line 73
              {{ gantry.scripts('footer')|join("\n    ")|raw -}}
          {% endblock %}
      Please advise
  • Re: An exception has been thrown during the rendering of a template

    Posted 4 years 2 weeks ago
    • Please downgrade to PHP 7.3, we do not currently support PHP 7.4.
    • Kind regards,
      Reggie

      Learn to code for free.
      www.freecodecamp.org
  • Re: An exception has been thrown during the rendering of a template

    Posted 4 years 2 weeks ago
    • when it will support?
  • Re: An exception has been thrown during the rendering of a template

    Posted 4 years 2 weeks ago
  • Re: An exception has been thrown during the rendering of a template

    Posted 2 years 1 month ago
    • Best regards.
      On my server I have two websites that have supra Rt_koleti templates.
      I try to update the php from 7.3 to 7.4 and it works fine on the site with the supra template but on the site with the Rt_koleti template it does not work.
      the following error appears nex rror on line 73

      media/gantry5/engines/nucleus/templates/page.html.twig73

      {%- set page_footer %}
      {% block page_footer %}
      {% do gantry.platform.finalize() -%} /// line 73
      {{ gantry.scripts('footer')|join("\n ")|raw -}}
      {% endblock %}

Time to create page: 0.049 seconds