• Resolved msrwebmaster

    (@msrwebmaster)


    i am getting this entry into the php log at about 450 entries per second. is this to do with with a lack of support for PHP 8? is there a temporary fix i can implement until there is more support for PHP 8?

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Gladys

    (@greventscalendar)

    Hi there,

    This error looks similar to a PHP 8.1 error and at this time we are not fully supporting PHP 8.1 yet.

    We have a bug ticket open for the existing issue with PHP 8.1, but to make sure this is the same issue, could you provide the following version of the following?

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

    Thanks,
    Gladys

    Thread Starter msrwebmaster

    (@msrwebmaster)

    yes of course. I’m glad to hear it sounds like you are aware of it. At the moment we are manually deleting the log file to stop it from using up all the disk space for the server (it can generate over 2gb in one day of just text right now) so it would be nice if it at least wasn’t generating the depreciation error. Thanks

    PHP version: 8.1.16
    WordPress: 6.1.1
    Events Calendar: 6.0.10
    Theme: Storefront Version 4.2.0

    Gladys

    (@greventscalendar)

    Thank you for the information and yes this confirms this is an existing issue we are aware of. 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 already created 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

    Hi there,

    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 msrwebmaster

    (@msrwebmaster)

    Thank you very much i will do that

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘calendar generating constant errors in php log’ is closed to new replies.