Administrator
- Join Date:
- Sep 2009
- Location:
- Stuart, FL
- Posts:
- 14,139
- Plugin Contributions:
- 56
USPS Shipping Module [Support Thread]
Jeff_Mash:
I am seeing the following error in the logs:
[12-Aug-2023 05:58:41 America/Los_Angeles] Request URI: /store/index.php?main_page=checkout_one, IP address: 129.222.137.108, Language id 1
#1 usps->quote() called at [/home/domain/public_html/store/includes/classes/shipping.php:201]
#2 shipping->quote() called at [/home/domain/public_html/store/includes/modules/pages/checkout_one/header_php.php:222]
#3 require(/home/domain/public_html/store/includes/modules/pages/checkout_one/header_php.php) called at [/home/domain/public_html/store/index.php:35]
--> PHP Warning: A non-numeric value encountered in /home/domain/public_html/store/includes/modules/shipping/usps.php on line 779.
>
> That part of the USPS.php code deals with Handling Fees. I noticed that this customer is from Canada, and our USPS Handling Fee for International customers was "BLANK". I have gone ahead and put a "0" in the field to see if that corrects the issue, but wanted to log it here just in case having a "blank" handling fee value was causing the non-numerical error in line 779.
That would do it!