Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.2.3

Bug #21095 PHP Warnings on dns error
Submitted: 2016-07-01 11:56 UTC
From: cweiske Assigned:
Status: Open Package: Services_Libravatar
PHP Version: 5.6.22 OS:
Roadmaps: (Not assigned)    
Subscription  


 [2016-07-01 11:56 UTC] cweiske (Christian Weiske)
Description: ------------ When a DNS error occurs, a couple of PHP warnings are logged. This should not happen. Actual result: -------------- PHP Warning: dns_get_record(): A temporary server error occurred. in /usr/share/php/Services/Libravatar.php on line 427 PHP Warning: usort() expects parameter 1 to be array, boolean given in /usr/share/php/Services/Libravatar.php on line 436 PHP Warning: shuffle() expects parameter 1 to be array, boolean given in /usr/share/php/Services/Libravatar.php on line 445 PHP Warning: Invalid argument supplied for foreach() in /usr/share/php/Services/Libravatar.php on line 471

Comments