Warning: Trying to access array offset on null in /home/klient.dhosting.pl/sanier/sanier.pl/public_html/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 /home/klient.dhosting.pl/sanier/sanier.pl/public_html/wp-content/plugins/official-facebook-pixel/integration/FacebookWordpressWooCommerce.php:346
Stack trace:
#0 /home/klient.dhosting.pl/sanier/sanier.pl/public_html/wp-content/plugins/official-facebook-pixel/integration/FacebookWordpressWooCommerce.php(244): FacebookPixelPlugin\Integration\FacebookWordpressWooCommerce::getProductId(NULL)
#1 [internal function]: FacebookPixelPlugin\Integration\FacebookWordpressWooCommerce::createAddToCartEvent('d5efc0e36470497...', 275594, 1)
#2 /home/klient.dhosting.pl/sanier/sanier.pl/public_html/wp-content/plugins/official-facebook-pixel/core/ServerEventFactory.php(203): call_user_func_array(Array, Array)
#3 /home/klient.dhosting.pl/sanier/sanier.pl/public_html/wp-content/plugins/official-facebook-pixel/integration/FacebookWordpressWooCommerce.php(189): FacebookPixelPlugin\Core\ServerEventFactory::safeCreateEvent('AddToCart', Array, Array, 'woocommerce')
#4 /home/klient.dhosting.pl/sanier/sanier.pl/public_html/wp-includes/class-wp-hook.php(326): FacebookPixelPlugin\Integration\FacebookWordpressWooCommerce::trackAddToCartEvent('d5efc0e36470497...', 275594, 1, 0)
#5 /home/klient.dhosting.pl/sanier/sanier.pl/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
#6 /home/klient.dhosting.pl/sanier/sanier.pl/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#7 /home/klient.dhosting.pl/sanier/sanier.pl/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart.php(1287): do_action('woocommerce_add...', 'd5efc0e36470497...', 275594, 1, 0, Array, Array)
#8 /home/klient.dhosting.pl/sanier/sanier.pl/public_html/wp-content/plugins/woocommerce/includes/class-wc-form-handler.php(842): WC_Cart->add_to_cart(275594, 1)
#9 /home/klient.dhosting.pl/sanier/sanier.pl/public_html/wp-content/plugins/woocommerce/includes/class-wc-form-handler.php(814): WC_Form_Handler::add_to_cart_handler_simple(275594)
#10 /home/klient.dhosting.pl/sanier/sanier.pl/public_html/wp-includes/class-wp-hook.php(324): WC_Form_Handler::add_to_cart_action('')
#11 /home/klient.dhosting.pl/sanier/sanier.pl/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
#12 /home/klient.dhosting.pl/sanier/sanier.pl/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#13 /home/klient.dhosting.pl/sanier/sanier.pl/public_html/wp-settings.php(722): do_action('wp_loaded')
#14 /home/klient.dhosting.pl/sanier/sanier.pl/public_html/wp-config.php(92): require_once('/home/klient.dh...')
#15 /home/klient.dhosting.pl/sanier/sanier.pl/public_html/wp-load.php(50): require_once('/home/klient.dh...')
#16 /home/klient.dhosting.pl/sanier/sanier.pl/public_html/wp-blog-header.php(13): require_once('/home/klient.dh...')
#17 /home/klient.dhosting.pl/sanier/sanier.pl/public_html/index.php(17): require('/home/klient.dh...')
#18 {main}
thrown in /home/klient.dhosting.pl/sanier/sanier.pl/public_html/wp-content/plugins/official-facebook-pixel/integration/FacebookWordpressWooCommerce.php on line 346