Warning: Trying to access array offset on value of type null in /homepages/29/d839422896/htdocs/clickandbuilds/WordPress/Lacera_2/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 /homepages/29/d839422896/htdocs/clickandbuilds/WordPress/Lacera_2/wp-content/plugins/official-facebook-pixel/integration/FacebookWordpressWooCommerce.php:346 Stack trace: #0 /homepages/29/d839422896/htdocs/clickandbuilds/WordPress/Lacera_2/wp-content/plugins/official-facebook-pixel/integration/FacebookWordpressWooCommerce.php(244): FacebookPixelPlugin\Integration\FacebookWordpressWooCommerce::getProductId(NULL) #1 [internal function]: FacebookPixelPlugin\Integration\FacebookWordpressWooCommerce::createAddToCartEvent('4ae1e2b07ecf6c7...', 4953, 1) #2 /homepages/29/d839422896/htdocs/clickandbuilds/WordPress/Lacera_2/wp-content/plugins/official-facebook-pixel/core/ServerEventFactory.php(187): call_user_func_array(Array, Array) #3 /homepages/29/d839422896/htdocs/clickandbuilds/WordPress/Lacera_2/wp-content/plugins/official-facebook-pixel/integration/FacebookWordpressWooCommerce.php(193): FacebookPixelPlugin\Core\ServerEventFactory::safeCreateEvent('AddToCart', Array, Array, 'woocommerce') #4 /homepages/29/d839422896/htdocs/clickandbuilds/WordPress/Lacera_2/wp-includes/class-wp-hook.php(310): FacebookPixelPlugin\Integration\FacebookWordpressWooCommerce::trackAddToCartEvent('4ae1e2b07ecf6c7...', 4953, 1, 0) #5 /homepages/29/d839422896/htdocs/clickandbuilds/WordPress/Lacera_2/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) #6 /homepages/29/d839422896/htdocs/clickandbuilds/WordPress/Lacera_2/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #7 /homepages/29/d839422896/htdocs/clickandbuilds/WordPress/Lacera_2/wp-content/plugins/woocommerce/includes/class-wc-cart.php(1279): do_action('woocommerce_add...', '4ae1e2b07ecf6c7...', 4953, 1, 0, Array, Array) #8 /homepages/29/d839422896/htdocs/clickandbuilds/WordPress/Lacera_2/wp-content/plugins/woocommerce/includes/class-wc-form-handler.php(824): WC_Cart->add_to_cart(4953, 1) #9 /homepages/29/d839422896/htdocs/clickandbuilds/WordPress/Lacera_2/wp-content/plugins/woocommerce/includes/class-wc-form-handler.php(796): WC_Form_Handler::add_to_cart_handler_simple(4953) #10 /homepages/29/d839422896/htdocs/clickandbuilds/WordPress/Lacera_2/wp-includes/class-wp-hook.php(308): WC_Form_Handler::add_to_cart_action('') #11 /homepages/29/d839422896/htdocs/clickandbuilds/WordPress/Lacera_2/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) #12 /homepages/29/d839422896/htdocs/clickandbuilds/WordPress/Lacera_2/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #13 /homepages/29/d839422896/htdocs/clickandbuilds/WordPress/Lacera_2/wp-settings.php(639): do_action('wp_loaded') #14 /homepages/29/d839422896/htdocs/clickandbuilds/WordPress/Lacera_2/wp-config.php(88): require_once('/homepages/29/d...') #15 /homepages/29/d839422896/htdocs/clickandbuilds/WordPress/Lacera_2/wp-load.php(50): require_once('/homepages/29/d...') #16 /homepages/29/d839422896/htdocs/clickandbuilds/WordPress/Lacera_2/wp-blog-header.php(13): require_once('/homepages/29/d...') #17 /homepages/29/d839422896/htdocs/clickandbuilds/WordPress/Lacera_2/index.php(17): require('/homepages/29/d...') #18 {main} thrown in /homepages/29/d839422896/htdocs/clickandbuilds/WordPress/Lacera_2/wp-content/plugins/official-facebook-pixel/integration/FacebookWordpressWooCommerce.php on line 346