! “Fatal error” for ‘product data’ when Out of Stock or Disabled
-
Hello,
Recently I have been getting an error when trying to edit a product that:
??is set to sync with Facebook
??is published
? is enabled
(see screenshot: https://drive.google.com/file/d/1r4OZdX107bH200ndo5t2m4xuUe-IYqJ1/view?usp=sharing )The troubleshooting I have done:
??Disable FB sync for that product: works again
??Set product to private: works againWhat can I do to fix this? Preferably, I can leave Facebook sync ‘on’, no matter the product stock or visibility on site.
Using WooCommerce 5.9.0 with Facebook for Woocommerce 2.6.7
Full error reads:
.wp-die-message { display: none; } Fatal error: Uncaught Error: Call to a member function get_type() on boolin /home/spacezm258/domains/[mydomain]/public_html/wp-content/plugins/woocommerce/includes/admin/meta-boxes/views/html-product-data-panel.php on line 20 Call stack:include()wp-content/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-product-data.php: 33WC_Meta_Box_Product_Data::output()wp-admin/includes/template.php:1395 do_meta_boxes()wp-admin/edit-form-advanced.php:688 require()wp-admin/post.php:206 Query Monitor There has been a critical error on this website. Please check your site admin email inbox for instructions.Learn more about troubleshooting WordPress.
Thanks!
The page I need help with: [log in to see the link]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘! “Fatal error” for ‘product data’ when Out of Stock or Disabled’ is closed to new replies.