Results 1 to 10 of 447

Hybrid View

  1. #1
    Join Date
    Jun 2005
    Posts
    356
    Plugin Contributions
    0

    Default Re: USPS Shipping Module [Support Thread]

    Something didn't go well in that upgrade. Feel like I'm doing something dumb, but can't put a finger on it. Shipping module wouldn't load and was getting:
    Code:
    [25-Aug-2024 14:01:21 America/Chicago] PHP Fatal error: Uncaught TypeError: array_merge(): Argument #2 must be of type array, int given in /includes/classes/ResourceLoaders/ArraysLanguageLoader.php:122
    Stack trace:
    #0 /includes/classes/ResourceLoaders/ArraysLanguageLoader.php(122): array_merge(Array, 1)
    #1 /includes/classes/ResourceLoaders/ArraysLanguageLoader.php(86): Zencart\LanguageLoader\ArraysLanguageLoader->loadDefinesWithFallback('/home/pcs/publi...', '/home/pcs/publi...')
    #2 /includes/classes/ResourceLoaders/ArraysLanguageLoader.php(74): Zencart\LanguageLoader\ArraysLanguageLoader->loadDefinesFromArrayFile('/home/pcs/publi...', 'english', 'usps.php', '/modules/shippi...')
    #3 /includes/classes/ResourceLoaders/LanguageLoader.php(84): Zencart\LanguageLoader\ArraysLanguageLoader->loadExtraLanguageFiles('/home/pcs/publi...', 'english', 'usps.php', '/modules/shippi...')
    #4 /nimda123/modules.php(169): Zencart\LanguageLoader\LanguageLoader->loadExtraLanguageFiles('/home/pcs/publi...', 'english', 'usps.php', '/modules/shippi...')
    #5 /nimda123/index.php(16): require('/home/pcs/publi...')
    #6 {main}
    thrown in /includes/classes/ResourceLoaders/ArraysLanguageLoader.php on line 122
    
    [25-Aug-2024 14:01:21 America/Chicago] Request URI: /nimda123/index.php?cmd=modules&set=shipping&module=flat, IP address: 2601:300:4b01:2ce0:e001:a885:e1ef:8ed
    --> PHP Fatal error: Uncaught TypeError: array_merge(): Argument #2 must be of type array, int given in /includes/classes/ResourceLoaders/ArraysLanguageLoader.php:122
    Stack trace:
    #0 /includes/classes/ResourceLoaders/ArraysLanguageLoader.php(122): array_merge(Array, 1)
    #1 /includes/classes/ResourceLoaders/ArraysLanguageLoader.php(86): Zencart\LanguageLoader\ArraysLanguageLoader->loadDefinesWithFallback('/home/pcs/publi...', '/home/pcs/publi...')
    #2 /includes/classes/ResourceLoaders/ArraysLanguageLoader.php(74): Zencart\LanguageLoader\ArraysLanguageLoader->loadDefinesFromArrayFile('/home/pcs/publi...', 'english', 'usps.php', '/modules/shippi...')
    #3 /includes/classes/ResourceLoaders/LanguageLoader.php(84): Zencart\LanguageLoader\ArraysLanguageLoader->loadExtraLanguageFiles('/home/pcs/publi...', 'english', 'usps.php', '/modules/shippi...')
    #4 /nimda123/modules.php(169): Zencart\LanguageLoader\LanguageLoader->loadExtraLanguageFiles('/home/pcs/publi...', 'english', 'usps.php', '/modules/shippi...')
    #5 /nimda123/index.php(16): require('/home/pcs/publi...')
    #6 {main}
    thrown in /includes/classes/ResourceLoaders/ArraysLanguageLoader.php on line 122.
    
    [25-Aug-2024 14:01:21 America/Chicago] Request URI: /nimda123/index.php?cmd=modules&set=shipping&module=flat, IP address: 2601:300:4b01:2ce0:e001:a885:e1ef:8ed
    --> PHP Fatal error: Uncaught TypeError: array_merge(): Argument #2 must be of type array, int given in /includes/classes/ResourceLoaders/ArraysLanguageLoader.php:122
    Stack trace:
    #0 /includes/classes/ResourceLoaders/ArraysLanguageLoader.php(122): array_merge(Array, 1)
    #1 /includes/classes/ResourceLoaders/ArraysLanguageLoader.php(86): Zencart\LanguageLoader\ArraysLanguageLoader->loadDefinesWithFallback('/home/pcs/publi...', '/home/pcs/publi...')
    #2 /includes/classes/ResourceLoaders/ArraysLanguageLoader.php(74): Zencart\LanguageLoader\ArraysLanguageLoader->loadDefinesFromArrayFile('/home/pcs/publi...', 'english', 'usps.php', '/modules/shippi...')
    #3 /includes/classes/ResourceLoaders/LanguageLoader.php(84): Zencart\LanguageLoader\ArraysLanguageLoader->loadExtraLanguageFiles('/home/pcs/publi...', 'english', 'usps.php', '/modules/shippi...')
    #4 /nimda123/modules.php(169): Zencart\LanguageLoader\LanguageLoader->loadExtraLanguageFiles('/home/pcs/publi...', 'english', 'usps.php', '/modules/shippi...')
    #5 /nimda123/index.php(16): require('/home/pcs/publi...')
    #6 {main}
    thrown in /includes/classes/ResourceLoaders/ArraysLanguageLoader.php on line 122.
    zen 2.0.1
    php 8.3.10
    USPS K11K -> K11L
    2 + 2 = 5 for extremely large values of 2

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

  2. #2
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,942
    Plugin Contributions
    96

    Default Re: USPS Shipping Module [Support Thread]

    Nope, it was me doing something dumb (like thinking a simple change didn't need testing).

    I've re-published the K11l release, including the previously missing return $define; statement in the lang.usps.php file.

  3. #3
    Join Date
    Jun 2005
    Posts
    356
    Plugin Contributions
    0

    Default Re: USPS Shipping Module [Support Thread]

    :) it happens. Thanks lat9!
    Last edited by gothstone; 25 Aug 2024 at 08:42 PM.
    2 + 2 = 5 for extremely large values of 2

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

  4. #4
    Join Date
    Dec 2014
    Location
    https://t.me/pump_upp
    Posts
    16
    Plugin Contributions
    0

    Default Re: USPS Shipping Module [Support Thread]

    Reinstalled this module and upon testing I received the following failure:
    RAW XML FROM USPS:

    SimpleXMLElement Object
    (
    [Number] => 80040B23
    [Description] => API Authorization failure. User 96POPSS432O33 is not authorized to use API RateV4.
    [Source] => USPSCOM:oAuth
    )

    Now I'm really confused.

    Help

  5. #5
    Join Date
    Jun 2007
    Location
    Bronx, New York, United States
    Posts
    934
    Plugin Contributions
    9

    Default Re: USPS Shipping Module [Support Thread]

    Quote Originally Posted by popsshopga View Post
    Reinstalled this module and upon testing I received the following failure:
    RAW XML FROM USPS:

    SimpleXMLElement Object
    (
    [Number] => 80040B23
    [Description] => API Authorization failure. User 96POPSS432O33 is not authorized to use API RateV4.
    [Source] => USPSCOM:oAuth
    )

    Now I'm really confused.

    Help
    This likely means the username has been deauthorized from USPS. Contact the USPS Web Tools team to have your username re-authorized by sending an email to [email protected]

  6. #6
    Join Date
    Aug 2011
    Location
    North Dakota
    Posts
    67
    Plugin Contributions
    0

    Default Re: USPS Shipping Module [Support Thread]

    zen 2.1.0
    php 8.1.00
    USPS K11L
    My Webhost updated to PHP 8.1, making previous cart out of order. So I install Zen 2.1.0, and the newest USPS module. But I have three problems. The shipping estimator will only show "Store Pickup". Then during checkout Step 1 which should show option for Store Pickup, and shipping cost to the Zipcode. It does show the shipping cost, but there is no checkbox on the Store pickup line, it is blank. And there is no Continue button on the page to continue to Step 2 of the checkout. I'm not seeing any helpful error for either issues on webhost or the shopcart log folder. But when I "view source" on the page, there is java errors listed. I reloaded all the zava related files up to the website. But I still have the same problems.

  7. #7
    Join Date
    Jun 2007
    Location
    Bronx, New York, United States
    Posts
    934
    Plugin Contributions
    9

    Default Re: USPS Shipping Module [Support Thread]

    Would you happen to have a screenshot?

  8. #8
    Join Date
    Jun 2007
    Location
    Bronx, New York, United States
    Posts
    934
    Plugin Contributions
    9

    Default Re: USPS Shipping Module [Support Thread]

    Quote Originally Posted by NDboots View Post
    zen 2.1.0
    php 8.1.00
    USPS K11L
    My Webhost updated to PHP 8.1, making previous cart out of order. So I install Zen 2.1.0, and the newest USPS module. But I have three problems. The shipping estimator will only show "Store Pickup". Then during checkout Step 1 which should show option for Store Pickup, and shipping cost to the Zipcode. It does show the shipping cost, but there is no checkbox on the Store pickup line, it is blank. And there is no Continue button on the page to continue to Step 2 of the checkout. I'm not seeing any helpful error for either issues on webhost or the shopcart log folder. But when I "view source" on the page, there is java errors listed. I reloaded all the zava related files up to the website. But I still have the same problems.
    This almost sounds like a PHP error is generated. HAve you also checked the ZenCart logs folder?

 

 

Similar Threads

  1. Optional Shipping Insurance Module [Support Thread]
    By jettrue in forum Addon Shipping Modules
    Replies: 415
    Last Post: 6 Jul 2026, 02:45 PM
  2. MultiSite Module Support Thread
    By Gerome in forum All Other Contributions/Addons
    Replies: 2246
    Last Post: 29 Dec 2025, 10:13 AM
  3. Replies: 29
    Last Post: 24 Sep 2014, 09:59 PM
  4. Replies: 335
    Last Post: 1 Aug 2013, 08:54 PM
  5. PC Configurator Module [Support Thread]
    By lebrand2006 in forum All Other Contributions/Addons
    Replies: 254
    Last Post: 22 Aug 2012, 03:52 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg