0
Welcome Guest! Login
0 items Join Now

Gantry 4 - Joomla 3.5 - PHP 7

    • Kat05's Avatar
    • Kat05
    • Preeminent Rocketeer
    • Posts: 25898
    • Thanks: 334

    Gantry 4 - Joomla 3.5 - PHP 7

    Posted 8 years 1 month ago
    • Hi all,

      with Joomla 3.5.0 being released today, Joomla itself is now also compatible with PHP 7.

      You will have to update Gantry 4 to 4.1.30 to be fully compatible with that version of PHP as well as several of our extensions, please take a look at the Product Updates page, PHP 7 fixes are mentioned there.

      Depending on which Gantry 4 template you are using, you may also get a warning displayed, which is:
      Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Color has a deprecated constructor in /Applications/MAMP/htdocs/jo_extensions_demo/templates/rt_extensions/features/color.php on line 11
      (Please note that the line number may vary depending on your template)

      To remove this warning, you can edit the following file

      ../templates/rt_TEMPLATENAME/features/color.php.

      Please find the following line:
      function Color($hex){
      and change that to:
      function __construct($hex){

      We'll be releasing these template updates over time and make sure to get Joomla 3.5 RocketLaunchers ready as well, but in the meantime, you can apply the above change manually.

      Thanks :)

      PS: Using Gantry 5? Please find some info here .
    • Last Edit: 8 years 1 month ago by Kat05.
    • The following users have thanked you: Matt D., Rob West

    • Kat05 / QA Lead & Support / Germany

Time to create page: 0.060 seconds