-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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 compatibility] Deprecated - preg_split(): Passing null to parameter #2 ($subject) of type string is deprecated in Draw.php(2302) #20655
Comments
Hi @tsteur, This issue is the same problem as #20656 so I will mark that one as a duplicate and we'll address all occurrences of the same code ( |
@michalkleiner As the description should actually not be a required property of a data series, this might also be a a bug in |
Yes, that's a good point. We can approach it from either direction — either make sure we always pass at least an empty string (not a null value) or submit a PR for the c-pchart dependency to correctly handle optional descriptions with null coalesce operator. |
Had another look through the code and it seems it's actually a problem on our side and not the library. The library automatically sets the |
After upgrading to PHP 8.1 above warning is showing up in the logs. This is all the information we have.
The text was updated successfully, but these errors were encountered: