1. Important notice about Cloudbleed - if your site uses the Cloudflare CDN, and you intend to follow the Joomla security team's advice to change your site "secret", you MUST READ THIS NOTICE.

Parse error: sintax error fabrik/vendor/guzzlehttp/psr7/src/functions.php on line 78

Discussion in 'Community' started by Barcellos, Mar 20, 2017.

  1. Barcellos

    Barcellos Ana Barcellos

    Level: Community
    I updated Fabrik from github today and got the following error:

    Parse error: syntax error, unexpected '[' in ../fabrik/vendor/guzzlehttp/psr7/src/functions.php on line 78

    I had to copy an older fabrik-master library folder to fix the site.
    Just reporting in case it happens to others.


    PHP 5.3.17
    Joomla 3.6.5
    Fabrik 3.5.2
     
  2. troester

    troester Well-Known Member Staff Member

    Level: Standard
    I assume it's PHP5.3 ... (which is pretty outdated).
     
  3. cheesegrits

    cheesegrits Support Gopher Staff Member

    Level: Supporter
    Yup, I guess our minimum is now 5.4.

    I held off going [] for arrays as long as I could, but some of the Composer libs we're using as of the next release (and hence the current github) now assume this syntax.

    Just FYI, PHP 5.3 was end-of-lifed two and a half years ago.

    -- hugh
     

Share This Page