#19399 [NEW]: Problem with method call - please report this bug

From: Date: Sat, 14 Sep 2002 05:20:42 +0000
Subject: #19399 [NEW]: Problem with method call - please report this bug
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-19329@lists.php.net to get a copy of this message
From: fclever@verinform.com Operating system: Linux & Win2000 PHP version: 4.2.3 PHP Bug Type: Scripting Engine problem Bug description: Problem with method call - please report this bug I get the following error message: Warning: Problem with method call - please report this bug in line xyz. This error message comes from /Zend/zend_execute.c, line 1638. This error occurs in our applications framework with many intermingled classes on both Linux and Windows 2000 Boxes (I have not checked on Solaris yet). I have not been able to produce a simple set of classes producing this error. The basic structure of what our code is doing is: class CUi { function httpHeader($p_disableGzHandler = false) { } function htmlHead($p_subDirs = false) { if ( ! isset($this) ) { // this is the static pseudo initialization $this->m_subDirs = $p_subDirs; } CUi::httpHeader(); // this is the line where the error occurs } } CUi::httpHeader(); If I move the CUi:httpHeader() call done from within htmlHead() above "if (! isset($this) )" the error does not occur. I am sorry to not be able to provide better information. I would not have reported this bug, but it explicitly asks to report it, so here we go. -- Edit bug report at http://bugs.php.net/?id=19399&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=19399&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=19399&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=19399&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=19399&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=19399&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=19399&r=support Expected behavior: http://bugs.php.net/fix.php?id=19399&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=19399&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=19399&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=19399&r=globals

« previous php.bugs (#19329) next »