Active
Project:
Imagecache Effects
Version:
6.x-1.1
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 Jul 2010 at 10:23 UTC
Updated:
16 Jun 2011 at 04:35 UTC
got this error when using latest patched version with PHP 5.3.2
solved by removing the "&" in imagecache_effects/imageapi.inc
function imageapi_gd_image_reflection(&$image, $options = array()) {
found this solution here:
http://drupal.org/node/540486
Comments
Comment #1
jjoseph commentedI tried that solution, however the reflection still is not appearing in the preview. Is there another part to the solution besides removing the ampersand?
Actually removing the ampersand leaves me with the following error. I am using GD2 as my library of choice with the latest imagecache.
Comment #2
jjoseph commentedThe solution that worked was in this earlier issue:
http://drupal.org/node/401694
Comment #3
DocMartin commentedI'd been using a patched file from the earlier issue; had this error, and just found the ampersand removal appears to have fixed it. [I've also done some ampersand removals to remove errors with fupload/imagefield that also arose after my host upgraded to php 5.3]
So, maybe need both the patch and the ampersand removal.