error: Warning: The magic method __set() must have public visibility and cannot be static

725 views
Skip to first unread message

kasperkamperman

unread,
Feb 29, 2012, 10:37:31 AM2/29/12
to Smart Lencioni Image Resizer
Hi,

After using SLIR for a long of time I suddenly get this error:

Warning: The magic method __set() must have public visibility and
cannot be static in /home/kasper/domains/kasperkamperman.com/
public_html/slir/slir.class.php on line 252

Warning: Cannot modify header information - headers already sent by
(output started at /home/kasper/domains/kasperkamperman.com/
public_html/slir/slir.class.php:252) in /home/kasper/domains/
kasperkamperman.com/public_html/slir/slirexception.class.php on line
216

For example when calling this image:
http://www.kasperkamperman.com/slir/w160-c16:9/wordpress_kk/wp-content/gallery/transpose/transpose_febmuz_1_rico_van_houten.jpg

I know they migrated my server to PHP 5.3, but I've read in another
post that its should work in 5.3 as well.

Any idea what this error might be?

Kasper

Joe Lencioni

unread,
Feb 29, 2012, 3:06:51 PM2/29/12
to smart-lencioni...@googlegroups.com
It sounds like you are using an older version of SLIR. Try grabbing the latest from https://github.com/lencioni/SLIR
Reply all
Reply to author
Forward
0 new messages