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

Barcellos

Ana Barcellos
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
 
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
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top