Notice: Trying to access array offset on value of type null in /home/ehwjffa/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 /home/ehwjffa/www/wp-content/plugins/official-facebook-pixel/integration/FacebookWordpressWooCommerce.php:346
Stack trace:
#0 /home/ehwjffa/www/wp-content/plugins/official-facebook-pixel/integration/FacebookWordpressWooCommerce.php(244): FacebookPixelPlugin\Integration\FacebookWordpressWooCommerce::getProductId(NULL)
#1 [internal function]: FacebookPixelPlugin\Integration\FacebookWordpressWooCommerce::createAddToCartEvent('a29d1598024f9e8...', 2112, 1)
#2 /home/ehwjffa/www/wp-content/plugins/official-facebook-pixel/core/ServerEventFactory.php(203): call_user_func_array(Array, Array)
#3 /home/ehwjffa/www/wp-content/plugins/official-facebook-pixel/integration/FacebookWordpressWooCommerce.php(193): FacebookPixelPlugin\Core\ServerEventFactory::safeCreateEvent('AddToCart', Array, Array, 'woocommerce')
#4 /home/ehwjffa/www/wp-includes/class-wp-hook.php(326): FacebookPixelPlugin\Integration\FacebookWordpressWooCommerce::trackAddToCartEvent('a29d1598024f9e in /home/ehwjffa/www/wp-content/plugins/official-facebook-pixel/integration/FacebookWordpressWooCommerce.php on line 346
WordPress › Error