PHP8 Deprecated Notices Fixed. It's frowned upon to have an optional variable in a function followed by a required variable. We should either switch them around (not doing this here), or give both variables a default value in the function.
[Errors] Upon activate:
[10-Dec-2020 13:45:16 UTC] PHP Deprecated: Required parameter $list_id follows optional parameter $type in /srv/users/phptesting/apps/php8/public/wp-content/plugins/pmpro-mailchimp/classes/class-pmpromc-mailchimp-api.php on line 351
PHP8 Deprecated Notices Fixed. It's frowned upon to have an optional variable in a function followed by a required variable. We should either switch them around (not doing this here), or give both variables a default value in the function.
[Errors] Upon activate: