Fatal error: Uncaught Error: Call to a member function get_meta() on bool in /var/www/wp-content/plugins/woocommerce-add-to-cart-redirect/includes/helper-functions.php:44 Stack trace: #0 /var/www/wp-content/plugins/woocommerce-add-to-cart-redirect/includes/frontend-functions.php(26): Add_To_Cart_Redirect_For_WooCommerce\get_redirect_url(3560, '', 'https://mobilek...') #1 /var/www/wp-includes/class-wp-hook.php(326): Add_To_Cart_Redirect_For_WooCommerce\add_to_cart_redirect('https://mobilek...') #2 /var/www/wp-includes/plugin.php(205): WP_Hook->apply_filters('https://mobilek...', Array) #3 /var/www/wp-content/plugins/woocommerce/includes/class-wc-frontend-scripts.php(578): apply_filters('woocommerce_add...', 'https://mobilek...', NULL) #4 /var/www/wp-content/plugins/woocommerce/includes/class-wc-frontend-scripts.php(465): WC_Frontend_Scripts::get_script_data('wc-add-to-cart') #5 /var/www/wp-content/plugins/woocommerce/includes/class-wc-frontend-scripts.php(632): WC_Frontend_Scripts::localize_script('wc-add-to-cart') #6 /var/www/wp-includes/class-wp-hook.php(324): WC_Frontend_Scripts::localize_printed_scripts('') #7 /var/www/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #8 /var/www/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #9 /var/www/wp-includes/script-loader.php(2214): do_action('wp_print_script...') #10 /var/www/wp-includes/class-wp-hook.php(324): wp_print_head_scripts('') #11 /var/www/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #12 /var/www/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #13 /var/www/wp-includes/general-template.php(3052): do_action('wp_head') #14 /var/www/wp-content/themes/astra/header.php(31): wp_head() #15 /var/www/wp-includes/template.php(790): require_once('/var/www/wp-con...') #16 /var/www/wp-includes/template.php(725): load_template('/var/www/wp-con...', true, Array) #17 /var/www/wp-includes/general-template.php(48): locate_template(Array, true, true, Array) #18 /var/www/wp-content/themes/astra/404.php(15): get_header() #19 /var/www/wp-includes/template-loader.php(106): include('/var/www/wp-con...') #20 /var/www/wp-blog-header.php(19): require_once('/var/www/wp-inc...') #21 /var/www/index.php(17): require('/var/www/wp-blo...') #22 {main} thrown in /var/www/wp-content/plugins/woocommerce-add-to-cart-redirect/includes/helper-functions.php on line 44
WordPress › Error

There has been a critical error on this website.

Learn more about troubleshooting WordPress.