• Resolved nexbridge

    (@nexbridge)


    The following warnings are being triggered in the feedback() function in /wp-admin/includes/class-automatic-upgrader-skin.php when the core WordPress version auto-updates using this plugin:

    str_contains(): Passing null to parameter #1 ($haystack) of type string is deprecated

    trim(): Passing null to parameter #1 ($string) of type string is deprecated

    The PHP version being used is 8.2. It looks like the issue is caused by a NULL argument being passed into the feedback() function during the update process, whereas it is expecting a string, array, or WP_Error. Is there anything that can be done about this on the plugin side to avoid a NULL argument being passed, or do I need to raise this with the WordPress core team to allow a NULL argument to be passed and to handle it appropriately?

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

You must be logged in to reply to this topic.