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

Several PHP Deprecated warnings #6236

Closed
sviluppomania opened this issue Nov 30, 2022 · 2 comments
Closed

Several PHP Deprecated warnings #6236

sviluppomania opened this issue Nov 30, 2022 · 2 comments
Labels
duplicate Reason for closed issues

Comments

@sviluppomania
Copy link

Bug Description

Hello,
I have encountered some warnings of PHP Deprecated, below:

  • Deprecated: Constant FILTER_SANITIZE_STRING is deprecated in /plugins/google-site-kit/includes/Core/Admin/Standalone.php on line 95
  • Deprecated: filter_input(): Passing null to parameter #4 ($options) of type array|int is deprecated in /plugins/google-site-kit/includes/Core/Util/Input.php on line 64
  • Deprecated: Constant FILTER_SANITIZE_STRING is deprecated in /plugins/google-site-kit/includes/Core/Authentication/Authentication.php on line 308
  • Deprecated: stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /plugins/google-site-kit/includes/Core/REST_API/REST_Routes.php on line 104
  • Deprecated: Constant FILTER_SANITIZE_STRING is deprecated in /plugins/google-site-kit/includes/Core/Assets/Assets.php on line 909

Is there a quick solution to these alerts? :-)

Thank you

Best regards

Additional Context

  • PHP Version: 8.1.12
  • Plugin Version: 1.88.0

Do not alter or remove anything below. The following sections will be managed by moderators only.

Acceptance criteria

Implementation Brief

Test Coverage

QA Brief

Changelog entry

@kuasha420
Copy link
Contributor

@sviluppomania Thanks for opening the issue. We are already working on this and hopefully will have these fixed in upcoming releases. See #5110 (related PR #5968) and #5998.

@kuasha420 kuasha420 closed this as not planned Won't fix, can't repro, duplicate, stale Dec 1, 2022
@kuasha420 kuasha420 added the duplicate Reason for closed issues label Dec 1, 2022
@sviluppomania
Copy link
Author

@kuasha420 When will these errors be fixed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate Reason for closed issues
Projects
None yet
Development

No branches or pull requests

2 participants