Bug #42455 [Com]: "Call to undefined method" - but method isn't undefined!

From: Date: Mon, 14 Oct 2013 17:46:33 +0000
Subject: Bug #42455 [Com]: "Call to undefined method" - but method isn't undefined!
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-182152@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=42455&edit=1

 ID:                 42455
 Comment by:         jayesh5101992sapkale at gmail dot com
 Reported by:        klikics at preisroboter dot de
 Summary:            "Call to undefined method" - but method isn't
                     undefined!
 Status:             No Feedback
 Type:               Bug
 Package:            Class/Object related
 Operating System:   Linux
 PHP Version:        5.2.3
 Block user comment: N
 Private report:     N

 New Comment:

ok....when i put my data to file using file  function " fprintf "  and close it  current
file
Note:: data contain class and methods. 

 and after file closed, call the class method that already in class gives me following error

Fatal error:: Call to undefined method className::methodName ???????????????Any solution


Previous Comments:
------------------------------------------------------------------------
[2011-11-01 19:14:25] with at held dot com

Bahaha @ collie8 at bellsouth dot net
http://www.php.net/license/3_01.txt

Have you been an angry threatening moron for all your 53 years? I'd mock you some more but my
sides hurt too much from laughing at you.

------------------------------------------------------------------------
[2008-05-23 06:01:29] collie8 at bellsouth dot net

every time I send some thing you say it is the wrong email address and I know it is not the wrong
email address and I was not born yesterday and I was born 53 year's ago and you better not say
the next email I send you better not send it back to me any more because the next time I send one
you better send it and If you do not send it the next email address you get will be from my Lawyer
and that is a promise and If you do not what that to happen then the next one I do send you just
better send it as of right now and that is an order and If you do not send it you can and will be
shut down for good by my Lawyer and that is a promise.

------------------------------------------------------------------------
[2007-09-05 01:00:01] php-bugs at lists dot php dot net

No feedback was provided for this bug for over a week, 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".

------------------------------------------------------------------------
[2007-08-28 13:32:28] jani@php.net

That is not the script I'm looking for..
Please read the instructions how to report. Leave this as 'Feedback' until you actually
have something useful to give as feedback..

------------------------------------------------------------------------
[2007-08-28 13:04:48] klikics at preisroboter dot de

Thanks for your fast answers!

I've disabled Suhosin and eAccelerator already 2 days ago, but it still appears. Sorry, but I
can't reproduce it because I only got the error twice and some visitors of our site reported
it.

Code example:

search.php
##########

require("class.php");
$search = new search();

// ...



class.php:
##########

class search{ 

   function search() {

        $foo = new cluster_search();
        
         // ...
    }

    // ...
}

class cluster_search {

  function cluster_search() {

     // ...

     $bar = $this->get_threader();  // here appears the error sometimes

  }


  function get_threader() {

      $bla = fsockopen(); // ...
      return $bla;
   }

    // ...
}

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


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

    https://bugs.php.net/bug.php?id=42455


-- 
Edit this bug report at https://bugs.php.net/bug.php?id=42455&edit=1


Thread (10 messages)

« previous php.bugs (#182152) next »