[horde] More errors with PHP 7

Michael J Rubinsky mrubinsk at horde.org
Tue Apr 5 19:15:00 UTC 2016


Quoting Twilek <twilek at gmx.de>:

>> 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]

This is from PEAR's Services_Weather (which is used for the "Metar"  
block), not Horde_Service_Weather.

>  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
> -- 
> Horde mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org



-- 
mike
The Horde Project
http://www.horde.org
https://www.facebook.com/hordeproject
https://www.twitter.com/hordeproject
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5751 bytes
Desc: S/MIME Signature
URL: <http://lists.horde.org/archives/horde/attachments/20160405/6fdf4d38/attachment-0001.bin>


More information about the horde mailing list