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

« Help with creating an... || Project management »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home