The latest dev gives in PHP 5.4 a WSOD for the whole site with error:

Fatal error: Call-time pass-by-reference has been removed in /home/***/public_html/sites/all/modules/image_fupload/image_fupload_imagefield/image_fupload_imagefield.module on line 505.

I suppose all the legacy code that was deprecated in PHP 5.3 now crashes the site and should be removed, see also http://stackoverflow.com/questions/8971261/php-5-4-call-time-pass-by-ref....

CommentFileSizeAuthor
#2 image_fupload_imagefield.module.patch545 byteshanskuiters

Comments

hansrossel’s picture

Issue tags: +PHP 5.4
hanskuiters’s picture

Status: Active » Needs review
StatusFileSize
new545 bytes

I have created a patch for this.

kattekrab’s picture

This is a tiny patch that changes

&$form, &$form_state

to

$form, $form_state

If it fixes the problem, would be good to get reviewed by someone who knows.

Is listed in a D8 critical #2135203: Fix all known PHP 5.4 incompatibilities on D6 and D7 that are critical or would prevent a migration to D8

Have added that as a related issue

philsward’s picture

Status: Needs review » Reviewed & tested by the community

Other than the patch needing to be directly inside the image_fupload/image_fupload_imagefield folder, it appears to work just fine.