Title: calendar generating constant errors in php log
Last modified: February 22, 2023

---

# calendar generating constant errors in php log

 *  Resolved [msrwebmaster](https://wordpress.org/support/users/msrwebmaster/)
 * (@msrwebmaster)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/calendar-generating-constant-errors-in-php-log/)
 * 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](https://wordpress.org/support/users/greventscalendar/)
 * (@greventscalendar)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/calendar-generating-constant-errors-in-php-log/#post-16500816)
 * 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](https://wordpress.org/support/users/msrwebmaster/)
 * (@msrwebmaster)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/calendar-generating-constant-errors-in-php-log/#post-16500825)
 * 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.1Events Calendar: 6.0.10Theme: Storefront 
   Version 4.2.0
 *  [Gladys](https://wordpress.org/support/users/greventscalendar/)
 * (@greventscalendar)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/calendar-generating-constant-errors-in-php-log/#post-16500835)
 * 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](https://theeventscalendar.com/known-issues/#php8-compatibility)
   and our [PHP 8.1 Support](https://theeventscalendar.com/knowledgebase/k/php-8-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
 *  [Guga Alves](https://wordpress.org/support/users/gugaalves/)
 * (@gugaalves)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/calendar-generating-constant-errors-in-php-log/#post-16645681)
 * 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](https://wordpress.org/support/users/msrwebmaster/)
 * (@msrwebmaster)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/calendar-generating-constant-errors-in-php-log/#post-16645691)
 * 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.

 * ![](https://ps.w.org/the-events-calendar/assets/icon-256x256.gif?rev=2516440)
 * [The Events Calendar](https://wordpress.org/plugins/the-events-calendar/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/the-events-calendar/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/the-events-calendar/)
 * [Active Topics](https://wordpress.org/support/plugin/the-events-calendar/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/the-events-calendar/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/the-events-calendar/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [msrwebmaster](https://wordpress.org/support/users/msrwebmaster/)
 * Last activity: [3 years, 1 month ago](https://wordpress.org/support/topic/calendar-generating-constant-errors-in-php-log/#post-16645691)
 * Status: resolved