X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Third Party Add-Ons for X-Cart 4 (https://forum.x-cart.com/forumdisplay.php?f=45)
-   -   Warning error when user logs in (https://forum.x-cart.com/showthread.php?t=55543)

bifbak 09-15-2010 11:49 AM

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

balinor 09-15-2010 11:51 AM

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


All times are GMT -8. The time now is 06:29 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.