Skip to content

Deprecation notice in ee/ExpressionEngine/Addons/stats/mod.stats.php, line 167 #2505

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

Closed
bnetz opened this issue Nov 11, 2022 · 3 comments · Fixed by #2509
Closed

Deprecation notice in ee/ExpressionEngine/Addons/stats/mod.stats.php, line 167 #2505

bnetz opened this issue Nov 11, 2022 · 3 comments · Fixed by #2509
Assignees

Comments

@bnetz
Copy link

bnetz commented Nov 11, 2022

After updating to EE7 + PHP8 we get the following notice:

Deprecated
preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated
ee/ExpressionEngine/Addons/stats/mod.stats.php, line 167
Severity: E_DEPRECATED

Environment Details:

  • EE 7.2
  • PHP 8.1.12
@bnetz
Copy link
Author

bnetz commented Nov 27, 2022

Problem still persists after upgrading to 7.2.1

@bnetz
Copy link
Author

bnetz commented Nov 29, 2022

Solved with 7.2.2, thanks!

@matthewjohns0n
Copy link
Member

Awesome, glad to hear it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants