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

ID: 16622
Updated by: j.henge-ernst@interexa.de
Reported By: j dot henge-ernst at interexa dot de
Summary: Undefined property: HTMLframesConverter::$class_data
Status: Open
Type: Bug
Package: PhpDocumentor
Operating System: linux
Package Version: 1.4.3
-PHP Version: 5.2.5
+PHP Version: 5.3.0
Roadmap Versions:
New Comment:

-PHP Version: 5.2.5
+PHP Version: 5.3.0
I could finaly create one file which causes the same error. The content
of the file to document is:
<?php
class b0 { protected $base_table = 'b0'; }


If you rename the class to b1 the error vanishes. Error happens also
for classnames like a0,g0, ..


Previous Comments:
------------------------------------------------------------------------

[2009-09-17 13:08:04] hernst

Description:
------------
When building the docu for our project and upgrading the ZendServer to
php 5.2.10 we get the following errors. On another Server with Zend Core
and php 5.2.9 the problem does not occur.

So this is either a php problem or the code somewhere messes up with
references.




Actual result:
--------------
Here ist the backtrace with xdebug:

Converting /cc/projects/autotest35/source/xml/Test/php/b0.php
Procedural Page Elements... Classes...
Notice: Undefined property: HTMLPhpucConverter::$class_data in
/interexa/php/PEAR/php/PhpDocumentor/phpDocumentor/Converter.inc on line
4189

Call Stack:
0.0005 96576 1. {main}() /interexa/php/PEAR/bin/phpdoc:0
0.0023 109872 2.
require('/interexa/php/PEAR/php/PhpDocumentor/phpDocumentor/phpdoc.inc')
/interexa/php/PEAR/bin/phpdoc:40
0.1806 13786504 3. phpDocumentor_setup->createDocs()
/interexa/php/PEAR/php/PhpDocumentor/phpDocumentor/phpdoc.inc:65
359.7941 1366705512 4. phpDocumentor_IntermediateParser->Output()
/interexa/php/PEAR/php/PhpDocumentor/phpDocumentor/Setup.inc.php:761
389.6998 1385484056 5. phpDocumentor_IntermediateParser->Convert()
/interexa/php/PEAR/php/PhpDocumentor/phpDocumentor/IntermediateParser.inc:1865
389.6998 1385484464 6. Converter->walk()
/interexa/php/PEAR/php/PhpDocumentor/phpDocumentor/IntermediateParser.inc:1652
550.4065 1432133864 7. Converter->Convert()
/interexa/php/PEAR/php/PhpDocumentor/phpDocumentor/Converter.inc:1934
550.4065 1432134224 8. HTMLPhpucConverter->convertVar()
/interexa/php/PEAR/php/PhpDocumentor/phpDocumentor/Converter.inc:3987
550.4066 1432134704 9. Converter->convertVar()
/interexa/php/PEAR/data/phpUnderControl/data/phpdoc/Converters/HTML/Phpuc/HTMLPhpucConverter.inc:1104


Variables in local scope (#9):
$acc = 'protected'
$additions = array ('var_dest' => 'var$autoRelations')
$b = 'mixed'
$docblock = array ('vartype' => 'mixed', 'static' => FALSE,
'abstract' => FALSE, 'access' => 'protected', 'sdesc' => '', 'desc' =>
'', 'tags' => array (0 => array (...)), 'see_tags' => array (),
'info_tags_sorted' => array (), 'api_tags' => array (0 => array (...)),
'info_tags' => array (), 'utags' => array (), 'property_tags' => array
())
$element = class parserVar { public $type = 'var'; public $class =
'b0'; public $_modifiers = array (0 => 'protected'); public $docblock =
class parserDocBlock { public $desc = FALSE; public $processed_desc =
FALSE; public $processed_sdesc = FALSE; public $sdesc = FALSE; public
$linenumber = FALSE; public $endlinenumber = FALSE; public $tags = array
(...); public $unknown_tags = array (...); public $params = array (...);
public $funcglobals = array (...); public $statics = array (...); public
$properties = array (...); public $return = FALSE; public $var = class
parserVarTag { ... }; public $explicitpackage = FALSE; public
$explicitcategory = FALSE; public $category = 'default'; public $package
= 'Test'; public $subpackage = 'base'; public $hasaccess = TRUE; public
$hasname = FALSE; public $packagedescrip = 'Test'; public
$subpackagedescrip = ''; public $_canSource = FALSE }; public $name =
'$autoRelations'; public $conflicts = FALSE; public $file = 'b0.php';
public $path = '/cc/projects/autotest35/source/xml/Test/php/b0.php';
public $endlinenumber = 63; public $linenumber = 63; public $value = '
true' }


Notice: Undefined property: HTMLframesConverter::$class_data in
/interexa/php/PEAR/php/PhpDocumentor/phpDocumentor/Converter.inc on line
4189

Call Stack:
0.0000 96216 1. {main}() /interexa/php/PEAR/bin/phpdoc:0
0.0050 109512 2.
require('/interexa/php/PEAR/php/PhpDocumentor/phpDocumentor/phpdoc.inc')
/interexa/php/PEAR/bin/phpdoc:40
0.2322 13685712 3. phpDocumentor_setup->createDocs()
/interexa/php/PEAR/php/PhpDocumentor/phpDocumentor/phpdoc.inc:65
350.9890 1366459104 4. phpDocumentor_IntermediateParser->Output()
/interexa/php/PEAR/php/PhpDocumentor/phpDocumentor/Setup.inc.php:761
368.3449 1385237656 5. phpDocumentor_IntermediateParser->Convert()
/interexa/php/PEAR/php/PhpDocumentor/phpDocumentor/IntermediateParser.inc:1865
368.3450 1385238064 6. Converter->walk()
/interexa/php/PEAR/php/PhpDocumentor/phpDocumentor/IntermediateParser.inc:1652
494.7577 1427089192 7. Converter->Convert()
/interexa/php/PEAR/php/PhpDocumentor/phpDocumentor/Converter.inc:1934
494.7577 1427089552 8. HTMLframesConverter->convertVar()
/interexa/php/PEAR/php/PhpDocumentor/phpDocumentor/Converter.inc:3987
494.7578 1427090032 9. Converter->convertVar()
/interexa/php/PEAR/php/PhpDocumentor/phpDocumentor/Converters/HTML/frames/HTMLframesConverter.inc:1050


Variables in local scope (#9):
$acc = 'protected'
$additions = array ('var_dest' => 'var$autoRelations')
$b = 'mixed'
$docblock = array ('vartype' => 'mixed', 'static' => FALSE,
'abstract' => FALSE, 'access' => 'protected', 'sdesc' => '', 'desc' =>
'', 'tags' => array (0 => array (...)), 'see_tags' => array (),
'info_tags_sorted' => array (), 'api_tags' => array (0 => array (...)),
'info_tags' => array (), 'utags' => array (), 'property_tags' => array
())
$element = class parserVar { public $type = 'var'; public $class =
'b0'; public $_modifiers = array (0 => 'protected'); public $docblock =
class parserDocBlock { public $desc = FALSE; public $processed_desc =
FALSE; public $processed_sdesc = FALSE; public $sdesc = FALSE; public
$linenumber = FALSE; public $endlinenumber = FALSE; public $tags = array
(...); public $unknown_tags = array (...); public $params = array (...);
public $funcglobals = array (...); public $statics = array (...); public
$properties = array (...); public $return = FALSE; public $var = class
parserVarTag { ... }; public $explicitpackage = FALSE; public
$explicitcategory = FALSE; public $category = 'default'; public $package
= 'Test'; public $subpackage = 'base'; public $hasaccess = TRUE; public
$hasname = FALSE; public $packagedescrip = 'Test'; public
$subpackagedescrip = ''; public $_canSource = FALSE }; public $name =
'$autoRelations'; public $conflicts = FALSE; public $file = 'b0.php';
public $path = '/cc/projects/autotest35/source/xml/Test/php/b0.php';
public $endlinenumber = 63; public $linenumber = 63; public $value = '
true' }

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

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
categoriesphp
postedSep 18, '09 at 7:30a
activeSep 18, '09 at 7:30a
posts1
users1
websitepear.php.net

1 user in discussion

J Henge-ernst: 1 post

People

Translate

site design / logo © 2021 Grokbase