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

Bug #8782 stream_context_create() expects parameter array
Submitted: 2006-09-25 11:48 UTC
From: vilius at lnk dot lt Assigned: amistry
Status: Closed Package: Net_Sieve (version 1.1.4)
PHP Version: 5.1.4 OS: Fedora Core 5
Roadmaps: (Not assigned)    
Subscription  


 [2006-09-25 11:48 UTC] vilius at lnk dot lt (Vilius)
Description: ------------ When using Net_Sieve 1.1.4 with Net_Socket 1.0.6 I get: PHP Warning: stream_context_create() expects parameter 1 to be array, boolean given in /usr/share/pear/Net/Socket.php on line 132 I tried to downgrade to 1.1.3 and it works.

Comments

 [2006-10-02 22:04 UTC] andre at abtime dot de (André Böhm)
To fix this bug, add another parameter in line 219 like this: - if (PEAR::isError($res = $this->connect($this->_data['host'] , $this->_data['port'], $this->_useTLS ))) { + if (PEAR::isError($res = $this->connect($this->_data['host'] , $this->_data['port'], array(), $this->_useTLS ))) {
 [2006-10-04 18:30 UTC] amistry at php dot net (Anish Mistry)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.