Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Warning error when user logs in

 
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4
 
Thread Tools
  #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
  #2  
Old 09-15-2010, 11:51 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Warning error when user logs in

Drop a ticket to the vendor - this is an issue with the On Sale module and I'm sure they can give you the fix - probably a missed install step.

Moving to Third Party add-ons
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 11:26 AM.

   

 
X-Cart forums © 2001-2020