Products not syncing — Scheduled Actions failures — Fatal Errors
-
Hi,
For several days now my Facebook for WooCommerce Product Sync has been failing (it worked fine beforehand).
In the Product Sync tab it constantly states “Your products are syncing – you may safely leave this page” and sometimes shows different numbers remaining; i.e. “558 items remaining.” or “30 items remaining.”
The loading spinner keeps on spinning, so I can’t disable Sync as the Save changes button is constantly greyed out.
Meanwhile, my Action Scheduler has numerous ‘Failed’ states for Facebook for WooCommerce.
Logs on this page show errors like:
2020-11-03 22:55:31 +0000 action created 2020-11-03 22:58:36 +0000 action started via WP Cron 2020-11-03 23:03:57 +0000 action timed out after 300 seconds
(Note: my PHP Max Execution Time is 600 seconds, yet I still get the 300 seconds time out notice in Scheduled Actions).
Occasionally, some of them show longer errors like:
2020-11-03 23:03:57 +0000 action created 2020-11-03 23:05:59 +0000 action started via WP Cron 2020-11-03 23:06:00 +0000 unexpected shutdown: PHP fatal error Uncaught Error: Call to a member function get_name() on string in /home/XXXXX/public_html/wp-content/plugins/facebook-for-woocommerce/includes/Products.php:1115 Stack trace: #0 /home/XXXXX/public_html/wp-content/plugins/facebook-for-woocommerce/includes/fbproduct.php(674): SkyVerge\WooCommerce\Facebook\Products::get_enhanced_catalog_attribute('age_group', Object(WC_Product_Variation)) #1 /home/XXXXX/public_html/wp-content/plugins/facebook-for-woocommerce/includes/fbproduct.php(605): WC_Facebook_Product->apply_enhanced_catalog_fields_from_attributes(Array, '1604') #2 /home/XXXXX/public_html/wp-content/plugins/facebook-for-woocommerce/includes/fbproductfeed.php(646): WC_Facebook_Product->prepare_product('wc_post_id_1204...', 'feed') #3 /home/XXXXX/public_html/wp-content/plugins/facebook-for-woocommerce/includes/fbproductfeed.php(580): WC_Facebook_Product_Feed->prepare_product_for_feed(Object(WC_Facebook_Product), Array) #4 /home/XXXXX/public_html/wp-content/plugins/facebook-for-woo in /home/XXXXX/public_html/wp-content/plugins/facebook-for-woocommerce/includes/Products.php on line 1115 0
Also meanwhile, my Fatal Error logs show multiple errors such as:
2020-11-04T00:00:46+00:00 CRITICAL Uncaught Error: Call to a member function get_name() on string in /home/XXXXX/public_html/wp-content/plugins/facebook-for-woocommerce/includes/Products.php:1115 Stack trace: #0 /home/XXXXX/public_html/wp-content/plugins/facebook-for-woocommerce/includes/fbproduct.php(674): SkyVerge\WooCommerce\Facebook\Products::get_enhanced_catalog_attribute('age_group', Object(WC_Product_Variation)) #1 /home/XXXXX/public_html/wp-content/plugins/facebook-for-woocommerce/includes/fbproduct.php(605): WC_Facebook_Product->apply_enhanced_catalog_fields_from_attributes(Array, '1604') #2 /home/XXXXX/public_html/wp-content/plugins/facebook-for-woocommerce/includes/fbproductfeed.php(646): WC_Facebook_Product->prepare_product('wc_post_id_1204...', 'feed') #3 /home/XXXXX/public_html/wp-content/plugins/facebook-for-woocommerce/includes/fbproductfeed.php(580): WC_Facebook_Product_Feed->prepare_product_for_feed(Object(WC_Facebook_Product), Array) #4 /home/XXXXX/public_html/wp-content/plugins/facebook-for-woo in /home/XXXXX/public_html/wp-content/plugins/facebook-for-woocommerce/includes/Products.php on line 1115
I’ve tried the usual disabling/re-enabling plugins, etc, nothing seems to fix the issue.
Product count is around ~5,000 including variations.
Please help! ??
The page I need help with: [log in to see the link]
- The topic ‘Products not syncing — Scheduled Actions failures — Fatal Errors’ is closed to new replies.