Resolving 'Strict Standards' error message


Apologies if this has been answered elsewhere, my search didn't turn up something that addressed this particular situation.

An older omeka 1.2.1 site I help with has begun to throw these warnings at the top of pages:
Strict Standards: Declaration of Omeka_Acl::addRole() should be compatible with Zend_Acl::addRole($role, $parents = NULL) in /home/.../application/libraries/Omeka/Acl.php on line 18

We also see them with Declaration of Omeka_View_Helper_Url::url() and Declaration of Tag::fieldIsUnique()

Any sense for the best approach to resolving those?


That sounds like some settings about error reporting on the server were changed, most likely due to a change in what PHP reports in version 5.4.

If that's the case, the easiest thing is to put a new copy of php.ini in the directory where Omeka is, and in that file change the error reporting setting to

error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT