View Single Post
  #1  
Old 09-15-2010, 11:49 AM
 
bifbak bifbak is offline
 

Member
  
Join Date: Jan 2010
Posts: 11
 

Default Warning error when user logs in

when any user logs in, a warning error is generated at the top of the screen as follows...
Warning: in_array()[function.in-array]: Wrong datatype for second argument in /modules/On_sale/onsale_cart_shipping.php on line 34

and line 34 on this php file is as follows...

if (in_array($v['shippingid'], $onsale_shipping[$onsaleid]['shipping_methods']))

i think its something to do with the shipping methods...but not sure. if i take out the 'shipping_methods'...it gets rid of the error...however, it changes the shipping amounts...and takes away the free shipping ...

any help is appreciated very much.
thanks
__________________
xcart v. 4.1
Reply With Quote