• Resolved leonardcraft

    (@leonardcraft)


    Good day,

    Below is a log of deprecation notices I experience on PHP 8.1.9 with WordPress’s WP_DEBUG config variable set to true. Using WordPress 6.0.2, Event Calendar 6.0.0.1, events have been migrated to the new database structure. Please let me know if I can provide any additional information.

    
    [14-Sep-2022 21:10:33 UTC] PHP Deprecated:  explode(): Passing null to parameter #2 ($string) of type string is deprecated in C:\Users\lcraft\Local Sites\jwcc-main\app\public\wp-content\plugins\the-events-calendar\common\src\Tribe\Field.php on line 914
    [14-Sep-2022 21:10:34 UTC] PHP Deprecated:  parse_str(): Passing null to parameter #1 ($string) of type string is deprecated in C:\Users\lcraft\Local Sites\jwcc-main\app\public\wp-content\plugins\the-events-calendar\src\Tribe\Rewrite.php on line 642
    [14-Sep-2022 21:13:36 UTC] PHP Deprecated:  DateTime::setTime(): Passing null to parameter #1 ($hour) of type int is deprecated in C:\Users\lcraft\Local Sites\jwcc-main\app\public\wp-content\plugins\the-events-calendar\common\src\Tribe\Admin\Notice\Date_Based.php on line 284
    [14-Sep-2022 21:13:36 UTC] PHP Deprecated:  DateTime::setTime(): Passing null to parameter #1 ($hour) of type int is deprecated in C:\Users\lcraft\Local Sites\jwcc-main\app\public\wp-content\plugins\the-events-calendar\common\src\Tribe\Admin\Notice\Date_Based.php on line 334
    [14-Sep-2022 21:13:36 UTC] PHP Deprecated:  DateTime::setTime(): Passing null to parameter #1 ($hour) of type int is deprecated in C:\Users\lcraft\Local Sites\jwcc-main\app\public\wp-content\plugins\the-events-calendar\common\src\Tribe\Admin\Notice\Date_Based.php on line 334
    [14-Sep-2022 21:13:36 UTC] PHP Deprecated:  DateTime::setTime(): Passing null to parameter #1 ($hour) of type int is deprecated in C:\Users\lcraft\Local Sites\jwcc-main\app\public\wp-content\plugins\the-events-calendar\common\src\Tribe\Admin\Notice\Date_Based.php on line 284
    [14-Sep-2022 21:13:36 UTC] PHP Deprecated:  DateTime::setTime(): Passing null to parameter #1 ($hour) of type int is deprecated in C:\Users\lcraft\Local Sites\jwcc-main\app\public\wp-content\plugins\the-events-calendar\common\src\Tribe\Admin\Notice\Date_Based.php on line 308
    [14-Sep-2022 21:13:36 UTC] PHP Deprecated:  DateTime::setTime(): Passing null to parameter #1 ($hour) of type int is deprecated in C:\Users\lcraft\Local Sites\jwcc-main\app\public\wp-content\plugins\the-events-calendar\common\src\Tribe\Admin\Notice\Date_Based.php on line 334
    [14-Sep-2022 21:13:36 UTC] PHP Deprecated:  DateTime::setTime(): Passing null to parameter #1 ($hour) of type int is deprecated in C:\Users\lcraft\Local Sites\jwcc-main\app\public\wp-content\plugins\the-events-calendar\common\src\Tribe\Admin\Notice\Date_Based.php on line 334
    • This topic was modified 2 years, 2 months ago by leonardcraft.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Guga Alves

    (@gugaalves)

    Hi there,

    The warning messages you are getting seem directly related to PHP 8.1 (which is not supported yet, even by WordPress).

    Rolling back to PHP 8 or below should fix the issue.

    Thread Starter leonardcraft

    (@leonardcraft)

    You are correct, it is related to PHP 8.1. This was just testing in my development environment. If you guys want to just set this as a low-priority fix for sometime in the future, that’s fine by me, just reporting the issue.

    Plugin Author Gustavo Bordoni

    (@bordoni)

    Hi @leonardcraft,

    We are working on getting all of those fixed shortly. Not due date yet.

    The development team has already started getting the 8.1 warnings and notices fixed.

    Best regards,

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Several PHP 8.1.9 deprecation notices’ is closed to new replies.