Forums / Developer / "Strict: PHP" error in the debug

"Strict: PHP" error in the debug

Author Message

Salvatore Guarino

Monday 28 April 2008 12:35:31 am

Hi,

a strange message appears in the debug when I try to send a standard feedback form (eZpublish 4.0 with webin extension):

Strict: PHP

Non-static method eZInfocollectorFunctionCollection::fetchCollectedInfoCollection() should not be called statically, assuming $this from incompatible context in /var/www/vhosts/mysite/httpdocs/kernel/content/ezcontentfunctioncollection.php on line 751

Mailng of form doesn't work, but I don't know if it depends from this error, if there is a misconfiguration in the webserver or anything else...

Any idea?

Maxime Thomas

Monday 28 April 2008 11:43:29 pm

Maybe you have a reference call in the prototype of this function:


static function fetchCollectedInfoCollection(&$var, ...)
{
...
}

Maxime Thomas
[email protected] | www.wascou.org | http://twitter.com/wascou

Company Blog : http://www.wascou.org/eng/Company/Blog
Technical Blog : http://share.ez.no/blogs/maxime-thomas

Salvatore Guarino

Monday 28 April 2008 11:51:50 pm

Dear Thomas,

thank you for you response, but this is a standard installation, without modifications, and the file with <i>reference call in the prototype of function</i> is a kernel file... I think that this is a bug.
I posted the bug here: http://issues.ez.no/IssueView.php?Id=12926&activeItem=1

Thx and bye,

Salvatore