Results 1 to 3 of 3
  1. #1
    Join Date
    Jun 2012
    Location
    California
    Posts
    256
    Plugin Contributions
    0

    Default Odd warning log popped up multiple times within a few minutes of each other

    ZC 2.1
    PHP 8.3
    customer_tax_exempt_2.0.2
    edit_orders-5.0.2
    paypalr-1.2.1
    sales_report-4.0.2
    sitemapxml-4.0.4
    usps-USPS_2024_08_25_K11l
    zen_Image-Handler-5.3.5
    zen_TyPackageTracker-5.0.1

    The following warning log popped up five times over about 4 minutes.
    Any insight would be greatly appreciated. Thank You!

    Code:
    [22-Sep-2025 20:53:18 America/Boise] Request URI: /index.php?main_page=checkout_payment_address, IP address: ***.***.***.***, Language id 1
    #0 /public_html/includes/modules/checkout_new_address.php(32): zen_debug_error_handler()
    #1 /public_html/includes/modules/pages/checkout_payment_address/header_php.php(34): require('
    /...')
    #2 /public_html/index.php(35): require('/...')
    --> PHP Warning: Undefined array key "gender" in /public_html/includes/modules/checkout_new_address.php on line 32.

  2. #2
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,685
    Plugin Contributions
    95

    Default Re: Odd warning log popped up multiple times within a few minutes of each other

    Quote Originally Posted by wsworx View Post
    ZC 2.1
    PHP 8.3
    customer_tax_exempt_2.0.2
    edit_orders-5.0.2
    paypalr-1.2.1
    sales_report-4.0.2
    sitemapxml-4.0.4
    usps-USPS_2024_08_25_K11l
    zen_Image-Handler-5.3.5
    zen_TyPackageTracker-5.0.1

    The following warning log popped up five times over about 4 minutes.
    Any insight would be greatly appreciated. Thank You!

    Code:
    [22-Sep-2025 20:53:18 America/Boise] Request URI: /index.php?main_page=checkout_payment_address, IP address: ***.***.***.***, Language id 1
    #0 /public_html/includes/modules/checkout_new_address.php(32): zen_debug_error_handler()
    #1 /public_html/includes/modules/pages/checkout_payment_address/header_php.php(34): require('
    /...')
    #2 /public_html/index.php(35): require('/...')
    --> PHP Warning: Undefined array key "gender" in /public_html/includes/modules/checkout_new_address.php on line 32.
    Corrected post zc210 release via this commit: https://github.com/zencart/zencart/c...36e7f4575720a6

    Essentially, add the highlighted section to line 32 of that script:
    Code:
              $gender = zen_db_prepare_input($_POST['gender'] ?? '');

  3. #3
    Join Date
    Jun 2012
    Location
    California
    Posts
    256
    Plugin Contributions
    0

    Default Re: Odd warning log popped up multiple times within a few minutes of each other

    Your just the best lat9, thank you as always!

 

 

Similar Threads

  1. v158 Having to login all the time after a few minutes
    By Bruce1952 in forum General Questions
    Replies: 1
    Last Post: 4 Aug 2025, 12:34 AM
  2. v210 Odd warning log
    By wsworx in forum General Questions
    Replies: 4
    Last Post: 29 Apr 2025, 02:47 PM
  3. v150 Order Within x Hours x Minutes and It Ships Today - Customization
    By cloud9 in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 1 Dec 2017, 08:34 AM
  4. Session Timing out within 2 minutes?
    By Jeff_Mash in forum General Questions
    Replies: 13
    Last Post: 5 Aug 2017, 08:11 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