-
-
Notifications
You must be signed in to change notification settings - Fork 300
Description
Hello,
I tried to install HTMLy manually via zip file i.e :
https://github.com/danpros/htmly/archive/v2.7.7.zip
on PHP 5.3 and also on PHP 5.4.
However, I get the following error while starting manual installation on both the PHP versions i.e :
Fatal error: Can't use function return value in write context in /{{PATH}}/{{TO}}/{{HTMLY}}/themes/twentyfifteen/layout.html.php on line 54, i.e the following code is causing issue :
<?php if(!empty(config('social.twitter')) || !empty(config('social.facebook'))):?>
However, script works fine on PHP 5.5.
Seems that PHP 5.5 syntax is being used and prior to PHP 5.5 empty() supports only variables.
Has the script requirement changed?.
Documentation mentions that PHP 5.3 or higher required
https://docs.htmly.com/basics/requirements
Could you please replicate the issue and fix this?