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

mindhunter75’s picture

I've got the same error:

warning: Invalid argument supplied for foreach() in /sites/all/modules/uc_tracking/uc_tracking.module on line 244.

tr’s picture

Status: Active » Fixed

That 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.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.