• jomo

    (@jonathanmoorebcsorg)


    Seeing some possible issue with WooCommerce 3.0.9.

    [27-Jun-2017 22:55:06 UTC] The The “woocommerce_add_order_item_meta” hook uses out of date data structures and function is deprecated since version 3.0.9. Replace with woocommerce_new_order_item.
    [27-Jun-2017 22:55:06 UTC] PHP Notice: Undefined index: _value in /wp-content/plugins/product-input-fields-for-woocommerce/includes/class-alg-wc-pif-main.php on line 218
    [27-Jun-2017 22:55:06 UTC] PHP Notice: Undefined index: alg_wc_pif_local in /wp-content/plugins/product-input-fields-for-woocommerce/includes/class-alg-wc-pif-main.php on line 215
    [27-Jun-2017 22:55:06 UTC] PHP Warning: Invalid argument supplied for foreach() in /wp-content/plugins/product-input-fields-for-woocommerce/includes/class-alg-wc-pif-main.php on line 217
    [27-Jun-2017 22:55:06 UTC] The The “woocommerce_add_order_item_meta” hook uses out of date data structures and function is deprecated since version 3.0.9. Replace with woocommerce_new_order_item.
    [27-Jun-2017 22:55:06 UTC] PHP Notice: Undefined index: _value in /wp-content/plugins/product-input-fields-for-woocommerce/includes/class-alg-wc-pif-main.php on line 218
    [27-Jun-2017 22:55:06 UTC] PHP Notice: Undefined index: alg_wc_pif_local in /wp-content/plugins/product-input-fields-for-woocommerce/includes/class-alg-wc-pif-main.php on line 215
    [27-Jun-2017 22:55:06 UTC] PHP Warning: Invalid argument supplied for foreach() in /wp-content/plugins/product-input-fields-for-woocommerce/includes/class-alg-wc-pif-main.php on line 217

    and with 3.0.8
    [27-Jun-2017 23:24:59 UTC] The The “woocommerce_add_order_item_meta” hook uses out of date data structures and function is deprecated since version 3.0.8. Replace with woocommerce_new_order_item.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Same problem here.

    Unsure what causes this problem. Is it woocommerce, a specific plugin, or?

    Ben Linders

    I have the same problem.
    It is for order item attributes.
    The recommended “woocommerce_new_order_item” does not work…or the data-structure for order-item attributes have completely changes….

    Algoritmika

    (@algoritmika)

    Hi,

    Sorry for such a delayed reply. We’ve just released new v1.1.1 – notice is fixed and should be gone now. Please let me know if it’s working as expected.

    Best regards,
    Tom

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘The “woocommerce_add_order_item_meta” hook is deprecated since version 3.0.9’ is closed to new replies.