Closed (fixed)
Project:
Amazon Store
Version:
7.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Jan 2011 at 04:38 UTC
Updated:
31 Oct 2011 at 17:42 UTC
Jump to comment: Most recent file
Comments
Comment #1
rfayDidn't get the screenshot, would appreciate it. Also, please say exactly what action you took to get this message, and it would also help to know what other modules are installed.
Comment #2
krymp commentedSorry forgot to press the attach button. I get this in everyone of my Amazon Store pages. I also get it on my Item Detail page by using the default Amazon Panels template - http://yousketch.net/amazon_store/item/0596515804.
I have a few modules, Panels, Views, Media, Youtube-Media, StarRating and Styles
Comment #3
panchoIf you can't reproduce this error, this might have something to do with PHP 5.3.
I actually don't have a PHP 5.2 server running, however with PHP 5.3 I get the same errors.
Removing the ampersand from the first argument in the signature of the various forms helps here. The errors are gone and everything works just fine. Patch enclosed.
Comment #4
krymp commentedThank you!!! This patch worked for me.
Comment #5
panchoThe patch is correct:
The new signature of callbacks called by drupal_get_form() doesn't require call $form by reference, and PHP 5.3 in fact doesn't like it.
See also #946302: Warning: Parameter 1 to ctools_export_ui_edit_item_wizard_form() expected to be a reference, value given in drupal_retrieve_form.
Comment #6
rfayI was just on crack when I updated those.
Comment #7
panchocommitted to D7: http://drupal.org/cvs?commit=490360
Comment #9
Tafa commentednot sure if this has been causing trouble to others but i found that installed the variable module solved the problem almost immediately. Just en passant..
T
Comment #10
Tafa commentedokay, not working actually...opening a new issue to keep things separate...