• Resolved Nauriskolats

    (@nauriskolats)


    Hi,

    I’m getting multiple of these in my log:

    PHP Deprecated: Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/woocommerce-gateway-stripe/includes/class-wc-stripe-customer.php on line 189

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi there @nauriskolats ??

    Thanks for reaching out about this. Let’s troubleshoot it together!

    FILTER_SANITIZE_STRING is deprecated

    I’m getting multiple of these in my log

    To clarify, what change(s) took place right before the log started logging these?

    Per the search results, linked here, it appears in the files:

    • includes/class-wc-stripe-customer.php
    • includes/payment-methods/class-wc-stripe-payment-request.php

    To get an idea of how your site is configured, could you please share a copy of your site’s System Status, as exemplified here?

    Once you’ve done that, you can paste it here or into our https://quickforget.com/ service and send that secret link here.

    Looking forward to hearing from you!

    Thread Starter Nauriskolats

    (@nauriskolats)

    Hi @anastas10s,

    I am pasting this from official PHP docs:

    FILTER_SANITIZE_STRING (int) ID of “string” filter. (Deprecated as of PHP 8.1.0, use htmlspecialchars() instead.)

    ?? hey @nauriskolats

    Thank you for reaching back, with further details on this.

    I went ahead with submitting an issue, on GitHub. Feel free to subscribe to it, for receiving all the updates on its progress.

    We appreciate you being an active part of the community ??

    Have a wonderful day!

    An issue has already been reported via GitHub, where one can subscribe to follow its progress, so I’m going to mark this as resolved – again, we appreciate you being an active part of the community ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘FILTER_SANITIZE_STRING is deprecated’ is closed to new replies.