Error in checkout_shipping.php

Ask the community for help and support.
Post Reply
tedukes
Posts: 87
Joined: Wed Oct 27, 2021 11:27 pm
Has thanked: 17 times
Been thanked: 1 time

Error in checkout_shipping.php

Post 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
ozeworks
PhoenixCart Developer
PhoenixCart Developer
Posts: 16
Joined: Tue Dec 21, 2021 2:58 pm
Has thanked: 5 times
Been thanked: 1 time

Re: Error in checkout_shipping.php

Post by ozeworks »

What does line 55 say?
tedukes
Posts: 87
Joined: Wed Oct 27, 2021 11:27 pm
Has thanked: 17 times
Been thanked: 1 time

Re: Error in checkout_shipping.php

Post 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;
ozeworks
PhoenixCart Developer
PhoenixCart Developer
Posts: 16
Joined: Tue Dec 21, 2021 2:58 pm
Has thanked: 5 times
Been thanked: 1 time

Re: Error in checkout_shipping.php

Post by ozeworks »

Do all your products have weights? At least set to 0?
tedukes
Posts: 87
Joined: Wed Oct 27, 2021 11:27 pm
Has thanked: 17 times
Been thanked: 1 time

Re: Error in checkout_shipping.php

Post 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.
Post Reply