0
Welcome Guest! Login
0 items Join Now

SOLVED WSOD when updating Gantry

    • Bridget's Avatar
    • Bridget
    • Rocketeer
    • Posts: 98
    • Thanks: 4

    SOLVED WSOD when updating Gantry

    Posted 9 years 6 months ago
    • I just updated to the latest Gantry and I get this error:

      Fatal error: Declaration of Gantry\Component\Theme\ThemeTrait::updateCss(array $configurations = NULL) must be compatible with Gantry\Component\Theme\ThemeInterface::updateCss() in /var/www/vhosts/t12sites.com/ua.t12sites.com/libraries/gantry5/classes/Gantry/Framework/Base/Theme.php on line 47

      Any ideas? Credentials attached.
    • Last Edit: 9 years 6 months ago by Bridget.
    • Bridget's Avatar
    • Bridget
    • Rocketeer
    • Posts: 98
    • Thanks: 4

    Re: SOLVED WSOD when updating Gantry

    Posted 9 years 6 months ago
    • Fixed the issue. It's in the gantry files. Should be fixed on next update but in case someone needs it now!

      1. libraries/gantry5/classes/Gantry/Component/Theme/ThemeTrait.php

      Change #82
      public function updateCss(array $configurations = null)

      2. libraries/gantry5/classes/Gantry/Component/Theme/ThemeInterface.php

      #38
      Change
      public function updateCss();
      TO
      public function updateCss(array $configurations = null);
    • Last Edit: 9 years 6 months ago by Bridget.

Time to create page: 0.058 seconds