Warning: Undefined array key "data" in /home/kidsbedsonline/public_html/wp-content/plugins/clearpay-gateway-for-woocommerce/class/class-wc-gateway-clearpay.php on line 844
Warning: Undefined array key "product_id" in /home/kidsbedsonline/public_html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-wc-subscriptions/src/Helper/SubscriptionHelper.php on line 181
Fatal error: Uncaught Error: Call to a member function get_type() on false in /home/kidsbedsonline/public_html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-wc-subscriptions/src/Helper/SubscriptionHelper.php:183
Stack trace:
#0 /home/kidsbedsonline/public_html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-button/src/Assets/SmartButton.php(742): WooCommerce\PayPalCommerce\WcSubscriptions\Helper\SubscriptionHelper->paypal_subscription_id()
#1 /home/kidsbedsonline/public_html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-button/src/Assets/SmartButton.php(459): WooCommerce\PayPalCommerce\Button\Assets\SmartButton->script_data()
#2 /home/kidsbedsonline/public_html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-button/src/ButtonModule.php(67): WooCommerce\PayPalCommerce\Button\Assets\SmartButton->enqueue()
#3 /home/kidsbedsonline/public_html/wp-includes/class-wp-hook.php(341): WooCommerce\PayPalCommerce\Button\ButtonModule::WooCommerce\PayPalCommerce\Button\{closure}('')
#4 /home/kidsbedsonline/public_html/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters(NULL, Array)
#5 /home/kidsbedsonline/public_html/wp-includes/plugin.php(522): WP_Hook->do_action(Array)
#6 /home/kidsbedsonline/public_html/wp-includes/script-loader.php(2329): do_action('wp_enqueue_scri...')
#7 /home/kidsbedsonline/public_html/wp-includes/class-wp-hook.php(341): wp_enqueue_scripts('')
#8 /home/kidsbedsonline/public_html/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters(NULL, Array)
#9 /home/kidsbedsonline/public_html/wp-includes/plugin.php(522): WP_Hook->do_action(Array)
#10 /home/kidsbedsonline/public_html/wp-includes/general-template.php(3208): do_action('wp_head')
#11 /home/kidsbedsonline/public_html/wp-content/themes/flatsome/header.php(17): wp_head()
#12 /home/kidsbedsonline/public_html/wp-includes/template.php(814): require_once('/home/kidsbedso...')
#13 /home/kidsbedsonline/public_html/wp-includes/template.php(749): load_template('/home/kidsbedso...', true, Array)
#14 /home/kidsbedsonline/public_html/wp-includes/general-template.php(48): locate_template(Array, true, true, Array)
#15 /home/kidsbedsonline/public_html/wp-content/themes/flatsome/woocommerce/single-product.php(17): get_header('shop')
#16 /home/kidsbedsonline/public_html/wp-includes/template-loader.php(132): include('/home/kidsbedso...')
#17 /home/kidsbedsonline/public_html/wp-blog-header.php(19): require_once('/home/kidsbedso...')
#18 /home/kidsbedsonline/public_html/index.php(17): require('/home/kidsbedso...')
#19 {main}
thrown in /home/kidsbedsonline/public_html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-wc-subscriptions/src/Helper/SubscriptionHelper.php on line 183