pedroborges / kirby-autogit

⬢ Saves every change made via Kirby Panel to a Git repository
149 stars 23 forks source link

Kirby site wont load anymore - site/plugins/autogit/lib/autogit.php on line 37 #9

Closed Sulcalibur closed 7 years ago

Sulcalibur commented 8 years ago

After adding the plugin I can't get the site to load up and just get an error message on my localhost url:

Parse error: parse error, expecting'&'' or "variable (T_VARIABLE)"' in /Users/Suleiman/Sites/sul2016kirby/site/plugins/autogit/lib/autogit.php on line 37

pedroborges commented 8 years ago

You're probably trying to run Auto Git on a PHP version lower than 5.6, which is required by Auto Git. Can you upgrade?

josketres commented 7 years ago

Can we change the syntax of the source, so that it is also compatible with older PHP versions?

pedroborges commented 7 years ago

PHP 5.6 is only receiving security updates this year and PHP 7 > is the encouraged version to use.

Besides that the plugin makes use of features only available in PHP 5.6 >.

However you can make changes to the plugin for your own use.