Method name must be a string.
Date: 01/14/07
(PHP Community) Keywords: php, browser, web
I have a weird thing happening in one of my scripts. A statements that looks like this:
$this->updateFooBar('BarFoo', null, null, NOTIF_TYPE_CHANGE);
Gives the following result in the browser:
Fatal error: Method name must be a string in /usr/local/web/a/b/c/d/MyFile.class.php on line 141
My first guess was that I've accidentally define()d updateFooBar, but I haven't. It's a class method inherited from the parent class. Any ideas?
Source: http://community.livejournal.com/php/529537.html