Image

Imagewildernesscat wrote in Imagephp

Method name must be a string.

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?