Forums / Addon Shipping Modules / USPS Shipping (RESTful) (USPSr)

USPS Shipping (RESTful) (USPSr)

Sticky

Views: 54,966

Results 501 to 520 of 558
4 Mar 2026, 8:01 PM
#501
gothstone avatar

gothstone

Zen Follower

Join Date:
Jun 2005
Posts:
330
Plugin Contributions:
0

USPS Shipping (RESTful) (USPSr)

Today the old USPS shipping module died on us. Found that I should have upgraded to this one a while ago. Ran into issues installing the encapsulated plugin version. I would get a 500 error after hitting install and the log file would be:

[04-Mar-2026 13:25:31 America/Chicago] PHP Fatal error: Declaration of ScriptedInstaller::executeUpgrade($oldVersion) must be compatible with Zencart\PluginSupport\ScriptedInstaller::executeUpgrade() in /zc_plugins/USPSRestful/v1.8.4/Installer/ScriptedInstaller.php on line 99

I tried different releases to no avail. I never could get an install, so I just jammed in the non encapsulated version instead. That did get me up and running, but I would prefer to use the plugin as upgrades will be easier. Any suggestions?
ZC 2.0.1, no other shipping modules.

2 + 2 = 5 for extremely large values of 2

Pez Collectors Store •••••••• My Plugins List

4 Mar 2026, 8:03 PM
#502
retched avatar

retched

Totally Zenned

Join Date:
Jun 2007
Location:
Bronx, New York, United States
Posts:
949
Plugin Contributions:
3

Re: USPS Shipping (RESTful) (USPSr)

gothstone:

Today the old USPS shipping module died on us. Found that I should have upgraded to this one a while ago. Ran into issues installing the encapsulated plugin version. I would get a 500 error after hitting install and the log file would be:

[04-Mar-2026 13:25:31 America/Chicago] PHP Fatal error: Declaration of ScriptedInstaller::executeUpgrade($oldVersion) must be compatible with Zencart\PluginSupport\ScriptedInstaller::executeUpgrade() in /zc_plugins/USPSRestful/v1.8.4/Installer/ScriptedInstaller.php on line 99

> I tried different releases to no avail. I never could get an install, so I just jammed in the non encapsulated version instead. That did get me up and running, but I would prefer to use the plugin as upgrades will be easier. Any suggestions?
> ZC 2.0.1, no other shipping modules.

Don't use the encapsulated installer for ZC 2.0.1, use the traditional method instead. For it work out the box of ZC 2.0.1, you would need to make core file edits for it to function via encapsulation.

Delete the folder from zc_plugins, copy the admin and includes folder from the root to the appropriate places. Then go to the shipping modules to activate/install.
4 Mar 2026, 8:38 PM
#503
marcopolo avatar

marcopolo

Totally Zenned

Join Date:
May 2008
Location:
United States
Posts:
522
Plugin Contributions:
2

Re: USPS Shipping (RESTful) (USPSr)

Heads up: I followed the module instructions and submitted a request to USPS to increase the API limit. In their reply yesterday, USPS said the new default product now allows more than 10,000 calls per hour.

I replied: “I thought it was 60 requests per hour. Did that change?”

USPS responded: “Yes, that was changed 2 or 3 weeks ago.”

It may be worth confirming this with USPS and updating the module documentation accordingly.

marcopolo
Zen Cart 2.2.2 | PHP 8.5.11 | MariaDB 10.11.14

4 Mar 2026, 8:59 PM
#504
retched avatar

retched

Totally Zenned

Join Date:
Jun 2007
Location:
Bronx, New York, United States
Posts:
949
Plugin Contributions:
3

Re: USPS Shipping (RESTful) (USPSr)

marcopolo:

Heads up: I followed the module instructions and submitted a request to USPS to increase the API limit. In their reply yesterday, USPS said the new default product now allows more than 10,000 calls per hour.

I replied: “I thought it was 60 requests per hour. Did that change?”

USPS responded: “Yes, that was changed 2 or 3 weeks ago.”

It may be worth confirming this with USPS and updating the module documentation accordingly.

Already ahead of you, but I was told 20K but 10K seems more sensical.

I already was on the improved Public Access V which had a cap of 25K calls, so I have no way to test. The only thing I don't know is if the new caps are retroactively applied to already existing keys on "Public Access I". (The USPS still didn't update their documentation because it still reads 60 requests per hour.)

Also, I did confirm that the new policy on API keys is one key per USPS account, so if you were hoping to make a bunch for your clients, you need to make them their own USPS.com account then get API keys for that account.

4 Mar 2026, 9:10 PM
#505
marcopolo avatar

marcopolo

Totally Zenned

Join Date:
May 2008
Location:
United States
Posts:
522
Plugin Contributions:
2

Re: USPS Shipping (RESTful) (USPSr)

retched:

Already ahead of you, but I was told 20K but 10K seems more sensical.

I already was on the improved Public Access V which had a cap of 25K calls, so I have no way to test. The only thing I don't know is if the new caps are retroactively applied to already existing keys on "Public Access I". (The USPS still didn't update their documentation because it still reads 60 requests per hour.)

Also, I did confirm that the new policy on API keys is one key per USPS account, so if you were hoping to make a bunch for your clients, you need to make them their own USPS.com account then get API keys for that account.

Ok I just wanted to make sure you were aware. I believe it was applied retroactively. I’ve had this API account for over a year, and based on the email, no action was needed because they had already made the change, as he mentioned.

marcopolo
Zen Cart 2.2.2 | PHP 8.5.11 | MariaDB 10.11.14

4 Mar 2026, 9:14 PM
#506
retched avatar

retched

Totally Zenned

Join Date:
Jun 2007
Location:
Bronx, New York, United States
Posts:
949
Plugin Contributions:
3

Re: USPS Shipping (RESTful) (USPSr)

marcopolo:

Ok I just wanted to make sure you were aware. I believe it was applied retroactively. I’ve had this API account for over a year, and based on the email, no action was needed because they had already made the change, as he mentioned.

No problem. I'll update the wiki documentation later to say 10K instead of 20K. The warning will persist until the next update (minor or major) and then it'll be fully removed. (Might make it do an auto detect kind of thing when a 429 error comes up. We'll see.

4 Mar 2026, 9:16 PM
#507
retched avatar

retched

Totally Zenned

Join Date:
Jun 2007
Location:
Bronx, New York, United States
Posts:
949
Plugin Contributions:
3

Re: USPS Shipping (RESTful) (USPSr)

retched:

Don't use the encapsulated installer for ZC 2.0.1, use the traditional method instead. For it work out the box of ZC 2.0.1, you would need to make core file edits for it to function via encapsulation.

Delete the folder from zc_plugins, copy the admin and includes folder from the root to the appropriate places. Then go to the shipping modules to activate/install.

To further my previous response: the upgrade process on the traditional method (for this module anyway) is relatively easy, simply overwrite with the new release when it does come out and then visit the Modules > Shipping page to lock it in. If you really do want the encapsulation to work on 2.0.1, you would need to make some edits to your installation so that it mimics what is natively on 2.1.0.

6 Mar 2026, 2:09 PM
#508
njcyx avatar

njcyx

Zen Follower

Join Date:
Apr 2019
Posts:
374
Plugin Contributions:
0

Re: USPS Shipping (RESTful) (USPSr)

In a word, encapsulated installer is only available for zc 2.1.0 or newer.

Zc 2.1.0 introduced some modifications so you can install shipping modules via encapsulated installers.

8 Mar 2026, 1:59 PM
#509
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,110
Plugin Contributions:
56

Re: USPS Shipping (RESTful) (USPSr)

njcyx:

In a word, encapsulated installer is only available for zc 2.1.0 or newer.

Zc 2.1.0 introduced some modifications so you can install shipping modules via encapsulated installers.
FWIW, I've created a GitHub gist that identifies significant changes regarding encapsulated plugins since zc200: https://gist.github.com/lat9/9deb64d3325081d18bb0db5534bcf142

9 Mar 2026, 5:38 PM
#510
retched avatar

retched

Totally Zenned

Join Date:
Jun 2007
Location:
Bronx, New York, United States
Posts:
949
Plugin Contributions:
3

Re: USPS Shipping (RESTful) (USPSr)

lat9:

FWIW, I've created a GitHub gist that identifies significant changes regarding encapsulated plugins since zc200: https://gist.github.com/lat9/9deb64d3325081d18bb0db5534bcf142

I should probably make a guide on what changes need to be made to get this to work with encapsulation.

23 Mar 2026, 9:13 PM
#511
siliconbug avatar

siliconbug

Zen Follower

Join Date:
Apr 2009
Posts:
125
Plugin Contributions:
0

Re: USPS Shipping (RESTful) (USPSr)

Not sure if this is related to USPS module, but new log is generated today:

[23-Mar-2026 11:59:43 Canada/Pacific] Request URI: /index.php?main_page=checkout_process, IP address: x.x.x.x, Language id 1
#0 /zc158/includes/modules/checkout_process.php(45): zen_debug_error_handler()
#1 /zc158/includes/modules/pages/checkout_process/header_php.php(13): require('/zc...')
#2 /zc158/index.php(35): require('/zc...')
--> PHP Warning: Undefined array key "payment" in /zc158/includes/modules/checkout_process.php on line 45.

[23-Mar-2026 11:59:44 Canada/Pacific] Request URI: /index.php?main_page=checkout_process, IP address: x.x.x.x, Language id 1
#0 /zc158/includes/modules/checkout_process.php(52): zen_debug_error_handler()
#1 /zc158/includes/modules/pages/checkout_process/header_php.php(13): require('/zc...')
#2 /zc158/index.php(35): require('/zc...')
--> PHP Warning: Undefined array key "shipping" in /zc158/includes/modules/checkout_process.php on line 52.

[23-Mar-2026 11:59:45 Canada/Pacific] Request URI: /index.php?main_page=checkout_process, IP address: x.x.x.x, Language id 1
#0 /zc158/includes/modules/shipping/uspsr.php(307): zen_debug_error_handler()
#1 /zc158/includes/modules/shipping/uspsr.php(284): uspsr->usps_translation()
#2 /zc158/includes/modules/shipping/uspsr.php(244): uspsr->storefrontInitialization()
#3 /zc158/includes/classes/shipping.php(91): uspsr->__construct()
#4 /zc158/includes/modules/checkout_process.php(52): shipping->__construct()
#5 /zc158/includes/modules/pages/checkout_process/header_php.php(13): require('/zc...')
#6 /zc158/index.php(35): require('/zc...')
--> PHP Warning: Undefined array key "country" in /zc158/includes/modules/shipping/uspsr.php on line 307.

[23-Mar-2026 11:59:45 Canada/Pacific] Request URI: /index.php?main_page=checkout_process, IP address: x.x.x.x, Language id 1
#0 /zc158/includes/modules/shipping/uspsr.php(307): zen_debug_error_handler()
#1 /zc158/includes/modules/shipping/uspsr.php(284): uspsr->usps_translation()
#2 /zc158/includes/modules/shipping/uspsr.php(244): uspsr->storefrontInitialization()
#3 /zc158/includes/classes/shipping.php(91): uspsr->__construct()
#4 /zc158/includes/modules/checkout_process.php(52): shipping->__construct()
#5 /zc158/includes/modules/pages/checkout_process/header_php.php(13): require('/zc...')
#6 /zc158/index.php(35): require('/zc...')
--> PHP Warning: Trying to access array offset on value of type null in /zc158/includes/modules/shipping/uspsr.php on line 307.

[23-Mar-2026 11:59:45 Canada/Pacific] Request URI: /index.php?main_page=checkout_process, IP address: x.x.x.x, Language id 1
#0 /zc158/includes/modules/shipping/uspsr.php(318): zen_debug_error_handler()
#1 /zc158/includes/modules/shipping/uspsr.php(284): uspsr->usps_translation()
#2 /zc158/includes/modules/shipping/uspsr.php(244): uspsr->storefrontInitialization()
#3 /zc158/includes/classes/shipping.php(91): uspsr->__construct()
#4 /zc158/includes/modules/checkout_process.php(52): shipping->__construct()
#5 /zc158/includes/modules/pages/checkout_process/header_php.php(13): require('/zc...')
#6 /zc158/index.php(35): require('/zc...')
--> PHP Warning: Undefined array key "country" in /zc158/includes/modules/shipping/uspsr.php on line 318.

[23-Mar-2026 11:59:45 Canada/Pacific] Request URI: /index.php?main_page=checkout_process, IP address: x.x.x.x, Language id 1
#0 /zc158/includes/modules/shipping/uspsr.php(318): zen_debug_error_handler()
#1 /zc158/includes/modules/shipping/uspsr.php(284): uspsr->usps_translation()
#2 /zc158/includes/modules/shipping/uspsr.php(244): uspsr->storefrontInitialization()
#3 /zc158/includes/classes/shipping.php(91): uspsr->__construct()
#4 /zc158/includes/modules/checkout_process.php(52): shipping->__construct()
#5 /zc158/includes/modules/pages/checkout_process/header_php.php(13): require('/zc...')
#6 /zc158/index.php(35): require('/zc...')
--> PHP Warning: Trying to access array offset on value of type null in /zc158/includes/modules/shipping/uspsr.php on line 318.

[23-Mar-2026 11:59:45 Canada/Pacific] Request URI: /index.php?main_page=checkout_process, IP address: x.x.x.x, Language id 1
#0 /zc158/includes/classes/order.php(907): zen_debug_error_handler()
#1 /zc158/includes/modules/checkout_process.php(101): order->create()
#2 /zc158/includes/modules/pages/checkout_process/header_php.php(13): require('/zc...')
#3 /zc158/index.php(35): require('/zc...')
--> PHP Warning: Undefined array key "firstname" in /zc158/includes/classes/order.php on line 907.

[23-Mar-2026 11:59:45 Canada/Pacific] Request URI: /index.php?main_page=checkout_process, IP address: x.x.x.x, Language id 1
#0 /zc158/includes/classes/order.php(907): zen_debug_error_handler()
#1 /zc158/includes/modules/checkout_process.php(101): order->create()
#2 /zc158/includes/modules/pages/checkout_process/header_php.php(13): require('/zc...')
#3 /zc158/index.php(35): require('/zc...')
--> PHP Warning: Undefined array key "lastname" in /zc158/includes/classes/order.php on line 907.

[23-Mar-2026 11:59:45 Canada/Pacific] Request URI: /index.php?main_page=checkout_process, IP address: x.x.x.x, Language id 1
#0 /zc158/includes/classes/order.php(908): zen_debug_error_handler()
#1 /zc158/includes/modules/checkout_process.php(101): order->create()
#2 /zc158/includes/modules/pages/checkout_process/header_php.php(13): require('/zc...')
#3 /zc158/index.php(35): require('/zc...')
--> PHP Warning: Undefined array key "company" in /zc158/includes/classes/order.php on line 908.

[23-Mar-2026 11:59:45 Canada/Pacific] Request URI: /index.php?main_page=checkout_process, IP address: x.x.x.x, Language id 1
#0 /zc158/includes/classes/order.php(909): zen_debug_error_handler()
#1 /zc158/includes/modules/checkout_process.php(101): order->create()
#2 /zc158/includes/modules/pages/checkout_process/header_php.php(13): require('/zc...')
#3 /zc158/index.php(35): require('/zc...')
--> PHP Warning: Undefined array key "street_address" in /zc158/includes/classes/order.php on line 909.

[23-Mar-2026 11:59:45 Canada/Pacific] Request URI: /index.php?main_page=checkout_process, IP address: x.x.x.x, Language id 1
#0 /zc158/includes/classes/order.php(910): zen_debug_error_handler()
#1 /zc158/includes/modules/checkout_process.php(101): order->create()
#2 /zc158/includes/modules/pages/checkout_process/header_php.php(13): require('/zc...')
#3 /zc158/index.php(35): require('/zc...')
--> PHP Warning: Undefined array key "suburb" in /zc158/includes/classes/order.php on line 910.

[23-Mar-2026 11:59:45 Canada/Pacific] Request URI: /index.php?main_page=checkout_process, IP address: x.x.x.x, Language id 1
#0 /zc158/includes/classes/order.php(911): zen_debug_error_handler()
#1 /zc158/includes/modules/checkout_process.php(101): order->create()
#2 /zc158/includes/modules/pages/checkout_process/header_php.php(13): require('/zc...')
#3 /zc158/index.php(35): require('/zc...')
--> PHP Warning: Undefined array key "city" in /zc158/includes/classes/order.php on line 911.

[23-Mar-2026 11:59:45 Canada/Pacific] Request URI: /index.php?main_page=checkout_process, IP address: x.x.x.x, Language id 1
#0 /zc158/includes/classes/order.php(912): zen_debug_error_handler()
#1 /zc158/includes/modules/checkout_process.php(101): order->create()
#2 /zc158/includes/modules/pages/checkout_process/header_php.php(13): require('/zc...')
#3 /zc158/index.php(35): require('/zc...')
--> PHP Warning: Undefined array key "postcode" in /zc158/includes/classes/order.php on line 912.

[23-Mar-2026 11:59:45 Canada/Pacific] Request URI: /index.php?main_page=checkout_process, IP address: x.x.x.x, Language id 1
#0 /zc158/includes/classes/order.php(913): zen_debug_error_handler()
#1 /zc158/includes/modules/checkout_process.php(101): order->create()
#2 /zc158/includes/modules/pages/checkout_process/header_php.php(13): require('/zc...')
#3 /zc158/index.php(35): require('/zc...')
--> PHP Warning: Undefined array key "state" in /zc158/includes/classes/order.php on line 913.

[23-Mar-2026 11:59:45 Canada/Pacific] Request URI: /index.php?main_page=checkout_process, IP address: x.x.x.x, Language id 1
#0 /zc158/includes/classes/order.php(914): zen_debug_error_handler()
#1 /zc158/includes/modules/checkout_process.php(101): order->create()
#2 /zc158/includes/modules/pages/checkout_process/header_php.php(13): require('/zc...')
#3 /zc158/index.php(35): require('/zc...')
--> PHP Warning: Undefined array key "country" in /zc158/includes/classes/order.php on line 914.

[23-Mar-2026 11:59:45 Canada/Pacific] Request URI: /index.php?main_page=checkout_process, IP address: x.x.x.x, Language id 1
#0 /zc158/includes/classes/order.php(914): zen_debug_error_handler()
#1 /zc158/includes/modules/checkout_process.php(101): order->create()
#2 /zc158/includes/modules/pages/checkout_process/header_php.php(13): require('/zc...')
#3 /zc158/index.php(35): require('/zc...')
--> PHP Warning: Trying to access array offset on value of type null in /zc158/includes/classes/order.php on line 914.

[23-Mar-2026 11:59:45 Canada/Pacific] Request URI: /index.php?main_page=checkout_process, IP address: x.x.x.x, Language id 1
#0 /zc158/includes/classes/order.php(915): zen_debug_error_handler()
#1 /zc158/includes/modules/checkout_process.php(101): order->create()
#2 /zc158/includes/modules/pages/checkout_process/header_php.php(13): require('/zc...')
#3 /zc158/index.php(35): require('/zc...')
--> PHP Warning: Undefined array key "format_id" in /zc158/includes/classes/order.php on line 915.

[23-Mar-2026 11:59:45 Canada/Pacific] Request URI: /index.php?main_page=checkout_process, IP address: x.x.x.x, Language id 1
#0 /zc158/includes/classes/order.php(916): zen_debug_error_handler()
#1 /zc158/includes/modules/checkout_process.php(101): order->create()
#2 /zc158/includes/modules/pages/checkout_process/header_php.php(13): require('/zc...')
#3 /zc158/index.php(35): require('/zc...')
--> PHP Warning: Undefined array key "firstname" in /zc158/includes/classes/order.php on line 916.

[23-Mar-2026 11:59:45 Canada/Pacific] Request URI: /index.php?main_page=checkout_process, IP address: x.x.x.x, Language id 1
#0 /zc158/includes/classes/order.php(916): zen_debug_error_handler()
#1 /zc158/includes/modules/checkout_process.php(101): order->create()
#2 /zc158/includes/modules/pages/checkout_process/header_php.php(13): require('/zc...')
#3 /zc158/index.php(35): require('/zc...')
--> PHP Warning: Undefined array key "lastname" in /zc158/includes/classes/order.php on line 916.

[23-Mar-2026 11:59:45 Canada/Pacific] Request URI: /index.php?main_page=checkout_process, IP address: x.x.x.x, Language id 1
#0 /zc158/includes/classes/order.php(917): zen_debug_error_handler()
#1 /zc158/includes/modules/checkout_process.php(101): order->create()
#2 /zc158/includes/modules/pages/checkout_process/header_php.php(13): require('/zc...')
#3 /zc158/index.php(35): require('/zc...')
--> PHP Warning: Undefined array key "company" in /zc158/includes/classes/order.php on line 917.

[23-Mar-2026 11:59:45 Canada/Pacific] Request URI: /index.php?main_page=checkout_process, IP address: x.x.x.x, Language id 1
#0 /zc158/includes/classes/order.php(918): zen_debug_error_handler()
#1 /zc158/includes/modules/checkout_process.php(101): order->create()
#2 /zc158/includes/modules/pages/checkout_process/header_php.php(13): require('/zc...')
#3 /zc158/index.php(35): require('/zc...')
--> PHP Warning: Undefined array key "street_address" in /zc158/includes/classes/order.php on line 918.

[23-Mar-2026 11:59:45 Canada/Pacific] Request URI: /index.php?main_page=checkout_process, IP address: x.x.x.x, Language id 1
#0 /zc158/includes/classes/order.php(919): zen_debug_error_handler()
#1 /zc158/includes/modules/checkout_process.php(101): order->create()
#2 /zc158/includes/modules/pages/checkout_process/header_php.php(13): require('/zc...')
#3 /zc158/index.php(35): require('/zc...')
--> PHP Warning: Undefined array key "suburb" in /zc158/includes/classes/order.php on line 919.

[23-Mar-2026 11:59:45 Canada/Pacific] Request URI: /index.php?main_page=checkout_process, IP address: x.x.x.x, Language id 1
#0 /zc158/includes/classes/order.php(920): zen_debug_error_handler()
#1 /zc158/includes/modules/checkout_process.php(101): order->create()
#2 /zc158/includes/modules/pages/checkout_process/header_php.php(13): require('/zc...')
#3 /zc158/index.php(35): require('/zc...')
--> PHP Warning: Undefined array key "city" in /zc158/includes/classes/order.php on line 920.

[23-Mar-2026 11:59:45 Canada/Pacific] Request URI: /index.php?main_page=checkout_process, IP address: x.x.x.x, Language id 1
#0 /zc158/includes/classes/order.php(921): zen_debug_error_handler()
#1 /zc158/includes/modules/checkout_process.php(101): order->create()
#2 /zc158/includes/modules/pages/checkout_process/header_php.php(13): require('/zc...')
#3 /zc158/index.php(35): require('/zc...')
--> PHP Warning: Undefined array key "postcode" in /zc158/includes/classes/order.php on line 921.

[23-Mar-2026 11:59:45 Canada/Pacific] Request URI: /index.php?main_page=checkout_process, IP address: x.x.x.x, Language id 1
#0 /zc158/includes/classes/order.php(922): zen_debug_error_handler()
#1 /zc158/includes/modules/checkout_process.php(101): order->create()
#2 /zc158/includes/modules/pages/checkout_process/header_php.php(13): require('/zc...')
#3 /zc158/index.php(35): require('/zc...')
--> PHP Warning: Undefined array key "state" in /zc158/includes/classes/order.php on line 922.

[23-Mar-2026 11:59:45 Canada/Pacific] Request URI: /index.php?main_page=checkout_process, IP address: x.x.x.x, Language id 1
#0 /zc158/includes/classes/order.php(923): zen_debug_error_handler()
#1 /zc158/includes/modules/checkout_process.php(101): order->create()
#2 /zc158/includes/modules/pages/checkout_process/header_php.php(13): require('/zc...')
#3 /zc158/index.php(35): require('/zc...')
--> PHP Warning: Undefined array key "country" in /zc158/includes/classes/order.php on line 923.

[23-Mar-2026 11:59:45 Canada/Pacific] Request URI: /index.php?main_page=checkout_process, IP address: x.x.x.x, Language id 1
#0 /zc158/includes/classes/order.php(923): zen_debug_error_handler()
#1 /zc158/includes/modules/checkout_process.php(101): order->create()
#2 /zc158/includes/modules/pages/checkout_process/header_php.php(13): require('/zc...')
#3 /zc158/index.php(35): require('/zc...')
--> PHP Warning: Trying to access array offset on value of type null in /zc158/includes/classes/order.php on line 923.

[23-Mar-2026 11:59:45 Canada/Pacific] Request URI: /index.php?main_page=checkout_process, IP address: x.x.x.x, Language id 1
#0 /zc158/includes/classes/order.php(924): zen_debug_error_handler()
#1 /zc158/includes/modules/checkout_process.php(101): order->create()
#2 /zc158/includes/modules/pages/checkout_process/header_php.php(13): require('/zc...')
#3 /zc158/index.php(35): require('/zc...')
--> PHP Warning: Undefined array key "format_id" in /zc158/includes/classes/order.php on line 924.
24 Mar 2026, 1:01 PM
#512
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,110
Plugin Contributions:
56

Re: USPS Shipping (RESTful) (USPSr)

siliconbug:

Not sure if this is related to USPS module, but new log is generated today:

[23-Mar-2026 11:59:43 Canada/Pacific] Request URI: /index.php?main_page=checkout_process, IP address: x.x.x.x, Language id 1
#0 /zc158/includes/modules/checkout_process.php(45): zen_debug_error_handler()
#1 /zc158/includes/modules/pages/checkout_process/header_php.php(13): require('/zc...')
#2 /zc158/index.php(35): require('/zc...')
--> PHP Warning: Undefined array key "payment" in /zc158/includes/modules/checkout_process.php on line 45.

[23-Mar-2026 11:59:44 Canada/Pacific] Request URI: /index.php?main_page=checkout_process, IP address: x.x.x.x, Language id 1
#0 /zc158/includes/modules/checkout_process.php(52): zen_debug_error_handler()
#1 /zc158/includes/modules/pages/checkout_process/header_php.php(13): require('/zc...')
#2 /zc158/index.php(35): require('/zc...')
--> PHP Warning: Undefined array key "shipping" in /zc158/includes/modules/checkout_process.php on line 52.

[23-Mar-2026 11:59:45 Canada/Pacific] Request URI: /index.php?main_page=checkout_process, IP address: x.x.x.x, Language id 1
#0 /zc158/includes/modules/shipping/uspsr.php(307): zen_debug_error_handler()
#1 /zc158/includes/modules/shipping/uspsr.php(284): uspsr->usps_translation()
#2 /zc158/includes/modules/shipping/uspsr.php(244): uspsr->storefrontInitialization()
#3 /zc158/includes/classes/shipping.php(91): uspsr->__construct()
#4 /zc158/includes/modules/checkout_process.php(52): shipping->__construct()
#5 /zc158/includes/modules/pages/checkout_process/header_php.php(13): require('/zc...')
#6 /zc158/index.php(35): require('/zc...')
--> PHP Warning: Undefined array key "country" in /zc158/includes/modules/shipping/uspsr.php on line 307.

[23-Mar-2026 11:59:45 Canada/Pacific] Request URI: /index.php?main_page=checkout_process, IP address: x.x.x.x, Language id 1
#0 /zc158/includes/modules/shipping/uspsr.php(307): zen_debug_error_handler()
#1 /zc158/includes/modules/shipping/uspsr.php(284): uspsr->usps_translation()
#2 /zc158/includes/modules/shipping/uspsr.php(244): uspsr->storefrontInitialization()
#3 /zc158/includes/classes/shipping.php(91): uspsr->__construct()
#4 /zc158/includes/modules/checkout_process.php(52): shipping->__construct()
#5 /zc158/includes/modules/pages/checkout_process/header_php.php(13): require('/zc...')
#6 /zc158/index.php(35): require('/zc...')
--> PHP Warning: Trying to access array offset on value of type null in /zc158/includes/modules/shipping/uspsr.php on line 307.

[23-Mar-2026 11:59:45 Canada/Pacific] Request URI: /index.php?main_page=checkout_process, IP address: x.x.x.x, Language id 1
#0 /zc158/includes/modules/shipping/uspsr.php(318): zen_debug_error_handler()
#1 /zc158/includes/modules/shipping/uspsr.php(284): uspsr->usps_translation()
#2 /zc158/includes/modules/shipping/uspsr.php(244): uspsr->storefrontInitialization()
#3 /zc158/includes/classes/shipping.php(91): uspsr->__construct()
#4 /zc158/includes/modules/checkout_process.php(52): shipping->__construct()
#5 /zc158/includes/modules/pages/checkout_process/header_php.php(13): require('/zc...')
#6 /zc158/index.php(35): require('/zc...')
--> PHP Warning: Undefined array key "country" in /zc158/includes/modules/shipping/uspsr.php on line 318.

[23-Mar-2026 11:59:45 Canada/Pacific] Request URI: /index.php?main_page=checkout_process, IP address: x.x.x.x, Language id 1
#0 /zc158/includes/modules/shipping/uspsr.php(318): zen_debug_error_handler()
#1 /zc158/includes/modules/shipping/uspsr.php(284): uspsr->usps_translation()
#2 /zc158/includes/modules/shipping/uspsr.php(244): uspsr->storefrontInitialization()
#3 /zc158/includes/classes/shipping.php(91): uspsr->__construct()
#4 /zc158/includes/modules/checkout_process.php(52): shipping->__construct()
#5 /zc158/includes/modules/pages/checkout_process/header_php.php(13): require('/zc...')
#6 /zc158/index.php(35): require('/zc...')
--> PHP Warning: Trying to access array offset on value of type null in /zc158/includes/modules/shipping/uspsr.php on line 318.

[23-Mar-2026 11:59:45 Canada/Pacific] Request URI: /index.php?main_page=checkout_process, IP address: x.x.x.x, Language id 1
#0 /zc158/includes/classes/order.php(907): zen_debug_error_handler()
#1 /zc158/includes/modules/checkout_process.php(101): order->create()
#2 /zc158/includes/modules/pages/checkout_process/header_php.php(13): require('/zc...')
#3 /zc158/index.php(35): require('/zc...')
--> PHP Warning: Undefined array key "firstname" in /zc158/includes/classes/order.php on line 907.

[23-Mar-2026 11:59:45 Canada/Pacific] Request URI: /index.php?main_page=checkout_process, IP address: x.x.x.x, Language id 1
#0 /zc158/includes/classes/order.php(907): zen_debug_error_handler()
#1 /zc158/includes/modules/checkout_process.php(101): order->create()
#2 /zc158/includes/modules/pages/checkout_process/header_php.php(13): require('/zc...')
#3 /zc158/index.php(35): require('/zc...')
--> PHP Warning: Undefined array key "lastname" in /zc158/includes/classes/order.php on line 907.

[23-Mar-2026 11:59:45 Canada/Pacific] Request URI: /index.php?main_page=checkout_process, IP address: x.x.x.x, Language id 1
#0 /zc158/includes/classes/order.php(908): zen_debug_error_handler()
#1 /zc158/includes/modules/checkout_process.php(101): order->create()
#2 /zc158/includes/modules/pages/checkout_process/header_php.php(13): require('/zc...')
#3 /zc158/index.php(35): require('/zc...')
--> PHP Warning: Undefined array key "company" in /zc158/includes/classes/order.php on line 908.

[23-Mar-2026 11:59:45 Canada/Pacific] Request URI: /index.php?main_page=checkout_process, IP address: x.x.x.x, Language id 1
#0 /zc158/includes/classes/order.php(909): zen_debug_error_handler()
#1 /zc158/includes/modules/checkout_process.php(101): order->create()
#2 /zc158/includes/modules/pages/checkout_process/header_php.php(13): require('/zc...')
#3 /zc158/index.php(35): require('/zc...')
--> PHP Warning: Undefined array key "street_address" in /zc158/includes/classes/order.php on line 909.

[23-Mar-2026 11:59:45 Canada/Pacific] Request URI: /index.php?main_page=checkout_process, IP address: x.x.x.x, Language id 1
#0 /zc158/includes/classes/order.php(910): zen_debug_error_handler()
#1 /zc158/includes/modules/checkout_process.php(101): order->create()
#2 /zc158/includes/modules/pages/checkout_process/header_php.php(13): require('/zc...')
#3 /zc158/index.php(35): require('/zc...')
--> PHP Warning: Undefined array key "suburb" in /zc158/includes/classes/order.php on line 910.

[23-Mar-2026 11:59:45 Canada/Pacific] Request URI: /index.php?main_page=checkout_process, IP address: x.x.x.x, Language id 1
#0 /zc158/includes/classes/order.php(911): zen_debug_error_handler()
#1 /zc158/includes/modules/checkout_process.php(101): order->create()
#2 /zc158/includes/modules/pages/checkout_process/header_php.php(13): require('/zc...')
#3 /zc158/index.php(35): require('/zc...')
--> PHP Warning: Undefined array key "city" in /zc158/includes/classes/order.php on line 911.

[23-Mar-2026 11:59:45 Canada/Pacific] Request URI: /index.php?main_page=checkout_process, IP address: x.x.x.x, Language id 1
#0 /zc158/includes/classes/order.php(912): zen_debug_error_handler()
#1 /zc158/includes/modules/checkout_process.php(101): order->create()
#2 /zc158/includes/modules/pages/checkout_process/header_php.php(13): require('/zc...')
#3 /zc158/index.php(35): require('/zc...')
--> PHP Warning: Undefined array key "postcode" in /zc158/includes/classes/order.php on line 912.

[23-Mar-2026 11:59:45 Canada/Pacific] Request URI: /index.php?main_page=checkout_process, IP address: x.x.x.x, Language id 1
#0 /zc158/includes/classes/order.php(913): zen_debug_error_handler()
#1 /zc158/includes/modules/checkout_process.php(101): order->create()
#2 /zc158/includes/modules/pages/checkout_process/header_php.php(13): require('/zc...')
#3 /zc158/index.php(35): require('/zc...')
--> PHP Warning: Undefined array key "state" in /zc158/includes/classes/order.php on line 913.

[23-Mar-2026 11:59:45 Canada/Pacific] Request URI: /index.php?main_page=checkout_process, IP address: x.x.x.x, Language id 1
#0 /zc158/includes/classes/order.php(914): zen_debug_error_handler()
#1 /zc158/includes/modules/checkout_process.php(101): order->create()
#2 /zc158/includes/modules/pages/checkout_process/header_php.php(13): require('/zc...')
#3 /zc158/index.php(35): require('/zc...')
--> PHP Warning: Undefined array key "country" in /zc158/includes/classes/order.php on line 914.

[23-Mar-2026 11:59:45 Canada/Pacific] Request URI: /index.php?main_page=checkout_process, IP address: x.x.x.x, Language id 1
#0 /zc158/includes/classes/order.php(914): zen_debug_error_handler()
#1 /zc158/includes/modules/checkout_process.php(101): order->create()
#2 /zc158/includes/modules/pages/checkout_process/header_php.php(13): require('/zc...')
#3 /zc158/index.php(35): require('/zc...')
--> PHP Warning: Trying to access array offset on value of type null in /zc158/includes/classes/order.php on line 914.

[23-Mar-2026 11:59:45 Canada/Pacific] Request URI: /index.php?main_page=checkout_process, IP address: x.x.x.x, Language id 1
#0 /zc158/includes/classes/order.php(915): zen_debug_error_handler()
#1 /zc158/includes/modules/checkout_process.php(101): order->create()
#2 /zc158/includes/modules/pages/checkout_process/header_php.php(13): require('/zc...')
#3 /zc158/index.php(35): require('/zc...')
--> PHP Warning: Undefined array key "format_id" in /zc158/includes/classes/order.php on line 915.

[23-Mar-2026 11:59:45 Canada/Pacific] Request URI: /index.php?main_page=checkout_process, IP address: x.x.x.x, Language id 1
#0 /zc158/includes/classes/order.php(916): zen_debug_error_handler()
#1 /zc158/includes/modules/checkout_process.php(101): order->create()
#2 /zc158/includes/modules/pages/checkout_process/header_php.php(13): require('/zc...')
#3 /zc158/index.php(35): require('/zc...')
--> PHP Warning: Undefined array key "firstname" in /zc158/includes/classes/order.php on line 916.

[23-Mar-2026 11:59:45 Canada/Pacific] Request URI: /index.php?main_page=checkout_process, IP address: x.x.x.x, Language id 1
#0 /zc158/includes/classes/order.php(916): zen_debug_error_handler()
#1 /zc158/includes/modules/checkout_process.php(101): order->create()
#2 /zc158/includes/modules/pages/checkout_process/header_php.php(13): require('/zc...')
#3 /zc158/index.php(35): require('/zc...')
--> PHP Warning: Undefined array key "lastname" in /zc158/includes/classes/order.php on line 916.

[23-Mar-2026 11:59:45 Canada/Pacific] Request URI: /index.php?main_page=checkout_process, IP address: x.x.x.x, Language id 1
#0 /zc158/includes/classes/order.php(917): zen_debug_error_handler()
#1 /zc158/includes/modules/checkout_process.php(101): order->create()
#2 /zc158/includes/modules/pages/checkout_process/header_php.php(13): require('/zc...')
#3 /zc158/index.php(35): require('/zc...')
--> PHP Warning: Undefined array key "company" in /zc158/includes/classes/order.php on line 917.

[23-Mar-2026 11:59:45 Canada/Pacific] Request URI: /index.php?main_page=checkout_process, IP address: x.x.x.x, Language id 1
#0 /zc158/includes/classes/order.php(918): zen_debug_error_handler()
#1 /zc158/includes/modules/checkout_process.php(101): order->create()
#2 /zc158/includes/modules/pages/checkout_process/header_php.php(13): require('/zc...')
#3 /zc158/index.php(35): require('/zc...')
--> PHP Warning: Undefined array key "street_address" in /zc158/includes/classes/order.php on line 918.

[23-Mar-2026 11:59:45 Canada/Pacific] Request URI: /index.php?main_page=checkout_process, IP address: x.x.x.x, Language id 1
#0 /zc158/includes/classes/order.php(919): zen_debug_error_handler()
#1 /zc158/includes/modules/checkout_process.php(101): order->create()
#2 /zc158/includes/modules/pages/checkout_process/header_php.php(13): require('/zc...')
#3 /zc158/index.php(35): require('/zc...')
--> PHP Warning: Undefined array key "suburb" in /zc158/includes/classes/order.php on line 919.

[23-Mar-2026 11:59:45 Canada/Pacific] Request URI: /index.php?main_page=checkout_process, IP address: x.x.x.x, Language id 1
#0 /zc158/includes/classes/order.php(920): zen_debug_error_handler()
#1 /zc158/includes/modules/checkout_process.php(101): order->create()
#2 /zc158/includes/modules/pages/checkout_process/header_php.php(13): require('/zc...')
#3 /zc158/index.php(35): require('/zc...')
--> PHP Warning: Undefined array key "city" in /zc158/includes/classes/order.php on line 920.

[23-Mar-2026 11:59:45 Canada/Pacific] Request URI: /index.php?main_page=checkout_process, IP address: x.x.x.x, Language id 1
#0 /zc158/includes/classes/order.php(921): zen_debug_error_handler()
#1 /zc158/includes/modules/checkout_process.php(101): order->create()
#2 /zc158/includes/modules/pages/checkout_process/header_php.php(13): require('/zc...')
#3 /zc158/index.php(35): require('/zc...')
--> PHP Warning: Undefined array key "postcode" in /zc158/includes/classes/order.php on line 921.

[23-Mar-2026 11:59:45 Canada/Pacific] Request URI: /index.php?main_page=checkout_process, IP address: x.x.x.x, Language id 1
#0 /zc158/includes/classes/order.php(922): zen_debug_error_handler()
#1 /zc158/includes/modules/checkout_process.php(101): order->create()
#2 /zc158/includes/modules/pages/checkout_process/header_php.php(13): require('/zc...')
#3 /zc158/index.php(35): require('/zc...')
--> PHP Warning: Undefined array key "state" in /zc158/includes/classes/order.php on line 922.

[23-Mar-2026 11:59:45 Canada/Pacific] Request URI: /index.php?main_page=checkout_process, IP address: x.x.x.x, Language id 1
#0 /zc158/includes/classes/order.php(923): zen_debug_error_handler()
#1 /zc158/includes/modules/checkout_process.php(101): order->create()
#2 /zc158/includes/modules/pages/checkout_process/header_php.php(13): require('/zc...')
#3 /zc158/index.php(35): require('/zc...')
--> PHP Warning: Undefined array key "country" in /zc158/includes/classes/order.php on line 923.

[23-Mar-2026 11:59:45 Canada/Pacific] Request URI: /index.php?main_page=checkout_process, IP address: x.x.x.x, Language id 1
#0 /zc158/includes/classes/order.php(923): zen_debug_error_handler()
#1 /zc158/includes/modules/checkout_process.php(101): order->create()
#2 /zc158/includes/modules/pages/checkout_process/header_php.php(13): require('/zc...')
#3 /zc158/index.php(35): require('/zc...')
--> PHP Warning: Trying to access array offset on value of type null in /zc158/includes/classes/order.php on line 923.

[23-Mar-2026 11:59:45 Canada/Pacific] Request URI: /index.php?main_page=checkout_process, IP address: x.x.x.x, Language id 1
#0 /zc158/includes/classes/order.php(924): zen_debug_error_handler()
#1 /zc158/includes/modules/checkout_process.php(101): order->create()
#2 /zc158/includes/modules/pages/checkout_process/header_php.php(13): require('/zc...')
#3 /zc158/index.php(35): require('/zc...')
--> PHP Warning: Undefined array key "format_id" in /zc158/includes/classes/order.php on line 924.

Those logs aren't an issue with the USPS/r shipping module, but in the checkout-process failing to check for requirements prior to continuing.

See these changes to the zc221 version of /includes/modules/checkout_process.php: <https://github.com/zencart/zencart/pull/7453/changes>
24 Mar 2026, 8:06 PM
#513
siliconbug avatar

siliconbug

Zen Follower

Join Date:
Apr 2009
Posts:
125
Plugin Contributions:
0

Re: USPS Shipping (RESTful) (USPSr)

Thanks!
I'm running v1.58 now.
I'll check out what happened between 3/22 and 3/23, because no files were modified, and all transactions on 3/22 were fine.

1 Apr 2026, 9:25 PM
#514
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,720
Plugin Contributions:
56

Re: USPS Shipping (RESTful) (USPSr)

Not sure non-encapsulated works anymore. Loads of issues updating from 1.2.0 to 1.8.4. Admin doesn't know about various definitions on storefront, causing partial white screens in Admin on the Modules > Shipping page. Deleted database keys and removed files, installed encapsulated, seems good now.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

1 Apr 2026, 10:06 PM
#515
retched avatar

retched

Totally Zenned

Join Date:
Jun 2007
Location:
Bronx, New York, United States
Posts:
949
Plugin Contributions:
3

Re: USPS Shipping (RESTful) (USPSr)

swguy:

Not sure non-encapsulated works anymore. Loads of issues updating from 1.2.0 to 1.8.4. Admin doesn't know about various definitions on storefront, causing partial white screens in Admin on the Modules > Shipping page. Deleted database keys and removed files, installed encapsulated, seems good now.

I will openly admit I don't think it's safe to go from 1.2 to 1.8.4 on the run. Non encapsulated should be uninstalled before updating and then rerunning the installer at that point.

2 Apr 2026, 12:55 AM
#516
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,720
Plugin Contributions:
56

Re: USPS Shipping (RESTful) (USPSr)

You have to not only uninstall but also delete the files from includes and admin. Might actually be an idea to toss in a utility .php file into the zip that removes all these files.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

2 Apr 2026, 1:00 AM
#517
retched avatar

retched

Totally Zenned

Join Date:
Jun 2007
Location:
Bronx, New York, United States
Posts:
949
Plugin Contributions:
3

Re: USPS Shipping (RESTful) (USPSr)

swguy:

You have to not only uninstall but also delete the files from includes and admin. Might actually be an idea to toss in a utility .php file into the zip that removes all these files.

Yeah I guess I can include it. I had one on the Repository, didn't think I should casually include it. But once ran, it will super uninstall the module. (Remove it from active modules, delete all USPSR_ keys, and all files that could possibly be installed.)

27 Apr 2026, 8:04 PM
#518
njcyx avatar

njcyx

Zen Follower

Join Date:
Apr 2019
Posts:
374
Plugin Contributions:
0

Re: USPS Shipping (RESTful) (USPSr)

v1.8.4. zc210. php8.1

Not sure if it is only me, sometimes I will receive the following warning from this plug-in.

[27-Apr-2026 13:46:21 America/New_York] Request URI: /index.php?main_page=popup_shipping_estimator, IP address: xxx, Language id 1
#0 [internal function]: zen_debug_error_handler()
#1 /zc_plugins/USPSRestful/v1.8.4/catalog/includes/modules/shipping/uspsr.php(416): json_decode()
#2 /includes/classes/shipping.php(257): uspsr->quote()
#3 /includes/modules/shipping_estimator.php(163): shipping->quote()
#4 /includes/templates/template_default/popup_shipping_estimator/tpl_main_page.php(15): require('/home/...')
#5 /index.php(94): require('/home/...')
--> PHP Deprecated: json_decode(): Passing null to parameter #1 ($json) of type string is deprecated in /zc_plugins/USPSRestful/v1.8.4/catalog/includes/modules/shipping/uspsr.php on line 416.

[27-Apr-2026 13:46:21 America/New_York] Request URI: /index.php?main_page=popup_shipping_estimator, IP address: 99.241.123.240, Language id 1
#0 [internal function]: zen_debug_error_handler()
#1 /zc_plugins/USPSRestful/v1.8.4/catalog/includes/modules/shipping/uspsr.php(430): json_decode()
#2 /includes/classes/shipping.php(257): uspsr->quote()
#3 /includes/modules/shipping_estimator.php(163): shipping->quote()
#4 /includes/templates/template_default/popup_shipping_estimator/tpl_main_page.php(15): require('/home/...')
#5 /index.php(94): require('/home/...')
--> PHP Deprecated: json_decode(): Passing null to parameter #1 ($json) of type string is deprecated in /zc_plugins/USPSRestful/v1.8.4/catalog/includes/modules/shipping/uspsr.php on line 430.

and

[27-Apr-2026 13:46:21 America/New_York] Request URI: /index.php?main_page=popup_shipping_estimator, IP address: xxx, Language id 1
#0 /zc_plugins/USPSRestful/v1.8.4/catalog/includes/modules/shipping/uspsr.php(450): zen_debug_error_handler()
#1 /includes/classes/shipping.php(257): uspsr->quote()
#2 /includes/modules/shipping_estimator.php(163): shipping->quote()
#3 /includes/templates/template_default/popup_shipping_estimator/tpl_main_page.php(15): require('/home/...')
#4 /index.php(94): require('/home/...')
--> PHP Warning: Trying to access array offset on value of type null in /zc_plugins/USPSRestful/v1.8.4/catalog/includes/modules/shipping/uspsr.php on line 450.

[27-Apr-2026 13:46:21 America/New_York] Request URI: /index.php?main_page=popup_shipping_estimator, IP address: xxx, Language id 1
#0 /zc_plugins/USPSRestful/v1.8.4/catalog/includes/modules/shipping/uspsr.php(451): zen_debug_error_handler()
#1 /includes/classes/shipping.php(257): uspsr->quote()
#2 /includes/modules/shipping_estimator.php(163): shipping->quote()
#3 /includes/templates/template_default/popup_shipping_estimator/tpl_main_page.php(15): require('/home/...')
#4 /index.php(94): require('/home/...')
--> PHP Warning: Trying to access array offset on value of type null in /zc_plugins/USPSRestful/v1.8.4/catalog/includes/modules/shipping/uspsr.php on line 451.
27 Apr 2026, 8:08 PM
#519
retched avatar

retched

Totally Zenned

Join Date:
Jun 2007
Location:
Bronx, New York, United States
Posts:
949
Plugin Contributions:
3

Re: USPS Shipping (RESTful) (USPSr)

njcyx:

v1.8.4. zc210. php8.1

Not sure if it is only me, sometimes I will receive the following warning from this plug-in.

[27-Apr-2026 13:46:21 America/New_York] Request URI: /index.php?main_page=popup_shipping_estimator, IP address: xxx, Language id 1
#0 [internal function]: zen_debug_error_handler()
#1 /zc_plugins/USPSRestful/v1.8.4/catalog/includes/modules/shipping/uspsr.php(416): json_decode()
#2 /includes/classes/shipping.php(257): uspsr->quote()
#3 /includes/modules/shipping_estimator.php(163): shipping->quote()
#4 /includes/templates/template_default/popup_shipping_estimator/tpl_main_page.php(15): require('/home/...')
#5 /index.php(94): require('/home/...')
--> PHP Deprecated: json_decode(): Passing null to parameter #1 ($json) of type string is deprecated in /zc_plugins/USPSRestful/v1.8.4/catalog/includes/modules/shipping/uspsr.php on line 416.

[27-Apr-2026 13:46:21 America/New_York] Request URI: /index.php?main_page=popup_shipping_estimator, IP address: 99.241.123.240, Language id 1
#0 [internal function]: zen_debug_error_handler()
#1 /zc_plugins/USPSRestful/v1.8.4/catalog/includes/modules/shipping/uspsr.php(430): json_decode()
#2 /includes/classes/shipping.php(257): uspsr->quote()
#3 /includes/modules/shipping_estimator.php(163): shipping->quote()
#4 /includes/templates/template_default/popup_shipping_estimator/tpl_main_page.php(15): require('/home/...')
#5 /index.php(94): require('/home/...')
--> PHP Deprecated: json_decode(): Passing null to parameter #1 ($json) of type string is deprecated in /zc_plugins/USPSRestful/v1.8.4/catalog/includes/modules/shipping/uspsr.php on line 430.

> 
> and 
> 
> ```php
[27-Apr-2026 13:46:21 America/New_York] Request URI: /index.php?main_page=popup_shipping_estimator, IP address: xxx, Language id 1
#0 /zc_plugins/USPSRestful/v1.8.4/catalog/includes/modules/shipping/uspsr.php(450): zen_debug_error_handler()
#1 /includes/classes/shipping.php(257): uspsr->quote()
#2 /includes/modules/shipping_estimator.php(163): shipping->quote()
#3 /includes/templates/template_default/popup_shipping_estimator/tpl_main_page.php(15): require('/home/...')
#4 /index.php(94): require('/home/...')
--> PHP Warning: Trying to access array offset on value of type null in /zc_plugins/USPSRestful/v1.8.4/catalog/includes/modules/shipping/uspsr.php on line 450.

[27-Apr-2026 13:46:21 America/New_York] Request URI: /index.php?main_page=popup_shipping_estimator, IP address: xxx, Language id 1
#0 /zc_plugins/USPSRestful/v1.8.4/catalog/includes/modules/shipping/uspsr.php(451): zen_debug_error_handler()
#1 /includes/classes/shipping.php(257): uspsr->quote()
#2 /includes/modules/shipping_estimator.php(163): shipping->quote()
#3 /includes/templates/template_default/popup_shipping_estimator/tpl_main_page.php(15): require('/home/...')
#4 /index.php(94): require('/home/...')
--> PHP Warning: Trying to access array offset on value of type null in /zc_plugins/USPSRestful/v1.8.4/catalog/includes/modules/shipping/uspsr.php on line 451.

Can you go ahead and run the debugger in the module and generate a config report?

28 Apr 2026, 2:05 PM
#520
njcyx avatar

njcyx

Zen Follower

Join Date:
Apr 2019
Posts:
374
Plugin Contributions:
0

Re: USPS Shipping (RESTful) (USPSr)

retched:

Can you go ahead and run the debugger in the module and generate a config report?

Sure. Do you mean "Generate Logs" function under "Debug Mode"?

It is an intermittent issue.