• Resolved Marc Bernard

    (@luxxor)


    PHP 8.1, CAU 3.8.9.1

    Getting some deprecated warnings:

    [25-Jan-2024 13:49:09 UTC] PHP Warning: Undefined property: WP_Error::$tested in /.../wp-content/plugins/companion-auto-update/cau_functions.php on line 720
    [25-Jan-2024 13:49:09 UTC] PHP Deprecated: substr(): Passing null to parameter #1 ($string) of type string is deprecated in /.../wp-content/plugins/companion-auto-update/cau_functions.php on line 720

    This happens if some plugins don’t have $api->tested set.

    Please fix to avoid issues in higher PHP releases.

    Thanks
    Marc

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘PHP deprecated: substr(): Passing null to parameter’ is closed to new replies.