Edit report at http://pear.php.net/bugs/bug.php?id=17744&edit=1
ID: 17744
Updated by: [email protected]
Reported By: daniel dot oconnor at gmail dot com
Summary: Fatal error: Cannot use string offset as an array in
C:\php\PEAR\PEAR\PackageFi
Status: Open
Type: Bug
Package: PEAR_PackageFileManager
Package Version: 1.7.0
PHP Version: 5.2.12
Roadmap Versions:
New Comment:
Looks like the way PEAR_PackageFile_v2_rw::setChangelogEntry() is
invoked, vs the state of $this->_packageInfo['changelog']['release'][0]
Given a node of:
"<changelog />"
It gets parsed into a blank string, rather than an array()
Previous Comments:
------------------------------------------------------------------------
[2010-08-19 00:42:42] doconnor
Description:
------------
Fatal error: Cannot use string offset as an array in
C:\php\PEAR\PEAR\PackageFil e\v2\rw.php on line 1575
Test script:
---------------
See PFM_cli on Bug #17741
http://svn.php.net/viewvc/pear/packages/Net_Socket/trunk/package.xml?view=co&revision=284180&content-type=text%2Fplain
is the particular badly formed package.xml
------------------------------------------------------------------------