Closed (fixed)
Project:
ImageField Assist
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
10 Jun 2010 at 12:06 UTC
Updated:
5 Sep 2011 at 14:31 UTC
Jump to comment: Most recent file
Hi,
when including an image from IFA (I mean when I click an image), I get this error:
warning: Parameter 2 to imagefield_assist_properties_form() expected to be a reference, value given in /var/www/karu.nl/kb/includes/form.inc on line 372.
I’ve seen messages like this before, something related to PHP 5.3?
Thanks (for a great module),
Rolf
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 823770_form_reference_value.patch | 567 bytes | rolfmeijer |
Comments
Comment #1
rolfmeijer commentedAfter consulting a great friend and programmer ;-) I managed to get a workaround.
In the module file (/sites/all/modules/imagefield_assist/imagefield_assist.module) line 1101, change &$img to $img. That’s all.
Now I’ve heard that this could infuence the memory, so it might be less efficient. But as I’m not a programmer at all, I would like to leave that to the module owner ;-).
I might try to make a patch file.
Comment #2
rolfmeijer commentedWell, it seems I succeeded in making a patch. This should do.
Comment #3
shark commentedI had the same error occur after hitting 'save'. The imagefield assist popup screen also displayed "ImageField Assist Upload mypicture.jpg has been created." at the same time.
Comment #4
lourenzo commentedSolved and released on beta5.
Comment #5
lourenzo commented