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

    Default Odd warning log popped up

    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

    Received this warning log a couple off days ago.
    Any assistance is greatly appreciated.

    Code:
    [06-Oct-2025 13:11:24 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
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,553
    Plugin Contributions
    11

    Default Re: Odd warning log popped up

    Look at the file and find:

    Code:
    if (isset($_POST['action']) && ($_POST['action'] === 'submit')) {
        // process a new address
    
    
    
    
    
        if (!empty($_POST['firstname']) && !empty($_POST['lastname']) && !empty($_POST['street_address'])) {
    
    
    
    
    
            $process = true;
    
    
    
    
    
    
    
    if (ACCOUNT_GENDER === 'true') {
    About 7 months ago, a line was added by swguy:

    Code:
    $gender = zen_db_prepare_input($_POST['gender'] ?? '');
    
    
    You can see all the changes to the file at https://github.com/zencart/zencart/b...ew_address.php
    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

  3. #3
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,873
    Plugin Contributions
    13

    Default Re: Odd warning log popped up

    Code:
    [06-Oct-2025 13:11:24 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.
    the code is transitioning....
    author of square Webpay.
    mxWorks now has Apple Pay and Google Pay. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

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

    Default Re: Odd warning log popped up

    Quote Originally Posted by dbltoe View Post
    Look at the file and find:

    Code:
    if (isset($_POST['action']) && ($_POST['action'] === 'submit')) {
        // process a new address
    
    
    
    
    
        if (!empty($_POST['firstname']) && !empty($_POST['lastname']) && !empty($_POST['street_address'])) {
    
    
    
    
    
            $process = true;
    
    
    
    
    
    
    
    if (ACCOUNT_GENDER === 'true') {
    About 7 months ago, a line was added by swguy:

    Code:
    $gender = zen_db_prepare_input($_POST['gender'] ?? '');
    
    
    You can see all the changes to the file at https://github.com/zencart/zencart/b...ew_address.php
    Thank You for the feedback.
    I reviewed my files and that line is in there.

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

    Default Re: Odd warning log popped up

    What do you mean by "transitioning"?

 

 

Similar Threads

  1. Replies: 2
    Last Post: 29 Sep 2025, 06:33 PM
  2. v210 Odd warning log
    By wsworx in forum General Questions
    Replies: 4
    Last Post: 29 Apr 2025, 02:47 PM
  3. v151 Very odd webserver log entry
    By DigiBooks in forum General Questions
    Replies: 9
    Last Post: 11 Feb 2017, 01:04 PM
  4. Very odd looking admin log in and home page
    By teddybear in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 24 Nov 2007, 05:49 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