Comment 3 for bug 1222350

Revision history for this message
Aaron Wells (u-aaronw) wrote :

Are you using PHP 5.4, Kristina? That particular error is an E_STRICT notice.

We set Mahara to print messages that match E_ALL, which despite the word "ALL" is actually a combination of all errors *except* E_STRICT. But, in 5.4 they changed it so that it includes E_STRICT.

So perhaps you're seeing this message, while RobertL and I aren't, because you're using PHP 5.4.

Putting a debugging breakpoint in the Mahara error() function, I can see that there are actually LOTS of E_STRICT notices that we're currently ignoring. Perhaps what we should do is change the developermode/productionmode setting so that it specifically prints E_ALL & E_STRICT, which would give consistent output in 5.3 and 5.4. (Or conversely, specifically set it to E_ALL & ~E_STRICT in order to continue ignoring E_STRICT messages.)