Strange lines of code appearing at top of pages

Some strange lines of code are appearing on our website at the top of each page. For example, from the home page: Strict Standards: Declaration of Omeka_Acl::addRole() should be compatible with Zend_Acl::addRole($role, $parents = NULL) in /home/avacgis/ on line 18

Could someone please have a look and help us fix this issue? Many thanks

What version of Omeka are you using?

It must be a fairly old version, since the Omeka_Acl class was removed years ago.

If you don't want to upgrade to a version that doesn't raise this notification, you can silence it by turning off error display (the reverse of the "retrieving error messages" instructions from the documentation).

Thanks, John!

We took a look at the htaccess and config files, htaccess has display_errors 0 and the config has debug.exceptions = false.

Any other thoughts as to why the notifications are being displayed? We're running version 1.2.1 (I realize it's pretty old), here is the site:


Another place to look might be in the settings in your php.ini file. The error_reporting setting behaves a bit differently between PHP versions, but maybe setting no error reporting there will do the trick.