php 8.1. zc 1.58a
I received the following intermittent warning over the weekend. It is my first time to receive this warning.
PHP Code:
[21-Jul-2024 22:04:59 America/New_York] Request URI: /ajax.php?act=ajaxOnePageCheckout&method=updatePaymentMethod, IP address: xxxx, Language id 1
#0 /includes/classes/ajax/zcAjaxOnePageCheckout.php(435): zen_debug_error_handler()
#1 /includes/classes/ajax/zcAjaxOnePageCheckout.php(370): zcAjaxOnePageCheckout->createOrderTotalHtml()
#2 /ajax.php(85): zcAjaxOnePageCheckout->updatePaymentMethod()
--> PHP Warning: Undefined array key "shipping" in /includes/classes/ajax/zcAjaxOnePageCheckout.php on line 434.
The lines near line 434 is the following:
PHP Code:
$checkout_one->debug_message(
"Returning:\n" .
json_encode($order->info, JSON_PRETTY_PRINT) . "\n" .
json_encode($_SESSION['shipping']) . "\n" .
($_SESSION['payment'] ?? '[not set]'),
false,
'zcAjaxOnePageCheckout::createOrderTotalHtml'
);