• Resolved jahrat

    (@jahrat)


    Hello Support,

    I am getting a large volume of this notice in my debug log. I am updated to the latest version of TEC and WordPress.

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

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Support sdokus

    (@sdokus)

    Hi there,

    One of our developers took a look at the error message you sent and said that since this is a notice nothing should be breaking. At this time, we do not yet fully support PHP 8.1. But rest assured, we are working on making our plugins compatible with PHP 8.1.

    As a workaround, you could try downgrading your PHP to 8.0. It would be best to use this version, which we fully support

    See known issues here and our PHP 8.1 Support article.

    We are aware of this notice and have an internal bug ticket [TEC-4666] and added a note of this error you sent. While we don’t have an ETA, you’ll get notified once there is an update and fix.

    Please let me know if you have further questions or concerns.

    —-
    Internal Bug Ticket Reference:
    TEC-4666

    Thread Starter jahrat

    (@jahrat)

    Thanks for the response and update. As you correct mention, nothing is breaking at this time.

    Should I close this as resolved with the downgrade? Or do I leave it open until it is addressed?

    Plugin Support Darian

    (@d0153)

    Hi @jahrat

    You can leave it open so that we can update you on this thread once the fix is out.

    If you have other questions or concerns, please do not hesitate to bump a new thread on our way. This allows us to track topics/issues efficiently and follow the WordPress Forum Guidelines

    Thread Starter jahrat

    (@jahrat)

    Thanks @d0153, Ticket will remain open for now.

    Plugin Support Darian

    (@d0153)

    Hi @jahrat

    Appreciate your patience so far. As soon as we release a fix for this issue, we will post an update here in the thread.

    Plugin Support Guga Alves

    (@gugaalves)

    Hi @jahrat,

    We’re back with good news, the FILTER_SANITIZE_STRING and deprecated PHP functions issues were fixed on Version 6.0.12, improving PHP 8.1 compatibility.

    Please update the plugin to apply that fix in your websites.

    Best regards,

    Thread Starter jahrat

    (@jahrat)

    Thanks @gugaalves

    I will update this post as soon as I confirm this.

    Thanks.

    Thread Starter jahrat

    (@jahrat)

    I can confirm this error is no longer being logged on my site.

    Thanks for the update.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Filter Sanitize Deprecated’ is closed to new replies.