I went to that file (upsxml.php) and saw the following function which was throwing the error:
Code:
if (isset($this->servicesTimeintransit[$type])) {
$eta_array = explode("-", $this->servicesTimeintransit[$type]["date"]);
$months = array (" ", "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December");
$eta_arrival_date = $months[(int)$eta_array[1]]." ".$eta_array[2].", ".$eta_array[0];
// $_type .= ", ETA: ".$eta_arrival_date;
$_type .= "";
}
I don't know what could have possibly changed to cause this, but we certainly didn't do anything. So I commented that function out and now it APPEARS to be working. If you do hear any information about a UPS code change, please let us know.
Bookmarks