• Hello,

    I am getting the following error messages on products when I add a custom field to it. The errors seem only to be slight as I have no issues checking out a product with this error.

    Lastly, I do not know if this is important but the error is repositioned after someone clicks “add to cart”. The error originates directly under the attribute I have set for color. Once the item is added to the cart the error jumps to the top of the page above the top menu and the error states the second error message.

    Error message 1

    Notice: Undefined index: custom-options in /home/inkdprint/shop.3inkd.com/store/wp-content/plugins/woocommerce-custom-options-lite/templates/custom_fields.php on line 13
    Custom_text

    Error Message 2

    Notice: Undefined variable: data_msg in /home/inkdprint/shop.3inkd.com/store/wp-content/plugins/woocommerce-custom-options-lite/classes/class-product-add-to-cart.php on line 599

Viewing 1 replies (of 1 total)
  • Thread Starter deathbybots

    (@deathbybots)

    Update: New error codes appear when I add an item to cart.

    Warning: Illegal string offset ‘name’ in /home/inkdprint/shop.3inkd.com/store/wp-content/plugins/woocommerce-custom-options-lite/classes/class-product-add-to-cart.php on line 574

    Notice: Uninitialized string offset: 0 in /home/inkdprint/shop.3inkd.com/store/wp-content/plugins/woocommerce-custom-options-lite/classes/class-product-add-to-cart.php on line 574

    Notice: Undefined index: custom-options in /home/inkdprint/shop.3inkd.com/store/wp-content/plugins/woocommerce-custom-options-lite/classes/class-product-add-to-cart.php on line 574

    Warning: Illegal string offset ‘required’ in /home/inkdprint/shop.3inkd.com/store/wp-content/plugins/woocommerce-custom-options-lite/classes/class-product-add-to-cart.php on line 576

    Notice: Uninitialized string offset: 0 in /home/inkdprint/shop.3inkd.com/store/wp-content/plugins/woocommerce-custom-options-lite/classes/class-product-add-to-cart.php on line 576

    Warning: Illegal string offset ‘max’ in /home/inkdprint/shop.3inkd.com/store/wp-content/plugins/woocommerce-custom-options-lite/classes/class-product-add-to-cart.php on line 588

    Notice: Uninitialized string offset: 0 in /home/inkdprint/shop.3inkd.com/store/wp-content/plugins/woocommerce-custom-options-lite/classes/class-product-add-to-cart.php on line 588

    Notice: Undefined variable: data_msg in /home/inkdprint/shop.3inkd.com/store/wp-content/plugins/woocommerce-custom-options-lite/classes/class-product-add-to-cart.php on line 599

    Warning: Illegal string offset ‘name’ in /home/inkdprint/shop.3inkd.com/store/wp-content/plugins/woocommerce-custom-options-lite/classes/class-product-add-to-cart.php on line 546

    Notice: Uninitialized string offset: 0 in /home/inkdprint/shop.3inkd.com/store/wp-content/plugins/woocommerce-custom-options-lite/classes/class-product-add-to-cart.php on line 546

    Notice: Undefined index: custom-options in /home/inkdprint/shop.3inkd.com/store/wp-content/plugins/woocommerce-custom-options-lite/classes/class-product-add-to-cart.php on line 546

Viewing 1 replies (of 1 total)
  • The topic ‘Custom Field Error on Product pages’ is closed to new replies.