[horde] syntax error, unexpected 'new' (T_NEW) - but might be a PHP7 incompatibilty issue
Volker Then
horde40 at volkerthen.com
Tue Mar 28 16:34:29 UTC 2017
Hi,
calling admin/config/config.php?app=horde gives an error:
A fatal error has occurred
syntax error, unexpected 'new' (T_NEW)
ParseError Object
(
[message:protected] => syntax error, unexpected 'new' (T_NEW)
[string:Error:private] => ParseError: syntax error, unexpected
'new' (T_NEW) in /usr/share/php/Services/Weather.php:167
Similiar error when opening the test page test.php:
A fatal error has occurred
syntax error, unexpected 'new' (T_NEW)
in /usr/share/php/File/Fstab.php:110
1. Horde_Test->pearModuleCheck() /var/www/h4/test.php:135
2. class_exists() /var/www/h4/lib/Test.php:619
3. spl_autoload_call()
4. Horde_Autoloader->loadClass()
5. Horde_Autoloader->_include() /usr/share/php/Horde/Autoloader.php:65
ParseError Object
(
[message:protected] => syntax error, unexpected 'new' (T_NEW)
[string:Error:private] => ParseError: syntax error, unexpected
'new' (T_NEW) in /usr/share/php/File/Fstab.php:110
Is this related to PHP7? Any workaround possible?
Thanks,
Volker
More information about the horde
mailing list