Are you seeing errors like this, across the top of your scree?

Strict Standards: Declaration of location_admin::order_result() should be compatible with location::order_result($order = '') in /home/public_html/locator/include/location.class.php on line 542

Strict Standards: Non-static method SQL_get::sql_safe() should not be called statically, assuming $this from incompatible context in /home/public_html/locator/include/location.class.php on line 230

From what we have seen lately, PHP 5.4+ is defaulting to show STRICT warnings to the screen. Previous versions seem to do a better job at hiding these messages by default. Unfortunately, php 5.4+ combines E_ALL and E_STRICT, which means that your previous setting for error_reportingdoes not work now.


The best and quickest solution is to ask your hosting company support team to disable all ERROR REPORTING in full, ERRORS, WARNINGS and STRICT for your hosting account (your PHP settings).

Rather fix it yourself?

If you have some experience altering PHP code, here is another possible fix:

You have a file named: /locator/include/error_level.php

You can change the current setting from:

error_reporting(E_ALL ^ E_NOTICE);


error_reporting(E_ALL & ~E_STRICT & ~E_NOTICE);

This self fix sometimes works and sometimes doesn't. Depending on server settings.


Try altering your server's php.ini file:

If altering the error_level.php file doesn't solve the issue, then you would need to alter the server's php.ini file (this file controls all of PHP settings). But, you need experience and access to the ini file. You may or may not have access and you may not fully understand how to edit these types of server files, so you must be carefull when doing this. You would need to connect to the server via SSH (not FTP) and alter the error_reporting directive (setting) manually, then restart the server.

Here is what your php.ini should look like for the error_reporting option, if it doesn't, then change it to look like this:

error_reporting = E_ALL & ~E_NOTICE & ~E_STRICT