FAQ
Edit report at http://pear.php.net/bugs/bug.php?id=17744&edit=1

ID: 17744
Updated by: daniel.oconnor@gmail.com
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

------------------------------------------------------------------------

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
categoriesphp
postedAug 19, '10 at 12:47a
activeAug 19, '10 at 12:47a
posts1
users1
websitepear.php.net

1 user in discussion

Daniel Oconnor: 1 post

People

Translate

site design / logo © 2022 Grokbase