masterexploder / PHPThumb

PHP Thumbnail & Image Manipulation Library
http://phpthumb.gxdlabs.com
980 stars 264 forks source link

Got the old 'Parameter 6 to GdReflectionLib...' error but fixed it. #105

Open HillbillyGeek opened 10 years ago

HillbillyGeek commented 10 years ago

tried to remove the "&' from &$that in thumb_plugins => gd_reflection.inc.php (line 46) as was suggested on the closed thread (PHP Version 5.3.0 Issues)

My error was: Warning: Parameter 6 to GdReflectionLib::createReflection() expected to be a reference, value given in /..pathTo.../ThumbBase.inc.php on line 212

I went there to line 211 and added '&' to $this thusly: $args[] = &$this;

And the reflections began working.