Fatal error: Uncaught Error: Call to a member function get_id() on string
in /home/customer/www/sasuel.com/public_html/wp-content/themes/enfold-child/functions.php on line 251

Call stack:

  1. wcs_custom_get_availability()
    wp-includes/class-wp-hook.php:307
  2. WP_Hook::apply_filters()
    wp-includes/plugin.php:189
  3. apply_filters()
    wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-product.php:2056
  4. WC_Product::get_availability()
    wp-content/plugins/woocommerce/includes/wc-template-functions.php:3512
  5. wc_get_stock_html()
    wp-content/plugins/woocommerce/includes/class-wc-product-variable.php:367
  6. WC_Product_Variable::get_available_variation()
    wp-content/plugins/woocommerce/includes/class-wc-product-variable.php:312
  7. WC_Product_Variable::get_available_variations()
    wp-content/plugins/woocommerce-gateway-stripe/includes/payment-methods/class-wc-stripe-payment-request.php:910
  8. WC_Stripe_Payment_Request::should_show_payment_request_button()
    wp-content/plugins/woocommerce-gateway-stripe/includes/payment-methods/class-wc-stripe-payment-request.php:757
  9. WC_Stripe_Payment_Request::scripts()
    wp-includes/class-wp-hook.php:307
  10. WP_Hook::apply_filters()
    wp-includes/class-wp-hook.php:331
  11. WP_Hook::do_action()
    wp-includes/plugin.php:474
  12. do_action()
    wp-includes/script-loader.php:2115
  13. wp_enqueue_scripts()
    wp-includes/class-wp-hook.php:307
  14. WP_Hook::apply_filters()
    wp-includes/class-wp-hook.php:331
  15. WP_Hook::do_action()
    wp-includes/plugin.php:474
  16. do_action()
    wp-includes/general-template.php:3042
  17. wp_head()
    wp-content/themes/enfold/header.php:100
  18. require_once()
    wp-includes/template.php:770
  19. load_template()
    wp-includes/template.php:716
  20. locate_template()
    wp-includes/general-template.php:48
  21. get_header()
    wp-content/plugins/woocommerce/templates/single-product.php:22
  22. include()
    wp-includes/template-loader.php:106
  23. require_once()
    wp-blog-header.php:19
  24. require()
    index.php:17

Query Monitor