errors in php with headers, host has upgraded php

Can anyone help, my site was fine and then all of a sudden it is coming up with lots of errors and had disappeared,
I fixed most of them and can see the site again but these errors are along the top and the site is not working properly,
it was fine so I assume it was the host, the problem is that this is not my code and I dont know what it means, any help would be great:

Warning: Creating default object from empty value in module.php on line 100

Warning: Cannot modify header information - headers already sent by (output started at /module.php:100) in /local/run.rewrite.php on line 148

There are no spaces in front or after the start and finish of the php in either file,

code it doesnt like- Module.php

if ($this->admin)
$this->private->tables = is_array($this->config->vars[“module”][“admin”][“tables”]) ? $this->config->vars[“module”][“admin”][“tables”] : $this->config->vars[“module”][“tables”];
else
$this->private->tables = is_array($this->config->vars[“module”][“site”][“tables”]) ? $this->config->vars[“module”][“site”][“tables”] : $this->config->vars[“module”][“tables”];

and then this is from run.rewrite.php

$htaccess->execute($link);

if ($_GET["_PAGE"]) {
	global $_PAGE;
	$_PAGE = $_GET["_PAGE"];
}			

if ($_GET["sub"]) {
		header("HTTP/1.1 200 OK");
}

}

If I was to guess, I bet you had warnings suppressed before and now they are being shown…

Check out these two files and I bet they are turned on…

Sponsor our Newsletter | Privacy Policy | Terms of Service