[horde] More errors with PHP 7

Twilek twilek at gmx.de
Tue Apr 5 16:34:10 UTC 2016


> Should be fixed  
> with http://github.com/horde/horde/commit/a77c83657a1398cbb7ed89408118460d8499ecd4

I think it is, now the error is far more eloquent :-) (I did not post  
the following 40500 lines of code)
I do not have an active weather block and have set the weather  
provider to "None"...[1]

  Ein schwerer Fehler ist aufgetreten:[1]
   
  syntax error, unexpected 'new' (T_NEW)[1]
   
  1. IMP_Application->exceptionHandler()[1]
  2. Horde_ErrorHandler::fatal()  
/var/www/webmail/imp/lib/Application.php:620[1]
  Details[1]
   
  Die vollständige Fehlermeldung wurde in Hordes Logdatei geschrieben  
und für Administratoren weiter unten ausgegeben. Benutzer, die keine  
Administratoren sind, bekommen diese Details nicht zu sehen.[1]
   
  ParseError Object[1]
  ([1]
      [message:protected] => syntax error, unexpected 'new' (T_NEW)[1]
      [string:Error:private] => ParseError: syntax error, unexpected  
'new' (T_NEW) in /usr/share/php/Services/Weather.php:167[1]
  Stack trace:[1]
  #0 /usr/share/php/Horde/Autoloader.php(65):  
Horde_Autoloader->_include('/usr/share/php/...')[1]
  #1 /usr/share/php/Horde/Autoloader/Cache.php(126):  
Horde_Autoloader->loadClass('Services_Weathe...')[1]
  #2 [internal function]:  
Horde_Autoloader_Cache->loadClass('Services_Weathe...')[1]
  #3 [internal function]: spl_autoload_call('Services_Weathe...')[1]
  #4 /var/www/webmail/lib/Block/Metar.php(21):  
class_exists('Services_Weathe...')[1]
  #5 /usr/share/php/Horde/Core/Block/Collection.php(500):  
Horde_Block_Metar->__construct('horde')[1]
  #6 /usr/share/php/Horde/Core/Block/Collection.php(159):  
Horde_Core_Block_Collection->_loadBlocks()[1]
  #7 /var/www/webmail/lib/Application.php(122):  
Horde_Core_Block_Collection->getBlocksList()[1]
  #8 /usr/share/php/Horde/Registry.php(1196):  
Horde_Application->configSpecialValues('blocks')[1]
  #9 /usr/share/php/Horde/Config.php(1876):  
Horde_Registry->callAppMethod('horde', 'configSpecialVa...', Array)[1]
  #10 /usr/share/php/Horde/Config.php(1805):  
Horde_Config->_handleSpecials(Object(DOMElement))[1]
  #11 /usr/share/php/Horde/Config.php(602):  
Horde_Config->_getEnumValues(Object(DOMElement))[1]
  #12 /usr/share/php/Horde/Config.php(712):  
Horde_Config->_parseLevel(Array, Object(DOMNodeList), 'portal')[1]
  #13 /usr/share/php/Horde/Config.php(725):  
Horde_Config->_parseLevel(Array, Object(DOMNodeList), '')[1]
  #14 /usr/share/php/Horde/Config.php(204):  
Horde_Config->_parseLevel(Array, Object(DOMNodeList), '')[1]
  #15 /usr/share/php/Horde/Config/Form.php(67):  
Horde_Config->readXMLConfig()[1]
  #16 /var/www/webmail/admin/config/config.php(35):  
Horde_Config_Form->__construct(Object(Horde_Variables), 'horde')[1]
  #17 {main}[1]
      [code:protected] => 0[1]
      [file:protected] => /usr/share/php/Services/Weather.php[1]
      [line:protected] => 167[1]
      [trace:Error:private] => Array[1]


Links:
------
[1]  
http://github.com/horde/horde/commit/a77c83657a1398cbb7ed89408118460d8499ecd4


More information about the horde mailing list