Edit report at http://pear.php.net/bugs/bug.php?id=16431&edit=1
ID: 16431
Updated by: [email protected]
Reported By: sb at sebastian-bergmann dot de
Summary: Warning: get_class() expects parameter 1 to be
object, string given
Status: Open
Type: Bug
Package: PhpDocumentor
Operating System: Linux
Package Version: 1.4.2
PHP Version: 5.3.0
Roadmap Versions:
New Comment:
The attached patch against the current SVN trunk fixes the warning.
Previous Comments:
------------------------------------------------------------------------
[2009-07-17 09:57:03] aharvey
The following patch has been added/updated:
Patch Name: phpdocumentor-bug-16431-fix
Revision: 1247821022
URL:
http://pear.php.net/bugs/patch-display.php?bug=16431&patch=phpdocumentor-bug-16431-fix&revision=1247821022&display=1
------------------------------------------------------------------------
[2009-07-12 18:32:12] sebastian
Description:
------------
Warning: get_class() expects parameter 1 to be object, string given in
/usr/share/pear/PhpDocumentor/phpDocumentor/common.inc.on line 306
Stack trace:
1. {main}() /usr/bin/phpdoc:0
2. require() /usr/bin/phpdoc:40
3. phpDocumentor_setup->createDocs()
/usr/share/pear/PhpDocumentor/phpDocumentor/phpdoc.inc:65
4. phpDocumentor_IntermediateParser->Output()
/usr/share/pear/PhpDocumentor/phpDocumentor/Setup.inc.php:754
5. phpDocumentor_IntermediateParser->Convert()
/usr/share/pear/PhpDocumentor/phpDocumentor/IntermediateParser.inc:1865
6. Converter->walk()
/usr/share/pear/PhpDocumentor/phpDocumentor/IntermediateParser.inc:1652
7. Converter->Convert()
/usr/share/pear/PhpDocumentor/phpDocumentor/Converter.inc:1934
8. HTMLPhpucConverter->convertMethod()
/usr/share/pear/PhpDocumentor/phpDocumentor/Converter.inc:3983
9. Converter->prepareDocBlock()
/usr/share/pear/data/phpUnderControl/data/phpdoc/Converters/HTML/Phpuc/HTMLPhpucConverter.inc:1124
10. parserDocBlock->getDesc()
/usr/share/pear/PhpDocumentor/phpDocumentor/Converter.inc:4565
11. parserStringWithInlineTags->Convert()
/usr/share/pear/PhpDocumentor/phpDocumentor/ParserDocBlock.inc:506
12. parserCode->Convert()
/usr/share/pear/PhpDocumentor/phpDocumentor/ParserData.inc:953
13. phpDocumentor_get_class()
/usr/share/pear/PhpDocumentor/phpDocumentor/DescHTML.inc:95
14. get_class()
/usr/share/pear/PhpDocumentor/phpDocumentor/common.inc.php:306
------------------------------------------------------------------------