• Hello,

    I keep getting a Deprecation notice in my WP Debug logs in regards to FILTER_SANITIZE_STRING

    PHP Deprecated: Constant FILTER_SANITIZE_STRING is deprecated in /the-events-calendar/common/src/functions/utils.php on line 1130

    Not something that required immediate attention but something I’d love to be fixed/updated in a future update. It throws this deprecation notice many times. When debugging other issues it kind of clogs the debug log.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support tristan083

    (@tristan083)

    Hi @howdy_mcgee ,

    Thank you for reaching out. For me to understand and learn more about your setup, could you provide the following version of the following?

    1. PHP
    2. WordPress
    3. The Events Calendar
    4. Theme and Version
    Austin

    (@austyfrosty)

    Hello @tristan083

    <strong><code>FILTER_SANITIZE_STRING</code></strong> Has been deprecated in PHP. (Deprecated as of PHP 8.1.0, use htmlspecialchars() instead.)

    We have the same issue.

    • WordPress: 6.1.1
    • PHP: 8.1.14

    Hi @tristan083

    Same here, filling up our dev logs

    PHP 8.1.17
    WP 6.1.1
    
    PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /bitnami/wordpress/wp-content/plugins/the-events-calendar/common/src/functions/utils.php on line 1130

    Eager to hear of a fix, thanks!

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