0
Welcome Guest! Login
0 items Join Now

Layout error: Undefined property: stdClass::$outline

  • Layout error: Undefined property: stdClass::$outline

    Posted 7 years 2 months ago
    • Dear all

      I am unable to save modifications in some of my Gantry (Isotope theme) layouts. I get the following error:

      Whoops \ Exception \ ErrorException (E_NOTICE)
      Undefined property: stdClass::$outline

      Open: libraries/gantry5/classes/Gantry/Component/Layout/Layout.php
          public function inherit($outline = null)
          {
              $this->init();
       
              $list = [];
              foreach ($this->inherit as $name => $item) {
                  if (isset($item->inherit->particle)) {
                      $list[$item->inherit->outline][$name] = $item->inherit->particle;
                  } else {
                      $list[$item->inherit->outline][$name] = $name;
                  }
              }
       
              return $outline ? (!empty($list[$outline]) ? $list[$outline] : []) : $list;
          }
       
          /**
           * Return atoms from the layout.
           *
           * @return array|null

      So far, I have duplicated the layout, and I am able to save the copy, but it is really annoying to change all the inheritances every thime I get this error. Do you have any idea how this can be solved?

      Thank you in advance
      Antton
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13481
    • Web Designer/Developer

    Re: Layout error: Undefined property: stdClass::$outline

    Posted 7 years 2 months ago
    • I notice that your subscription for Isotope has expired. Support does require a valid subscription.

      What version of Gantry 5 are you using? What versions of the Isotope template are you using? Make sure both are on latest (backup before any updates).

      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.036 seconds