This error occurs in PHP 5.4.3, and the solution I found is to hide the errors.
error_reporting(E_ALL ^ E_STRICT);
But I want to fix it, not hide it. Could you explain why this error occurs and how to fix it?
This is mistake:
Strict standards: overriding an already defined constructor for the VisanaObject class in / home / template / public _HTML / project / activecollab / angie / classes / VisanaObject.class.php on line 33
This is the class code:
class VisanaObject {
function VisanaObject() {
$args = func_get_args();
if(is_array($args)) {
call_user_func_array(array(&$this, '__construct'), $args);
} else {
$this->__construct();
}
}
function __construct() {
}
}
source
share