Another error message shows up on a local installation (Drupal 6.14 on winXP/easyPHP).
Warning: Call-time pass-by-reference has been deprecated in C:\Program Files\EasyPHP 3.0\www\drupal2\sites\all\modules\gallery_assist\gallery_assist.module on line 778
Deleting the ampersand in the code makes the error message go away.
OLD line 778 in gallery_assist.module
$ready = gallery_assist_import_save(&$node);
NEW line 778 in gallery_assist.module
$ready = gallery_assist_import_save($node);
But it's not kosher. Any hints / patch to correct this? Or is something wrong with my setup?
Comments
Comment #1
jcmc commentedComment #2
Ashlann commentedYes, I am seeing this Warning on a fresh Drupal install also (installed 13th Oct).
Is reply #1 indicating this 'bug' is fixed as of 14OCT? Should I simply re-download this module?
Thanks.
Comment #3
ascetic commentedgot the exact same error here.
I've tried using the stable and dev version, both having the same issue.
thx
Comment #4
Ashlann commentedascetic,
I emailed developer/maintainer jcmc: he kindly replied (within hours! thank you) with the solution outlined in the OP.
Simply remove the ampersand from line 778. If you do not know where this file is saved or how to do this, let me know and I'll post instructions.
I have re-enabled Gallery Assist on my site after making this change and have had no further errors.
Cheers,
Ash.
Comment #5
jcmc commentedComment #6
ascetic commentedAshlann,
I've removed the text:
$ready = gallery_assist_import_save(&$node);
its now working flawlessly, and its a great image gallery!!
thanks for your reply and thanks for jcmc the developer.
regards
Comment #7
jcmc commented