• Resolved colinfroggatt

    (@colinfroggatt)


    Hi, I noticed this deprecation message in my logs recently when editing Products.

    stack from xdebug:

    PHP Deprecated:  woocommerce_product_write_panels is <strong>deprecated</strong> since version 2.6! Use Use woocommerce_product_data_panels action instead. instead. in .../wp-includes/functions.php on line 5691
    PHP Stack trace:
    PHP   1. {main}() .../wp-admin/post.php:0
    PHP   2. require() .../wp-admin/post.php:206
    PHP   3. do_meta_boxes() .../wp-admin/edit-form-advanced.php:688
    PHP   4. WC_Meta_Box_Product_Data::output() .../wp-admin/includes/template.php:1395
    PHP   5. include() .../wp-content/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-product-data.php:33
    PHP   6. wc_do_deprecated_action() .../wp-content/plugins/woocommerce/includes/admin/meta-boxes/views/html-product-data-panel.php:54
    PHP   7. wc_deprecated_hook() .../wp-content/plugins/woocommerce/includes/wc-deprecated-functions.php:34
    PHP   8. _deprecated_hook() .../wp-content/plugins/woocommerce/includes/wc-deprecated-functions.php:79
    PHP   9. trigger_error() .../wp-includes/functions.php:5691

    Env:
    WooCommerce version: 6.3.1
    WordPress version: 5.9.2
    PHP version: 7.4.28
    theme: WP 2020

    C-

Viewing 2 replies - 1 through 2 (of 2 total)
  • Mirko P.

    (@rainfallnixfig)

    Hi @colinfroggatt 👋

    The issue here is that changes in the WooCommerce core plugin have caused your theme or one or more of your existing plugins to be incompatible, using deprecated functions, etc.

    A common recommendation would be to disable all other plugins except WooCommerce to find out which one causes a conflict and temporarily switch to the WordPress default Storefront theme. Also, to avoid accidental unwanted changes it is advisable to backup your data.

    For more detailed instructions about conflict testing, check out this – How to test for plugin and theme conflicts.

    Please let us know how that goes.

    Mirko P.

    (@rainfallnixfig)

    Hi there,

    It’s been a while since we last heard back from you. I’m going to mark this thread as resolved.

    Hopefully, the above information was helpful. If you have further questions, please feel free to open a new topic.

    Cheers.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Deprecated: woocommerce_product_write_panels’ is closed to new replies.