Warning: Trying to access array offset on value of type null in /var/www/wp-content/plugins/official-facebook-pixel/integration/FacebookWordpressWooCommerce.php on line 244

Fatal error: Uncaught Error: Call to a member function get_id() on null in /var/www/wp-content/plugins/official-facebook-pixel/integration/FacebookWordpressWooCommerce.php:346 Stack trace: #0 /var/www/wp-content/plugins/official-facebook-pixel/integration/FacebookWordpressWooCommerce.php(244): FacebookPixelPlugin\Integration\FacebookWordpressWooCommerce::getProductId(NULL) #1 [internal function]: FacebookPixelPlugin\Integration\FacebookWordpressWooCommerce::createAddToCartEvent('cbfe5681369338a...', 3890, 1) #2 /var/www/wp-content/plugins/official-facebook-pixel/core/ServerEventFactory.php(203): call_user_func_array(Array, Array) #3 /var/www/wp-content/plugins/official-facebook-pixel/integration/FacebookWordpressWooCommerce.php(193): FacebookPixelPlugin\Core\ServerEventFactory::safeCreateEvent('AddToCart', Array, Array, 'woocommerce') #4 /var/www/wp-includes/class-wp-hook.php(326): FacebookPixelPlugin\Integration\FacebookWordpressWooCommerce::trackAddToCartEvent('cbfe5681369338a...', 3890, 1, 0) #5 /var/www/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #6 /var/www/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #7 /var/www/wp-content/plugins/woocommerce/includes/class-wc-cart.php(1286): do_action('woocommerce_add...', 'cbfe5681369338a...', 3890, 1, 0, Array, Array) #8 /var/www/wp-content/plugins/woocommerce/includes/class-wc-form-handler.php(834): WC_Cart->add_to_cart(3890, 1) #9 /var/www/wp-content/plugins/woocommerce/includes/class-wc-form-handler.php(806): WC_Form_Handler::add_to_cart_handler_simple(3890) #10 /var/www/wp-includes/class-wp-hook.php(324): WC_Form_Handler::add_to_cart_action('') #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-settings.php(665): do_action('wp_loaded') #14 /var/www/wp-config.php(98): require_once('/var/www/wp-set...') #15 /var/www/wp-load.php(50): require_once('/var/www/wp-con...') #16 /var/www/wp-blog-header.php(13): require_once('/var/www/wp-loa...') #17 /var/www/index.php(17): require('/var/www/wp-blo...') #18 {main} thrown in /var/www/wp-content/plugins/official-facebook-pixel/integration/FacebookWordpressWooCommerce.php on line 346
WordPress › Galat

Ada eror serius pada situs web Anda.

Pelajari lebih lanjut tentang pemecahan masalah di WordPress.