Page 1 of 1

Notice: Undefined index: street_address & postcode

Posted: Mon Jul 12, 2021 8:36 pm
by abofayez
Notice: Undefined index: street_address in /home/xxxxxx/public_html/includes/modules/customer_data/cd_traditional_address.php on line 95

Notice: Undefined index: postcode in /home/xxxxxx/public_html/includes/modules/customer_data/cd_traditional_address.php on line 110


This message appeared (in the customer's account) when I hid the street address and zip code... This problem appeared on the site and did not appear on the local server.
I downloaded a copy from the site and ran it on the local server and the problem did not appear.
I completely deleted the script and installed it again on the site and the problem appeared again.
I don't know what's wrong.
These fields do not want to appear in the registration fields
What is the solution?

Re: Notice: Undefined index: street_address & postcode

Posted: Mon Jul 12, 2021 11:11 pm
by Nigel
There might be a difference in the versions of MySQL / PHP between your local setup and live site.
I had similar issues back in 1.0.81.
It was caused by Phoenix code using a different character set, a different utf8 set that uses more bytes per character.
Probably not the exact same problem but I would check your MySQL / PHP versions.

Re: Notice: Undefined index: street_address & postcode

Posted: Tue Jul 13, 2021 12:09 am
by abofayez
Thank you...you are unique and creative
PHP version was 7.3 .. I updated it to 7.4.20 and it worked perfectly without any problems.
Thank you