If this is your first visit, check our documentation. To post, register or login.
Forums / Code Matters / Bug Reports / Undefined array key "gender"

Undefined array key "gender"

Started by royaldave on 19 Feb 2024, 9:11 AM · Views: 970

Results 1 to 1 of 1
19 Feb 2024, 9:11 AM
#1
royaldave avatar

royaldave

Zen Follower

Join Date:
Aug 2013
Location:
Perth, WA, AU
Posts:
285
Plugin Contributions:
1

Undefined array key "gender"

Working on my upgrade to 1.5.8a

If I go to Change the Shipping Address, and I enter everything except salutation and click continue I get this in the logs.

--> PHP Warning: Undefined array key "gender" in /var/www/html/zencart-1.5.8a/includes/modules/checkout_new_address.php on line 31.

It's minor, and I've now decided to turn off email salutation as an easy fix because it doesn't do much anyway.

But for those wanting clean logs be aware of this.