After a hard drive meltdown and forced server upgrade, one of my sites
is getting all sorts of errors. Among them:
An error occurred in script
/home/virtual/site44/fst/var/www/html/includes/config.inc on line 13 :
Non-static
method SlimStat::my_esc() should not be called statically, assuming
$this from
incompatible context (2048)
The line in my config file is, in this case, part of an error
function:
<pre>function my_error_handler ($e_number, $e_message) {
$message = 'An error occurred in script ' . __FILE__ . ' on line ' .
__LINE__ . " : $e_message ($e_number)";
error_log ($message, 1, '
m...@emailaddress.net'); // Production (send
email)
echo '<font color="red" size="+1">', $e_message, '</font>'; //
Development (print the error in red)
}
</pre>
Anyone have any ideas? I'm trying to figure out if the problem is with
SlimStat or with the Pear::Benchmark package, so any help is
greatfully appreciated.
Adam