
Daniel Jaeger - 2009-06-17 22:04:37
Hi,
I receive on my new setup xampp with 5.2.9 ( on mac os X) an error for the line 66 of the graidle.php
"Fatal error: Non-static method Color::color() cannot be called statically, assuming $this from incompatible context in .../classes/graidle/graidle.php on line 66"
This seems to stay in relation with changes in the new PHP releases on 5.2.6 and above (as I read in other forums).
A work around for me to call the method is this:
$color = new Color();
$this->color = $color->color();
instead of
Color::color();
And changing the line 22 of the Color class from this
$this->color = array(
to
return array(
I guess thats pretty weak...
Do you know about this problem?
Thanks
and best wishes
Daniel