Page 1 of 1

(Solved) Favatar-Update: Error in backoffice and front

Posted: Wed Jul 18, 2007 1:16 pm
by Hokey
Hi!

I updated the Favatar-Plugin and get this error message in both backoffice an frontpage of the blog:

Code: Select all

Parse error: syntax error, unexpected T_STATIC, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/www/doc/13460/serendipity/plugins/serendipity_event_gravatar/serendipity_event_gravatar.php on line 27

Re: Favatar-Update: Error in backoffice and front

Posted: Wed Jul 18, 2007 2:00 pm
by garvinhicking
Hi!

Sounds as if this 'Static' thing only works for PHP5. Can you edit the file and replace at the line number 'static' with 'var'?

Regards,
Garvin

Posted: Wed Jul 18, 2007 3:37 pm
by Hokey
That works! I had to make this change in line 27 and 28.