Closed (fixed)
Project:
Package Tracking
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 Aug 2011 at 16:09 UTC
Updated:
2 Jan 2012 at 21:40 UTC
On the tracking page for an order (/user/1/orders/track/ups/1ZW098R41276681979) I'm getting this error:
Warning: Invalid argument supplied for foreach() in uc_ups_uc_tracking() (line 243 of C:\web\sites\all\modules\uc_tracking\uc_tracking.module).
I have all the UPS credential fields filled in.
Comments
Comment #1
mindhunter75 commentedI've got the same error:
warning: Invalid argument supplied for foreach() in /sites/all/modules/uc_tracking/uc_tracking.module on line 244.Comment #2
tr commentedThat warning was being generated when UPS returned an error in locating the tracking information. Seems like I've only tested the module with valid tracking numbers. "1ZW098R41276681979" is an invalid number. I fixed the warning so now the user is shown an explanatory message.