• Resolved KevinPlusPlus

    (@kevinplusplus)


    Hello,

    Since updating from PHP 7.4.x to PHP 8.0.x, there is a warning occurring regularly in the PHP logs that should be addressed for full PHP 8 compatibility.

    PHP Warning: Undefined array key “detail” in /mailchimp-for-woocommerce/includes/api/class-mailchimp-api.php on line 1894

    The existence of $data[‘detail’] just needs to be checked before referencing it. isset would do the trick. 🙂

    Hopefully this can make it into the next release for better PHP 8 compatibility.

    Kevin

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

The topic ‘PHP 8 Compatibility Changes’ is closed to new replies.