Hi @lat9, my site received several errors during the holiday, from one Australia customer.
PHP Code:
[02-Jul-2022 09:31:55 America/New_York] Request URI: /index.php?main_page=checkout_one, IP address: 1.129.27.xxx
#1 trigger_error() called at [/public_html/includes/classes/OnePageCheckout.php:1058]
#2 OnePageCheckout->getAddressValuesFromDb() called at [/public_html/includes/classes/OnePageCheckout.php:1031]
#3 OnePageCheckout->getAddressValues() called at [/public_html/includes/templates/template_default/templates/tpl_modules_opc_address_block.php:26]
#4 require(/public_html/includes/templates/template_default/templates/tpl_modules_opc_address_block.php) called at [/public_html/includes/templates/template_default/templates/tpl_modules_opc_shipping_address.php:31]
#5 require(/public_html/includes/templates/template_default/templates/tpl_modules_opc_shipping_address.php) called at [/public_html/includes/templates/template_default/templates/tpl_checkout_one_default.php:54]
#6 require(/public_html/includes/templates/template_default/templates/tpl_checkout_one_default.php) called at [/public_html/includes/templates/responsive_classic/common/tpl_main_page.php:185]
#7 require(/public_html/includes/templates/responsive_classic/common/tpl_main_page.php) called at [/public_html/index.php:94]
--> PHP Fatal error: unknown address_book_id () for customer_id (109389) in /public_html/includes/classes/OnePageCheckout.php on line 1058.
I received 7 log files and 6 files are the above content. One is the following:
PHP Code:
[02-Jul-2022 09:39:35 America/New_York] Request URI: /ajax.php?act=ajaxOnePageCheckout&method=updateShipping, IP address: 1.129.27.xxx
#1 trigger_error() called at [/public_html/includes/classes/OnePageCheckout.php:992]
#2 OnePageCheckout->setTempShippingToBilling() called at [/public_html/includes/classes/ajax/zcAjaxOnePageCheckout.php:56]
#3 zcAjaxOnePageCheckout->updateShipping() called at [/public_html/ajax.php:85]
--> PHP Fatal error: Invalid access; $_SESSION['billto'] is not set. in /public_html/includes/classes/OnePageCheckout.php on line 992.
Here are the codes near line 1058:
PHP Code:
if ($address_info->EOF) {
trigger_error("unknown address_book_id (" . $address_book_id . ') for customer_id (' . $_SESSION['customer_id'] . ')', E_USER_ERROR);
exit();
}
My OPC debug is ON so I have the log file at that time. Please DM me your email so I can send it to you.
Thanks in advance.
Bookmarks