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

WARNING: The constant FILTER_SANITIZE_STRING is deprecated since PHP 8.1 #108

Open
jigneshnakrani088 opened this issue Oct 25, 2023 · 0 comments

Comments

@jigneshnakrani088
Copy link

jigneshnakrani088 commented Oct 25, 2023

Got warnings/errors on PHP 8.1 and above for PHP compatibility check.

Deprecated: Constant FILTER_SANITIZE_STRING is deprecated in the following files.

List of files

  • sailthru-widget/classes/class-sailthru-scout.php
  • sailthru-widget/js/ajax.php
  • sailthru-widget/widget.subscribe.php
  • sailthru-widget/views/admin.functions.setup.options.php
  • sailthru-widget/views/admin.functions.integrations.options.php

WARNING | No PHP code was found in this file and short open tags are not allowed by this install of PHP. This file may be using short open tags but PHP does not allow them.

in sailthru-widget/views/display.php

jigneshnakrani088 pushed a commit to jigneshnakrani088/sailthru-wordpress-plugin that referenced this issue Oct 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant