|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2007-08-28 09:44 UTC] klikics at preisroboter dot de
Description: ------------ Sometimes PHP throw's the following error: Fatal error: Call to undefined method suche::get_threader() in /www/class_.php on line 1305 instead of just processing the function $this->get_threader() ... This comes up only every 10000 requests or something, so I can't reproduce it. I'm wondering about the "::", because the call in the script is $this->get_threader(). That's why I think it's an internal bug of PHP. The .php with the class is included via require() to the page where the error appears. Hope this helps or you can help. Thanks in advance. Reproduce code: --------------- // line 1305 $fp = $this->get_threader(); Expected result: ---------------- $fp is a filepointer from fsockopen() .. the script should progress. PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 19:00:01 2025 UTC |
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; } // ... }