Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP 8.1: PHP Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated #1349

Closed
thefrosty opened this issue Jun 22, 2022 · 1 comment · Fixed by #1513
Labels
compatibility PHP or WordPress version compatibility related issue php Pull requests that update Php code
Milestone

Comments

@thefrosty
Copy link

Bug Report

Expected Behavior

No error message.

Actual Behavior

PHP Deprecated:  strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /usr/local/wordpress/wp-content/plugins/stream/classes/class-log.php on line 215

Steps to Reproduce the Problem

  1. Just logging in and traversing core admin pages.

System Information

  • Stream plugin version: 3.9.0
  • WordPress version: 6.0
  • PHP version: 8.1
@kasparsd kasparsd added compatibility PHP or WordPress version compatibility related issue php Pull requests that update Php code labels Aug 23, 2022
@kasparsd kasparsd added this to the PHP 8 Compatibility milestone Jan 10, 2023
@kasparsd kasparsd mentioned this issue Apr 11, 2023
10 tasks
@justinmaurerdotdev
Copy link

Bumping this issue because it was not, in fact, fixed by the previous merges. But, my most recent PR should fix this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment