Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2014
    Posts
    216
    Plugin Contributions
    0

    Default Undefined array key 0 in includes/functions/general.php on line 354.

    So I'm running V1.5.8a with PHP 8.1.22

    I get the following error log.
    Code:
    [22-Aug-2023 22:47:36 America/New_York] Request URI: /store/admin/index.php?cmd=modules&set=shipping&module=usps, IP address: 71.31.43.66, Language id 1
    #0 /homepageswebsite/admin/includes/functions/general.php(354): zen_debug_error_handler()
    #1 /homepageswebsite/admin/includes/classes/VersionServer.php(110): zen_get_system_information()
    #2 /homepageswebsite/admin/includes/classes/VersionServer.php(25): VersionServer->buildCurrentInfo()
    #3 /homepageswebsite/admin/includes/classes/VersionServer.php(63): VersionServer->getZcVersioninfo()
    #4 /homepageswebsite/includes/functions/plugin_support.php(49): VersionServer->getPluginVersion()
    #5 /homepageswebsite/includes/modules/shipping/usps.php(214): plugin_version_check_for_updates()
    #6 /homepageswebsite/includes/modules/shipping/usps.php(185): usps->adminInitializationChecks()
    #7 /homepageswebsite/admin/modules.php(187): usps->__construct()
    #8 /homepageswebsite/admin/index.php(11): require('/homepages/36/d...')
    --> PHP Warning: Undefined array key 0 in /homepageswebsite/admin/includes/functions/general.php on line 354.
    
    [22-Aug-2023 22:47:38 America/New_York] Request URI: /store/admin/index.php?cmd=modules&set=shipping&module=usps, IP address: 71.31.43.66, Language id 1
    #0 /homepageswebsite/admin/includes/functions/general.php(354): zen_debug_error_handler()
    #1 /homepageswebsite/admin/includes/classes/VersionServer.php(110): zen_get_system_information()
    #2 /homepageswebsite/admin/includes/classes/VersionServer.php(25): VersionServer->buildCurrentInfo()
    #3 /homepageswebsite/admin/includes/classes/VersionServer.php(63): VersionServer->getZcVersioninfo()
    #4 /homepageswebsite/includes/functions/plugin_support.php(49): VersionServer->getPluginVersion()
    #5 /homepageswebsite/includes/modules/shipping/usps.php(214): plugin_version_check_for_updates()
    #6 /homepageswebsite/includes/modules/shipping/usps.php(185): usps->adminInitializationChecks()
    #7 /homepageswebsite/admin/modules.php(346): usps->__construct()
    #8 /homepageswebsite/admin/index.php(11): require('/homepages/36/d...')
    --> PHP Warning: Undefined array key 0 in /homepageswebsite/admin/includes/functions/general.php on line 354.

  2. #2
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,699
    Plugin Contributions
    9

    Default Re: Undefined array key 0 in includes/functions/general.php on line 354.

    i would look here:

    https://github.com/lat9/usps/blob/a4....php#L131-L134

    and set that constant to 0.

    see if that helps.

    best.
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

 

 

Similar Threads

  1. Replies: 1
    Last Post: 13 Mar 2019, 10:56 PM
  2. /admin/includes/functions/general.php not in my files
    By suzijohn in forum Upgrading from 1.3.x to 1.3.9
    Replies: 1
    Last Post: 9 Jan 2011, 11:32 PM
  3. /includes/functions/sessions.php on line 61
    By dustyservers in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 5 Dec 2006, 02:21 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR