Closed (fixed)
Project:
Address Field
Version:
7.x-1.0-beta1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Aug 2011 at 02:27 UTC
Updated:
27 Aug 2011 at 17:21 UTC
Jump to comment: Most recent file
Comments
Comment #1
damienmckennaAccording to the PHP docs the reset() function accepts a single argument as a reference, thus you can't daisy chain the returned data from element_children() to it. This patch should resolve the problem.
FYI the problem exists on line 338 in the current dev branch.
Comment #2
damienmckennaTurns out there was a second instance of the same statement elsewhere in the same file.
Comment #3
Rich_Weiss commentedI am getting the same error message. I did a fresh install of xampp and then installed commerce_kickstart-7.x-1.0-beta6-core. I then added one product to the shopping cart and tried to check out, at which point I received the error message. After patching the address.inc the error did not reappear, and I could complete the checkout process.
Comment #4
damien tournoud commentedThanks for the patch, committed.