0
Welcome Guest! Login
0 items Join Now

Upgraded Intranet to Gantry 5.2.4, Twig Error now thrown

    • djaver's Avatar
    • djaver
    • Newbie
    • Posts: 12
    • Thanks: 0

    Upgraded Intranet to Gantry 5.2.4, Twig Error now thrown

    Posted 9 years 4 months ago
    • Hi,

      We just upgraded our Gantry 5 Intranet site to the most recent Gantry framework, 5.2.4, (Callisto theme), and the upgrade has now resulted in a Twig "Crikey" error on the front end, and randomly being thrown on pages when accessing the backend template. The last time we had upgraded Gantry was Oct 13, so we may have missed a couple updates in between.

      We have cleared Admin Gantry 5 cache under Extras, browser cache, Joomla Cache. We had no issues with the previous version of Gantry 5 that we had installed prior to this upgrade.

      We are on joomla 3.4.5

      The Error:
      Twig_Error_Runtime
      
      An exception has been thrown during the rendering of a template ("Argument 3 passed to Gantry\Component\Config\CompiledConfig::__construct() must be callable, string given, called in F:\...\...\libraries\gantry5\classes\Gantry\Framework\Services\ConfigServiceProvider.php on line 84 and defined") in "@nucleus/layout/section.html.twig" at line 7.
      Open: F:\...\...\libraries\gantry5\vendor\twig\twig\lib\Twig\Template.php
                  if (false === $e->getTemplateLine()) {
                      $e->setTemplateLine(-1);
                      $e->guess();
                  }
       
                  throw $e;
              } catch (Exception $e) {
                  throw new Twig_Error_Runtime(sprintf('An exception has been thrown during the rendering of a template ("%s").', $e->getMessage()), -1, $this->getTemplateName(), $e);
              }
          }
      

      Thank you.
    • Last Edit: 9 years 4 months ago by djaver.
    • djaver's Avatar
    • djaver
    • Newbie
    • Posts: 12
    • Thanks: 0

    Re: Upgraded our Intranet to Gantry 5.2.4, site now is broke with error

    Posted 9 years 4 months ago
    • I tried changing the template to beez, and that produces a Particle error on the home page: see screenshot

      Also, hopefully I am posting this in the right place. I didnt see the option to open a ticket, or if I should have posted this in the members section for Callisto theme. thanks
    • Last Edit: 9 years 4 months ago by djaver.
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13484
    • Web Designer/Developer

    Re: Upgraded our Intranet to Gantry 5.2.4, site now is broke with error

    Posted 9 years 1 month ago
    • Please note that by answering your own post you take yourself out of the MODS "unanswered posts" queue and therefore might have to wait longer for a response - it's better to edit your original post so this does not happen.

      I am sorry that we missed your post on this occasion. It is rare but it does happen. Do you still require assistance?

      Regards, Mark.
    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.

Time to create page: 0.200 seconds