Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, false given in /home/medquik/www/wp-content/plugins/official-facebook-pixel/integration/FacebookWordpressWooCommerce.php:126
Stack trace:
#0 /home/medquik/www/wp-content/plugins/official-facebook-pixel/integration/FacebookWordpressWooCommerce.php(126): count(false)
#1 /home/medquik/www/wp-content/plugins/official-facebook-pixel/integration/FacebookWordpressWooCommerce.php(116): FacebookPixelPlugin\Integration\FacebookWordpressWooCommerce::getProductCategory(6259)
#2 [internal function]: FacebookPixelPlugin\Integration\FacebookWordpressWooCommerce::createViewContentEvent(Object(WC_Product_Simple))
#3 /home/medquik/www/wp-content/plugins/official-facebook-pixel/core/ServerEventFactory.php(196): call_user_func_array(Array, Array)
#4 /home/medquik/www/wp-content/plugins/official-facebook-pixel/integration/FacebookWordpressWooCommerce.php(92): FacebookPixelPlugin\Core\ServerEventFactory::safeCreateEvent('ViewContent', Array, Array, 'woocommerce')
#5 /home/medquik/www/wp-includes/class-wp-hook.php(324): FacebookPixelPlugin\Integration\FacebookWordpressWooCommerce::trackViewContentEvent('')
#6 /home/medquik/www/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)
#7 /home/medquik/www/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#8 /home/medquik/www/wp-content/themes/zota/woocommerce/content-single-product.php(62): do_action('woocommerce_aft...')
#9 /home/medquik/www/wp-includes/template.php(812): require('/home/medquik/w...')
#10 /home/medquik/www/wp-content/plugins/woocommerce/includes/wc-core-functions.php(285): load_template('/home/medquik/w...', false)
#11 /home/medquik/www/wp-content/plugins/woocommerce/templates/single-product.php(37): wc_get_template_part('content', 'single-product')
#12 /home/medquik/www/wp-includes/template-loader.php(106): include('/home/medquik/w...')
#13 /home/medquik/www/wp-blog-header.php(19): require_once('/home/medquik/w...')
#14 /home/medquik/www/index.php(17): require('/home/medquik/w...')
#15 {main}
thrown in
/home/medquik/www/wp-content/plugins/official-facebook-pixel/integration/FacebookWordpressWooCommerce.php on line
126