• Resolved Paul

    (@paulschiretz)


    Hi,

    I just wanted to make you aware of a lot of php 8.4 deprecation warnings in the latest version(5.17.0):

    [19-Nov-2025 14:52:44 UTC] PHP Deprecated:  MailPoetVendor\Carbon\Traits\Date::getDaysFromStartOfWeek(): Implicitly marking parameter $weekStartsAt as nullable is deprecated, the explicit nullable type must be used instead in my-local-test\app\public\wp-content\plugins\mailpoet\vendor-prefixed\nesbot\carbon\src\Carbon\Traits\Date.php on line 1266
    [19-Nov-2025 14:52:44 UTC] PHP Deprecated: MailPoetVendor\Carbon\Traits\Date::setDaysFromStartOfWeek(): Implicitly marking parameter $weekStartsAt as nullable is deprecated, the explicit nullable type must be used instead in my-local-test\app\public\wp-content\plugins\mailpoet\vendor-prefixed\nesbot\carbon\src\Carbon\Traits\Date.php on line 1282
    [19-Nov-2025 14:52:44 UTC] PHP Deprecated: MailPoetVendor\Carbon\Traits\Date::utcOffset(): Implicitly marking parameter $minuteOffset as nullable is deprecated, the explicit nullable type must be used instead in my-local-test\app\public\wp-content\plugins\mailpoet\vendor-prefixed\nesbot\carbon\src\Carbon\Traits\Date.php on line 1346
    [19-Nov-2025 14:52:44 UTC] PHP Deprecated: MailPoetVendor\Carbon\Traits\Localization::locale(): Implicitly marking parameter $locale as nullable is deprecated, the explicit nullable type must be used instead in my-local-test\app\public\wp-content\plugins\mailpoet\vendor-prefixed\nesbot\carbon\src\Carbon\Traits\Localization.php on line 197
    [19-Nov-2025 14:52:44 UTC] PHP Deprecated: MailPoetVendor\Carbon\Traits\Test::setDefaultTimezone(): Implicitly marking parameter $date as nullable is deprecated, the explicit nullable type must be used instead in my-local-test\app\public\wp-content\plugins\mailpoet\vendor-prefixed\nesbot\carbon\src\Carbon\Traits\Test.php on line 76
    [19-Nov-2025 14:52:44 UTC] PHP Deprecated: MailPoetVendor\Carbon\CarbonTimeZone::toOffsetName(): Implicitly marking parameter $date as nullable is deprecated, the explicit nullable type must be used instead in my-local-test\app\public\wp-content\plugins\mailpoet\vendor-prefixed\nesbot\carbon\src\Carbon\CarbonTimeZone.php on line 85
    [19-Nov-2025 14:52:44 UTC] PHP Deprecated: MailPoetVendor\Carbon\CarbonTimeZone::toOffsetTimeZone(): Implicitly marking parameter $date as nullable is deprecated, the explicit nullable type must be used instead in my-local-test\app\public\wp-content\plugins\mailpoet\vendor-prefixed\nesbot\carbon\src\Carbon\CarbonTimeZone.php on line 89
    [19-Nov-2025 14:52:44 UTC] PHP Deprecated: MailPoetVendor\Carbon\CarbonTimeZone::toRegionName(): Implicitly marking parameter $date as nullable is deprecated, the explicit nullable type must be used instead in my-local-test\app\public\wp-content\plugins\mailpoet\vendor-prefixed\nesbot\carbon\src\Carbon\CarbonTimeZone.php on line 93
    [19-Nov-2025 14:52:44 UTC] PHP Deprecated: MailPoetVendor\Carbon\CarbonTimeZone::toRegionTimeZone(): Implicitly marking parameter $date as nullable is deprecated, the explicit nullable type must be used instead in my-local-test\app\public\wp-content\plugins\mailpoet\vendor-prefixed\nesbot\carbon\src\Carbon\CarbonTimeZone.php on line 120
    [19-Nov-2025 14:52:45 UTC] PHP Deprecated: MailPoetVendor\Sabberworm\CSS\Parser::__construct(): Implicitly marking parameter $oParserSettings as nullable is deprecated, the explicit nullable type must be used instead in my-local-test\app\public\wp-content\plugins\mailpoet\vendor-prefixed\sabberworm\php-css-parser\src\Parser.php on line 10
    [19-Nov-2025 14:52:46 UTC] PHP Deprecated: MailPoetVendor\Sabberworm\CSS\CSSList\Document::render(): Implicitly marking parameter $oOutputFormat as nullable is deprecated, the explicit nullable type must be used instead in my-local-test\app\public\wp-content\plugins\mailpoet\vendor-prefixed\sabberworm\php-css-parser\src\CSSList\Document.php on line 70
    [19-Nov-2025 14:52:46 UTC] PHP Deprecated: MailPoetVendor\Sabberworm\CSS\RuleSet\RuleSet::addRule(): Implicitly marking parameter $oSibling as nullable is deprecated, the explicit nullable type must be used instead in my-local-test\app\public\wp-content\plugins\mailpoet\vendor-prefixed\sabberworm\php-css-parser\src\RuleSet\RuleSet.php on line 62

    would be nice that they are addressed some time!

    Cheers, Paul

Viewing 1 replies (of 1 total)
  • Plugin Support Ojoma a11n

    (@geraltrivia)

    Hello there @paulschiretz ,

    Thank you so much for taking the time to share these PHP 8.4 deprecation notices with us. We really appreciate you flagging this, especially with such clear examples from your logs. This kind of feedback is very helpful.

    I can confirm that these warnings come from vendor libraries bundled inside MailPoet, and while they do not affect functionality, they should absolutely be addressed for future PHP compatibility. I have passed this along to our development team so they can review and include the necessary updates.

    Thanks again for bringing this to our attention.

Viewing 1 replies (of 1 total)

The topic ‘php 8.4 deprecations’ is closed to new replies.