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

Found a bug? Tell us!!
Post Reply
Hokey
Regular
Posts: 141
Joined: Wed Dec 14, 2005 3:36 pm
Location: Germany
Contact:

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

Post 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
Last edited by Hokey on Wed Jul 18, 2007 3:37 pm, edited 1 time in total.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Favatar-Update: Error in backoffice and front

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Hokey
Regular
Posts: 141
Joined: Wed Dec 14, 2005 3:36 pm
Location: Germany
Contact:

Post by Hokey »

That works! I had to make this change in line 27 and 28.
Post Reply