• Resolved Energ

    (@energ)


    Hi!

    I am getting errors when trying to update a product with your plugin installed:
    – Undefined index: _sku …/class-wc-meta-box-product-data.php on line 986
    And couple of “headers already sent” errors.

    I tried deactivating all other plugins and even deleting all code inside my functions.php, but nothing worked. So, maybe there is something wrong with the plugin?

    After deactivating your plugin, everything works again. I am using the newest version of Woocommerce 2.1.12.

    https://www.ads-software.com/plugins/woocommerce-product-sku-generator/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Beka Rice

    (@bekarice)

    Hey there, we’d be happy to get this sorted. Can you let me know which version of the plugin you’re running so I can try to replicate this?

    Thanks!

    Thread Starter Energ

    (@energ)

    Sorry, for late response. It’s 1.0.1 (the newest).
    Let me know if I can do something else to help you.

    Oh, and I am developing at localhost, if that should matter.

    Plugin Author Beka Rice

    (@bekarice)

    Hmm, this is something that’s working for me on a localhost with the same setup. Sounds like the SKU isn’t being posted, potentially since it’s a disabled field. Could you tell me what browser you’re using when you test this?

    Plugin Author Beka Rice

    (@bekarice)

    * something that is working for me (can’t replicate)

    Thread Starter Energ

    (@energ)

    Hi,

    I am having a vacation so, sorry again for slow response. I am using Safari 7.0.5.

    But you should try again to replicate it with debug set to true in wp-config.php.
    Setting this to false, disables the error message for me.

    Plugin Author Beka Rice

    (@bekarice)

    Okay I can now get this with some tinkering ?? The issue was with the field being disabled, so we’ll push an update soon to just hide / replace it rather than disabling it. Thanks!

    Thread Starter Energ

    (@energ)

    Yes, thank you!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Undefined index: _sku’ is closed to new replies.