Error_log file (PHP Notice)
Posted: Thu Sep 29, 2022 6:37 pm
I found this PHP Notice on the error_log file
ahcocheckoutpsp.php is a payment file I am not sure if the error comes from it
the line 108 on that file is
thank you in advance for your help
Omar
Code: Select all
PHP Notice: Undefined index: currency in /home/XXXX/public_html/includes/system/versioned/1.0.7.10/cart_order_builder.php on line 42
PHP Notice: Undefined index: currency in /home/XXXX/public_html/includes/system/versioned/1.0.7.10/cart_order_builder.php on line 43
PHP Notice: Undefined index: in /home/XXXX/public_html/includes/system/versioned/1.0.7.10/cart_order_builder.php on line 43
PHP Notice: Trying to access array offset on value of type null in /home/XXXX/public_html/includes/system/versioned/1.0.7.10/cart_order_builder.php on line 43
PHP Fatal error: Uncaught Error: Call to a member function fetch_to_address() on null in /home/XXXX/public_html/includes/system/versioned/1.0.7.10/cart_order_builder.php:65
Stack trace:
#0 /home/XXXX/public_html/includes/system/versioned/1.0.7.10/cart_order_builder.php(149): cart_order_builder->build_addresses()
#1 /home/XXXX/public_html/includes/system/versioned/1.0.7.10/order.php(25): cart_order_builder::build(Object(order))
#2 /home/XXXX/public_html/includes/classes/magic/loader.php(16): order->__construct()
#3 /home/XXXX/public_html/includes/system/versioned/1.0.8.1/hooks.php(164): Loader->__call('order', Array)
#4 /home/XXXX/public_html/includes/system/segments/checkout/pipeline.php(14): hooks->generate('startCheckout')
#5 /home/XXXX/public_html/ahcocheckoutpsp.php(108) : eval()'d code(3): require('/home/XXXX/p...')
#6 /home/XXXX/public_html/ahcocheckoutpsp.php(108): eval()
#7 {main}
thrown in /home/XXXX/public_html/includes/system/versioned/1.0.7.10/cart_order_builder.php on line 65the line 108 on that file is
Code: Select all
eval($checkoutProcessPhpCodeToBeExecuted);Omar