Jump to content

All Iin One Shipping Error


Claudia M
 Share

Recommended Posts

Hi,

I got this error (warning) in my cPanel error log:

[10-Oct-2017 14:04:27 America/Louisville] PHP Warning:  Invalid argument supplied for foreach() in /home/claudias/public_html/modules/shipping/All_In_One_Shipping/shipping.class.php on line 46.

 

Here is the code referenced:

$this->_item_count = 0;

               (LINE 46)             foreach ($this->_basket['contents'] as $item) {

                                             // XXX May want to exclude digital products from the item count, i.e.

                                             // if ($item['digital']) continue;

                                             $this->_item_count += $item['quantity'];

                              }

Anything to worry about?  If so how do I fix it?

Thanks in advance,

Claudia

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...