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 incompatibility - Deprecated - preg_split(): Passing null to parameter #2 ($subject) of type string is deprecated in Draw.php (2451) #20656

Closed
tsteur opened this issue May 3, 2023 · 1 comment
Labels
duplicate For issues that already existed in our issue tracker and were reported previously. wontfix If you can reproduce this issue, please reopen the issue or create a new one describing it.

Comments

@tsteur
Copy link
Member

tsteur commented May 3, 2023

vendor/szymach/c-pchart/src/Draw.php(2451): Deprecated - preg_split(): Passing null to parameter #2 ($subject) of type string is deprecated - Matomo 4.14.3-b1 - Please report this message in the Matomo forums: https://forum.matomo.org (please do a search first as it might have been reported already) [internal function]: Piwik\ErrorHandler::errorHandler(),#1/vendor/szymach/c-pchart/src/Draw.php(2451),#2/plugins/ImageGraph/StaticGraph/GridGraph.php(312),#3/plugins/ImageGraph/StaticGraph/Evolution.php(24),#4/plugins/ImageGraph/API.php(506),[internal function]: Piwik\Plugins\ImageGraph\API->get(),#6/core/API/Proxy.php(244),#7/core/Context.php(28),#8/core/API/Proxy.php(335),#9/core/API/Request.php(267)

After upgrading to PHP 8.1 above warning is showing up in the logs. This is all the information we have.

@tsteur tsteur added Potential Bug Something that might be a bug, but needs validation and confirmation it can be reproduced. To Triage An issue awaiting triage by a Matomo core team member labels May 3, 2023
@tsteur tsteur changed the title PHP 8.1 incompatibility - PHP 8.1 incompatibility - : Deprecated - preg_split(): Passing null to parameter #2 ($subject) of type string is deprecated in Draw.php (2451) May 3, 2023
@tsteur tsteur changed the title PHP 8.1 incompatibility - : Deprecated - preg_split(): Passing null to parameter #2 ($subject) of type string is deprecated in Draw.php (2451) PHP 8.1 incompatibility - Deprecated - preg_split(): Passing null to parameter #2 ($subject) of type string is deprecated in Draw.php (2451) May 3, 2023
@michalkleiner
Copy link
Contributor

Duplicate of #20655

@michalkleiner michalkleiner marked this as a duplicate of #20655 May 4, 2023
@michalkleiner michalkleiner added wontfix If you can reproduce this issue, please reopen the issue or create a new one describing it. duplicate For issues that already existed in our issue tracker and were reported previously. and removed Potential Bug Something that might be a bug, but needs validation and confirmation it can be reproduced. To Triage An issue awaiting triage by a Matomo core team member labels May 4, 2023
@mattab mattab closed this as not planned Won't fix, can't repro, duplicate, stale May 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate For issues that already existed in our issue tracker and were reported previously. wontfix If you can reproduce this issue, please reopen the issue or create a new one describing it.
Projects
None yet
Development

No branches or pull requests

3 participants