Strict Problems

Archived from the Xataface Users forum.

Chris — Thu Jan 13, 2011 1:23 am

I’ve just upgraded my system and I’ve got tons of lines like

Code: Select all
Strict Standards: Non-static method I18Nv2::getStaticProperty() should not be called statically in /home/CI/public_html/xataface/lib/I18Nv2/I18Nv2.php on line 403

I noticed that you mentioned in another post that you were dropping support for php version 4, which is why these errors are appearing. Is this happening anytime soon?


shannah — Fri Jan 14, 2011 12:55 pm

Yes.. not in SVN yet.. but should be next week some time.

-Steve


shannah — Mon Jan 24, 2011 2:01 pm

OK… committed a large number of changes to SVN to eliminate E_STRICT warnings. There are likely still more to fish out, but most of the major ones are taken care of. If you run across any warnings (while running the latest SVN trunk) please post them so I can fix them.

If you run a production site with E_STRICT, make sure you don’t display these warnings to the browser. Instead just log them in the error log. That way the warnings won’t impede your users or cause problems… they’ll just be logged.