cancel
Showing results for 
Search instead for 
Did you mean: 

Invalid foreach() in Api/V2.php

Invalid foreach() in Api/V2.php

I am trying to make sure that my website has no/as few as bugs as possible. 

One that is frequently occurring is  TIMESTAMP DEBUG (7): Invalid argument supplied for foreach()/home/mywebsitename/public_html/app/code/core/Mage/Sales/Model/Order/Shipment/Api/V2.php

 

Having looked at the file the debugging is pointing to, I'm not sure what is wrong with it. 

Because this file is dealing with shipping and orders I am worried that this is causing as-yet-unseen issues. 

 

I'm new to Magento and would really appreciate some direction on how to fix this issue. 

(Ps if this is in the wrong section of the forums, just let me know where to move it, and I will do so)