--- uc_sf_order.module.orig 2011-10-05 16:12:38.000000000 -0500 +++ uc_sf_order.module 2011-10-05 16:13:24.000000000 -0500 @@ -751,13 +751,16 @@ return FALSE; } // Check to see if $response is an array. -sf_dpm($response, "Response object from SF client create call: "); if(is_array($response) && count($response)) { $response = $response[0]; } if (!$response->success) { drupal_set_message(t('Error exporting order to Salesforce.'), 'error'); - sf_dpm($response->errors->message, 'Ubercart order error'); + $error_msgs = array(); + foreach($response->errors as $i => $error) { + $error_msgs[] = $error->message; + } + sf_dpm(implode('; ', $error_msgs), 'Ubercart order error'); return FALSE; } else {