Problem editing a product with variants - by tartakmeble

This topic has 3 replies, 2 voices, and was last updated 2 years, 9 months ago ago by tartakmeble

  • Avatar: tartakmeble
    tartakmeble
    Participant
    January 25, 2022 at 17:32

    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

    2 Answers
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    January 26, 2022 at 11:43

    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

    Avatar: tartakmeble
    tartakmeble
    Participant
    January 27, 2022 at 10:49

    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:)

  • Viewing 3 results - 1 through 3 (of 3 total)

The issue related to '‘Problem editing a product with variants’' has been successfully resolved, and the topic is now closed for further responses

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.