Fatal error: Uncaught Error: Call to a member function get_id() on bool in /var/www/html/wp-content/themes/salient-child/functions.php:443
Stack trace:
#0 /var/www/html/wp-content/themes/salient-child/functions.php(478): get_custom_product_id_by_order()
#1 /var/www/html/wp-includes/class-wp-hook.php(287): get_order()
#2 /var/www/html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters()
#3 /var/www/html/wp-includes/plugin.php(478): WP_Hook->do_action()
#4 /var/www/html/wp-includes/general-template.php(2900): do_action()
#5 /var/www/html/wp-content/themes/salient/footer.php(59): wp_footer()
#6 /var/www/html/wp-includes/template.php(723): require_once('/var/www/html/w...')
#7 /var/www/html/wp-includes/template.php(672): load_template()
#8 /var/www/html/wp-includes/general-template.php(76): locate_template()
#9 /var/www/html/wp-content/plugins/woocommerce/templates/archive-product.php(105): get_footer()
#10 /var/www/html/wp-includes/template-loader.php(106): include('/var/www/html/w...')
#11 /var/www/html/wp-blog-head in
/var/www/html/wp-content/themes/salient-child/functions.php on line
443