Closed (fixed)
Project:
Commerce Core
Version:
7.x-1.x-dev
Component:
Customer
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
22 Jun 2012 at 22:25 UTC
Updated:
30 Nov 2012 at 03:40 UTC
Jump to comment: Most recent file
Comments
Comment #1
rszrama commentedNothing I've ever experienced in core before, and I don't see any reason why commerce_customer_profile_default_label() would get called without a fully loaded customer profile. I suspect one of the contributed modules you have, but to figure it out you're going to probably need to disable them one by one and see when the error goes away. When you get there, we can move this issue to the appropriate queue as a bug report or something.
Comment #2
rszrama commentedOn a side note, do you guys ever use a ride sharing service for people traveling to DrupalCamp LA? There's a startup in a local accelerator called Ridepost that's trying to facilitate ride sharing starting with college students (obviously) but also events, and I'd love to see if they could help us solve ride sharing for DrupalCamps / Cons as opposed to general forums. Lemme know if you might be interested and I can get them to get in touch. : )
Comment #3
rszrama commentedComment #4
Chris CharltonI've figured out the problem...
Problem: When a Customer Profile Type (Billing or Shipping) field `allowed values` is set to anything other than 1, the Checkout Review page gets a blank white screen (and the PHP error mentioned above appears in my error_log).
Current Solution: I have tried values "Unlimited" and "10", both result with a white screen of death. When I change the value back to 1 the review page seems to load properly.
I am interested in offering a customer multiple Billing/Shipping address profiles, and thought it'd be possible with the method I have tried so far, but if there's a "better" way then please advise.
Comment #5
Chris CharltonComment #6
vasikei can confirm this error when the Address field from Customer profile is set as multiple values field.
here is a patch to avoid the WSOD, but i don't think this is a solution.
@Chris Charlton : i'm not sure what are you trying to accomplish.
But, about the customer profiles i can assure you that a Customer (Drupal user) can have multiple Profiles, and every profile has only 1 address. Not a profile with multiple addresses.
So Maybe the confusion is just the "Profile" naming convention.
Here are some resources about Customer profiles
http://www.drupalcommerce.org/user-guide/customer-profiles
http://commerceguys.com/blog/commerce-module-tuesday-commerce-addressbook
http://commerceguys.com/blog/commerce-module-tuesday-commerce-extra
So, imho, the issue here it's about having Multiple address field support for Customer profiles (i can't see why) or NOT.
Comment #7
rszrama commentedCommitted the patch, as it's worth fixing, but I'm agreed with vasike that this probably isn't the best configuration for what you want.
Comment #8.0
(not verified) commentedReplaced domain with example.com.