Re: function does not exist

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At 11:43 AM -0400 8/25/06, Chris Boget wrote:
I'm getting the following error all throughout my PHP log:

[warning] [Unknown][0]: Unknown(): Unable to call () - function does not exist

I'm not sure it's going to survive the mailing but it appears to be a tab character after the 'call' and before the '()'. I've spent days (not consecutively) trying to track down this eror but have had absolutely no luck. Has anyone else experienced a problem like this? If so, what was causing it for you and what was your solution?



Since function names can be variables, you might unintentionally have a reference that looks like

	$foo = $function($bar);

instead of

	$foo = function($bar);

You can get a similar error with object methods ($foo = $Obj->$method($bar) versus $foo = $Obj->method($bar)), but I believe in that case you would get a different error ('nonexistent method call' or something like that).

	steve

--
+--------------- my people are the people of the dessert, ---------------+
| Steve Edberg                                http://pgfsun.ucdavis.edu/ |
| UC Davis Genome Center                            sbedberg@xxxxxxxxxxx |
| Bioinformatics programming/database/sysadmin             (530)754-9127 |
+---------------- said t e lawrence, picking up his fork ----------------+

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux