Shopping Cart not showing
Posted: Sat May 18, 2024 8:34 pm
After clicking checkout on product_info.php I get a blank page for shopping_cart.php
Errors are :
I've checked the above files they all check out to 1.0.8.21 - php is 8.2.18
Errors are :
Code: Select all
[18-May-2024 20:14:16 UTC] PHP Fatal error: Uncaught TypeError: array_filter(): Argument #1 ($array) must be of type array, null given in /home/******/public_html/store/includes/system/versioned/1.0.5.1/customer.php:52
Stack trace:
#0 /home/******/public_html/store/includes/system/versioned/1.0.5.1/customer.php(52): array_filter(NULL, Object(Closure))
#1 /home/******/public_html/store/includes/system/versioned/1.0.5.1/customer.php(79): customer->fetch_address(4875)
#2 /home/******/public_html/store/includes/system/versioned/1.0.7.10/cart_order_builder.php(72): customer->fetch_to_address('4875')
#3 /home/******/public_html/store/includes/system/versioned/1.0.7.10/cart_order_builder.php(149): cart_order_builder->build_addresses()
#4 /home/******/public_html/store/includes/system/versioned/1.0.7.10/order.php(25): cart_order_builder::build(Object(order))
#5 /home/******/public_html/store/includes/modules/content/shopping_cart/cm_sc_shipping.php(42): order->__construct()
#6 /home/******/public_html/store/includes/system/versioned/1.0.8.4/template.php(106): cm_sc_shipping->execute()
#7 /home/******/public_html/store/templates/xpajun/includes/pages/shopping_cart.php(13): Template->get_content('shopping_cart')
#8 /home/******/public_html/store/shopping_cart.php(17): require('/home/******/...')
#9 {main}
thrown in /home/******/public_html/store/includes/system/versioned/1.0.5.1/customer.php on line 52
[18-May-2024 20:14:19 UTC] PHP Fatal error: Uncaught TypeError: array_filter(): Argument #1 ($array) must be of type array, null given in /home/******/public_html/store/includes/system/versioned/1.0.5.1/customer.php:52
Stack trace:
#0 /home/******/public_html/store/includes/system/versioned/1.0.5.1/customer.php(52): array_filter(NULL, Object(Closure))
#1 /home/******/public_html/store/includes/system/versioned/1.0.5.1/customer.php(79): customer->fetch_address(4875)
#2 /home/******/public_html/store/includes/system/versioned/1.0.7.10/cart_order_builder.php(72): customer->fetch_to_address('4875')
#3 /home/******/public_html/store/includes/system/versioned/1.0.7.10/cart_order_builder.php(149): cart_order_builder->build_addresses()
#4 /home/******/public_html/store/includes/system/versioned/1.0.7.10/order.php(25): cart_order_builder::build(Object(order))
#5 /home/******/public_html/store/includes/modules/content/shopping_cart/cm_sc_shipping.php(42): order->__construct()
#6 /home/******/public_html/store/includes/system/versioned/1.0.8.4/template.php(106): cm_sc_shipping->execute()
#7 /home/******/public_html/store/templates/xpajun/includes/pages/shopping_cart.php(13): Template->get_content('shopping_cart')
#8 /home/******/public_html/store/shopping_cart.php(17): require('/home/******/...')
#9 {main}
thrown in /home/******/public_html/store/includes/system/versioned/1.0.5.1/customer.php on line 52
[18-May-2024 20:14:21 UTC] PHP Warning: Undefined variable $order_id in /home/******/public_html/store/templates/xpajun/includes/pages/shopping_cart.php on line 19
[18-May-2024 20:14:23 UTC] PHP Fatal error: Uncaught TypeError: Text::output(): Argument #1 ($s) must be of type string, null given, called in /home/******/public_html/store/includes/system/versioned/1.0.8.other/1.0.8.21/select.php on line 72 and defined in /home/******/public_html/store/includes/system/versioned/1.0.8.2/text.php:59
Stack trace:
#0 /home/******/public_html/store/includes/system/versioned/1.0.8.other/1.0.8.21/select.php(72): Text::output(NULL, Array)
#1 /home/******/public_html/store/includes/system/versioned/1.0.8.other/1.0.8.21/select.php(97): Select->build_options()
#2 /home/******/public_html/store/includes/system/versioned/1.0.8.other/1.0.8.21/select.php(178): Select->draw()
#3 /home/******/public_html/store/includes/modules/content/product_info/templates/tpl_cm_pi_options_attributes.php(15): Select->__toString()
#4 /home/******/public_html/store/includes/modules/content/cm_template.php(14): include('/home/******/...')
#5 /home/******/public_html/store/includes/modules/content/product_info/cm_pi_options_attributes.php(25): include('/home/******/...')
#6 /home/******/public_html/store/includes/system/versioned/1.0.8.4/template.php(106): cm_pi_options_attributes->execute()
#7 /home/******/public_html/store/templates/xpajun/includes/pages/product_info.php(35): Template->get_content('product_info')
#8 /home/******/public_html/store/product_info.php(25): require('/home/******/...')
#9 {main}
thrown in /home/******/public_html/store/includes/system/versioned/1.0.8.2/text.php on line 59