zc210. opc2.6.3
I just received the following warnings. It is my first time to see this warning.
1st.
Code:
[06-Aug-2026 18:36:10 America/New_York] PHP Notice: unknown 'bill' address_book_id (15xxxx) for customer_id (109528) in /includes/classes/OnePageCheckout.php on line 1241
109528 is the OPC generated customer in my site. Line 1241 is the following.
PHP Code:
trigger_error("unknown '$which' address_book_id ($address_book_id) for customer_id (" . $_SESSION['customer_id'] . ')', E_USER_NOTICE);
2nd. Same time as 1st.
Code:
[06-Aug-2026 18:36:10 America/New_York] Request URI: /index.php?main_page=checkout_one, IP address: xxxx, Language id 1
#0 /includes/classes/OnePageCheckout.php(1250): zen_debug_error_handler()
#1 /includes/classes/OnePageCheckout.php(1214): OnePageCheckout->getAddressValuesFromDb()
#2 /includes/templates/template_default/templates/tpl_modules_opc_address_block.php(24): OnePageCheckout->getAddressValues()
#3 /includes/templates/template_default/templates/tpl_modules_opc_billing_address.php(14): require('/...')
#4 /includes/templates/template_default/templates/tpl_checkout_one_default.php(60): require('/...')
#5 /includes/templates/responsive_classic/common/tpl_main_page.php(187): require('/...')
#6 /index.php(94): require('/...')
--> PHP Warning: Attempt to read property "fields" on array in /includes/classes/OnePageCheckout.php on line 1250.
[06-Aug-2026 18:36:10 America/New_York] Request URI: /index.php?main_page=checkout_one, IP address: xxxx, Language id 1
#0 /includes/classes/OnePageCheckout.php(1250): zen_debug_error_handler()
#1 /includes/classes/OnePageCheckout.php(1214): OnePageCheckout->getAddressValuesFromDb()
#2 /includes/templates/template_default/templates/tpl_modules_opc_address_block.php(24): OnePageCheckout->getAddressValues()
#3 /includes/templates/template_default/templates/tpl_modules_opc_billing_address.php(14): require('/...')
#4 /includes/templates/template_default/templates/tpl_checkout_one_default.php(60): require('/...')
#5 /includes/templates/responsive_classic/common/tpl_main_page.php(187): require('/...')
#6 /index.php(94): require('/...')
--> PHP Warning: foreach() argument must be of type array|object, null given in /includes/classes/OnePageCheckout.php on line 1250.
[06-Aug-2026 18:36:10 America/New_York] PHP Fatal error: Uncaught Error: Attempt to modify property "fields" on array in /includes/classes/OnePageCheckout.php:1268
Stack trace:
#0 /includes/classes/OnePageCheckout.php(1214): OnePageCheckout->getAddressValuesFromDb(154952, 'bill')
#1 /includes/templates/template_default/templates/tpl_modules_opc_address_block.php(24): OnePageCheckout->getAddressValues('bill')
#2 /includes/templates/template_default/templates/tpl_modules_opc_billing_address.php(14): require('/...')
#3 /includes/templates/template_default/templates/tpl_checkout_one_default.php(60): require('/...')
#4 /includes/templates/responsive_classic/common/tpl_main_page.php(187): require('/...')
#5 /index.php(94): require('/...')
#6 {main}
thrown in /includes/classes/OnePageCheckout.php on line 1268
[06-Aug-2026 18:36:10 America/New_York] Request URI: /index.php?main_page=checkout_one, IP address: xxxx
--> PHP Fatal error: Uncaught Error: Attempt to modify property "fields" on array in /includes/classes/OnePageCheckout.php:1268
Stack trace:
#0 /includes/classes/OnePageCheckout.php(1214): OnePageCheckout->getAddressValuesFromDb(154952, 'bill')
#1 /includes/templates/template_default/templates/tpl_modules_opc_address_block.php(24): OnePageCheckout->getAddressValues('bill')
#2 /includes/templates/template_default/templates/tpl_modules_opc_billing_address.php(14): require('/...')
#3 /includes/templates/template_default/templates/tpl_checkout_one_default.php(60): require('/...')
#4 /includes/templates/responsive_classic/common/tpl_main_page.php(187): require('/...')
#5 /index.php(94): require('/...')
#6 {main}
thrown in /includes/classes/OnePageCheckout.php on line 1268.
[06-Aug-2026 18:36:10 America/New_York] Request URI: /index.php?main_page=checkout_one, IP address: xxxx
--> PHP Fatal error: Uncaught Error: Attempt to modify property "fields" on array in /includes/classes/OnePageCheckout.php:1268
Stack trace:
#0 /includes/classes/OnePageCheckout.php(1214): OnePageCheckout->getAddressValuesFromDb(154952, 'bill')
#1 /includes/templates/template_default/templates/tpl_modules_opc_address_block.php(24): OnePageCheckout->getAddressValues('bill')
#2 /includes/templates/template_default/templates/tpl_modules_opc_billing_address.php(14): require('/...')
#3 /includes/templates/template_default/templates/tpl_checkout_one_default.php(60): require('/...')
#4 /includes/templates/responsive_classic/common/tpl_main_page.php(187): require('/...')
#5 /index.php(94): require('/...')
#6 {main}
thrown in /includes/classes/OnePageCheckout.php on line 1268.
Line 1250 is the following
PHP Code:
foreach ($address_info->fields as $key => $value) {
Line 1268 is the following.
PHP Code:
$address_info->fields['telephone'] = $telephone->fields['customers_telephone'] ?? '';
Not sure if it is related to the warning I found by the end of last month.