#19399 [Com]: Problem with method call - please report this bug
| From: | oracle dot shinoda at gmail dot com | Date: | Sun, 29 May 2005 09:49:04 +0000 |
| Subject: | #19399 [Com]: Problem with method call - please report this bug | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-79660@lists.php.net to get a copy of this message | ||
ID: 19399
Comment by: oracle dot shinoda at gmail dot com
Reported By: fclever at verinform dot com
Status: No Feedback
Bug Type: Scripting Engine problem
Operating System: Linux & Win2000
PHP Version: 4.2.3
New Comment:
If I change the DB::isError calls to $this->_db->isError, the script
runs correctly, which is why I suggested the double-static method call
being a problem.
Thank goodness for PHP4's lazy OO implementation, else I'd be stuck
with a massive refactoring job now!
Previous Comments:
------------------------------------------------------------------------
[2005-05-29 11:41:43] oracle dot shinoda at gmail dot com
I have experienced this error on php 4.3.11 installed via Debian APT. I
was calling DB::isError from PEAR inside another static method
(Release::create), that I had written myself.
Perhaps calling a static method from within another static method is
causing this problem? I haven't got time to build a test suite
though...
------------------------------------------------------------------------
[2003-08-16 09:36:19] rct_sixflags2 at hotmail dot com
i get it al so on windows me
this is the furst php bug that badders me :(
------------------------------------------------------------------------
[2002-12-24 01:00:04] php-bugs at lists dot php dot net
No feedback was provided for this bug for over 2 weeks, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
------------------------------------------------------------------------
[2002-12-08 10:47:45] sniper@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-latest.zip
I can not reproduce this with PHP 4.3.0-dev..
------------------------------------------------------------------------
[2002-12-06 00:31:51] The Anarcat <anarcat at anarcat dot ath dot cx>
Also note that morphing the code into:
function seek_and_destroy($where_ary) {
if (!isset($this)) {
$foo = new ecdGroupedNews();
} else {
$foo = $this;
}
supressees the warning, of course, so it is a proper workaround, for
me.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/19399
--
Edit this bug report at http://bugs.php.net/?id=19399&edit=1