Page 1 of 1

Error in checkout_shipping.php

Posted: Mon Jan 10, 2022 3:10 pm
by tedukes
Sorry, I found another issue. It may be an addon but not sure which. I have tried disabling each shipping method but still get the error.

I'm getting: Notice: A non well formed numeric value encountered in /home/xxxxxxxxxxxxxxx/public_html/shop/includes/system/versioned/1.0.7.4/shipping.php on line 55

Thanks

Re: Error in checkout_shipping.php

Posted: Wed Jan 12, 2022 6:51 pm
by ozeworks
What does line 55 say?

Re: Error in checkout_shipping.php

Posted: Wed Jan 12, 2022 9:01 pm
by tedukes
ozeworks wrote: Wed Jan 12, 2022 6:51 pm What does line 55 say?
Thanks!!

Line 55: $padded_weight = $shipping_weight * SHIPPING_BOX_PADDING / 100;

Re: Error in checkout_shipping.php

Posted: Fri Jan 14, 2022 4:27 pm
by ozeworks
Do all your products have weights? At least set to 0?

Re: Error in checkout_shipping.php

Posted: Fri Jan 14, 2022 7:39 pm
by tedukes
ozeworks wrote: Fri Jan 14, 2022 4:27 pm Do all your products have weights? At least set to 0?
I checked and I had to download files with a weight. I believe they are supposed to be set to zero. Also, I disabled php warnings in the configure.php file. I saw this in another post.