• Resolved grannygrudge

    (@grannygrudge)


    Thank you for this brilliant plugin.

    When a user clicks into “My Account” (https://URL/my-account/), they are presented with the following error:

    Warning: Undefined array key "customer-logout" in /.../wp-content/plugins/wt-smart-coupons-for-woocommerce/public/class-myaccount-smart-coupon.php on line 61

    This issue occurs when using PHP 8.2, 8.1, and 8.0. It does not occur when using PHP 7.4.

    Versions in use:

    • Smart Coupons For WooCommerce Coupons v1.4.4
    • WooCommerce v7.3.0
    • WordPress v6.1.1

    Any thoughts?

Viewing 1 replies (of 1 total)
  • Plugin Support WebToffee Support

    (@webtoffeesupport)

    Hi @grannygrudge,

    Thanks for reaching out to us.

    We have identified the issue and fixed it in the latest beta versions of the plugin. After completing necessary tests, we will implement it in the upcoming release of the plugin.

Viewing 1 replies (of 1 total)

The topic ‘“Undefined array key” When using PHP 8.x’ is closed to new replies.