This topic has 3 replies, 2 voices, and was last updated 2 years, 9 months ago ago by tartakmeble
When trying to edit a product, in the product data I get a fatal error.
LINK wideo YT: https://youtu.be/PSgPrYxV6RQ
It looks as if the product has switched from a product with variants to a simple product mode.
And it forgets attributes.
However, it is displayed normally on the website. With attributes and variants.
The problem occurred mainly where the product had 2 variants.
I went to log this is what I got.
WordPress w wersji 5.8.3
Aktualny motyw: XStore Child (wersja 0.0.1)
Aktualna wtyczka: WooCommerce (wersja 6.1.1)
Wersja PHP: 7.4.27
Szczegóły błędu
===================
Błąd typu E_ERROR został spowodowany w linii 20 pliku /var/www/tartak-meble.com.pl/wp-content/plugins/woocommerce/includes/admin/meta-boxes/views/html-product-data-panel.php. Komunikat błędu: Uncaught Error: Call to a member function get_type() on bool in /var/www/tartak-meble.com.pl/wp-content/plugins/woocommerce/includes/admin/meta-boxes/views/html-product-data-panel.php:20
Stack trace:
#0 /var/www/tartak-meble.com.pl/wp-content/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-product-data.php(33): include()
#1 /var/www/tartak-meble.com.pl/wp-admin/includes/template.php(1395): WC_Meta_Box_Product_Data::output(Object(WP_Post), Array)
#2 /var/www/tartak-meble.com.pl/wp-admin/edit-form-advanced.php(688): do_meta_boxes(Object(WP_Screen), ‘normal’, Object(WP_Post))
#3 /var/www/tartak-meble.com.pl/wp-admin/post.php(206): require(‘/var/www/tartak…’)
#4 {main}
thrown
Hello,
Provide us with WP Dashboard and FTP access to your site. Do you have the mentioned error when the default WP theme, not XStore, is enabled?
Regards
The problem is caused by plugin Facebook for WooCommerce
Ver. 2.6.9
Thank you for your help
I am closing
You are the best. As usual:)
Tagged: best selling, persuasive, problem solving, product editing, themes, variants, woocommerce
The issue related to '‘Problem editing a product with variants’' has been successfully resolved, and the topic is now closed for further responses