Fatal error: Uncaught Error: Call to undefined function wc_get_page_id() in /home/thegzozl/public_html/wp-content/plugins/add-to-cart-direct-checkout-for-woocommerce/public/class-pi-dcw-public.php:139
Stack trace:
#0 /home/thegzozl/public_html/wp-includes/class-wp-hook.php(324): Pi_Dcw_Public->cart_redirect('')
#1 /home/thegzozl/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
#2 /home/thegzozl/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#3 /home/thegzozl/public_html/wp-includes/template-loader.php(13): do_action('template_redire...')
#4 /home/thegzozl/public_html/wp-blog-header.php(19): require_once('/home/thegzozl/...')
#5 /home/thegzozl/public_html/index.php(17): require('/home/thegzozl/...')
#6 {main}
thrown in /home/thegzozl/public_html/wp-content/plugins/add-to-cart-direct-checkout-for-woocommerce/public/class-pi-dcw-public.php on line 139