• Hi! We have lot of this kind of erros in error log.

    Do you know what is causing these?

    [19-Oct-2025 03:09:05 UTC] PHP Warning: Undefined array key 2 in /data/wordpress/htdocs/wp-content/plugins/yith-woocommerce-gift-cards/includes/class-yith-wc-product-gift-card.php on line 371 [19-Oct-2025 03:09:05 UTC] PHP Warning: Undefined array key 4 in /data/wordpress/htdocs/wp-content/plugins/yith-woocommerce-gift-cards/includes/class-yith-wc-product-gift-card.php on line 371 [19-Oct-2025 03:16:27 UTC] PHP Warning: Undefined array key 2 in /data/wordpress/htdocs/wp-content/plugins/yith-woocommerce-gift-cards/includes/class-yith-wc-product-gift-card.php on line 371

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi there,
    thanks for contacting us!

    Could you confirm if you’re using the latest versions of WordPress, WooCommerce, and our plugin? What version of PHP are you using?

    Please let me know.

    Best regards.

    Thread Starter vilu8

    (@vilu8)

    Yes! I am.

    Php version is 8.3

    • This reply was modified 6 months, 3 weeks ago by vilu8.

    Hello there,

    Could you check by downgrading to PHP 8.2?

    Let us know.

    Best regards.

    Thread Starter vilu8

    (@vilu8)

    Hi!

    It was 8.2. couple of days ago. Did not change anything.

    Hi there,

    I’m sorry, but the line of code where you’re getting the error doesn’t match an array output. Could you confirm if your version is 4.29.0?

    Currently, the line is this:

    $price_format    = get_woocommerce_price_format();

    Let us know.

    Best regards.

    Thread Starter vilu8

    (@vilu8)

    Yes, the version is: Version 4.29.0 YITH

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘PHP errors – PHP Warning: Undefined array key’ is closed to new replies.